Skip to content

fix(theme): read v2 preferences key in pre-mount theme script - #1003

Merged
ussaama merged 1 commit into
mainfrom
fix/index-html-theme-preload-key
Aug 20, 2026
Merged

fix(theme): read v2 preferences key in pre-mount theme script#1003
ussaama merged 1 commit into
mainfrom
fix/index-html-theme-preload-key

Conversation

@ussaama

Copy link
Copy Markdown
Contributor

index.html still read the old 'dembrane-app-preferences' key after the storage key moved to '-v2', so the pre-mount script always saw empty prefs and first-painted Space Grotesk/white for DM Sans users. Read the v2 key, default to DM Sans to match the app default, and honor the ?theme= URL param like useAppPreferences does.

index.html still read the old 'dembrane-app-preferences' key after the
storage key moved to '-v2', so the pre-mount script always saw empty
prefs and first-painted Space Grotesk/white for DM Sans users. Read the
v2 key, default to DM Sans to match the app default, and honor the
?theme= URL param like useAppPreferences does.
@ussaama
ussaama merged commit f084777 into mainAug 20, 2026
10 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@ussaama