Skip to content

fix(site): respect meta user appearance preference as theme fallback#22152

Merged
jeremyruppel merged 1 commit intomainfrom
fix/respect-meta-user-appearance-pref
Feb 20, 2026
Merged

fix(site): respect meta user appearance preference as theme fallback#22152
jeremyruppel merged 1 commit intomainfrom
fix/respect-meta-user-appearance-pref

Conversation

@jeremyruppel
Copy link
Contributor

Use the server-rendered meta tag value as an intermediate fallback for theme preference, between the JS-fetched value and the default theme. This ensures the correct theme is applied before the API response loads.

Fixes #20050

@jeremyruppel jeremyruppel marked this pull request as ready for review February 20, 2026 18:10
Use the server-rendered meta tag value as an intermediate fallback for
theme preference, between the JS-fetched value and the default theme.
This ensures the correct theme is applied before the API response loads.

Fixes #20050
@jeremyruppel jeremyruppel force-pushed the fix/respect-meta-user-appearance-pref branch from 843bf71 to 5512476 Compare February 20, 2026 20:45
@jeremyruppel jeremyruppel merged commit 0652664 into main Feb 20, 2026
28 checks passed
@jeremyruppel jeremyruppel deleted the fix/respect-meta-user-appearance-pref branch February 20, 2026 21:32
@github-actions github-actions bot locked and limited conversation to collaborators Feb 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Light Theme setting not respected until Appearance page opened

2 participants