You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently have enableSystem=true and use resolvedTheme all over our app. We also have a feature flag that turns theming on and off. But, if we set forcedTheme="light" and the system theme is dark, resolvedTheme still resolves to dark.
Unless I'm misunderstanding, it seems like resolvedTheme should be the same as forcedTheme if it is set.
Expected:
System Theme
Theme
Forced Theme
Resolved Theme
light
system
undefined
light
dark
system
undefined
dark
light
light
undefined
light
dark
light
undefined
light
light
system
light
light
dark
system
light
light
light
system
dark
dark
dark
system
dark
dark
light
custom-theme
dark
dark
dark
custom-theme
dark
dark
The text was updated successfully, but these errors were encountered:
We currently have
enableSystem=true
and useresolvedTheme
all over our app. We also have a feature flag that turns theming on and off. But, if we setforcedTheme="light"
and the system theme isdark
,resolvedTheme
still resolves todark
.Unless I'm misunderstanding, it seems like
resolvedTheme
should be the same asforcedTheme
if it is set.Expected:
The text was updated successfully, but these errors were encountered: