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
It seems that effective theme is alwaysauto even when explicitly setting theme to dark or light within the BlogSettings :
Set the BlogSettings to dark theme, then set the OS Style Theme to Light and the page loads with light, not dark :
theme: "dark"
Set the BlogSettings to light theme, then set the OS Style Theme to Dark and the page loads with dark, not light :
theme: "light"
Is this expected? Is there some way to fix or override with unocss settings to strictly have either dark or light be applied regardless of the OS Style Preference?
Seems related to this line, not sure I see anywhere where settings?.theme is used:
It seems that effective theme is always
auto
even when explicitly setting theme todark
orlight
within theBlogSettings
:Set the
BlogSettings
todark
theme, then set the OS Style Theme toLight
and the page loads withlight
, notdark
:theme: "dark"
Set the
BlogSettings
tolight
theme, then set the OS Style Theme toDark
and the page loads withdark
, notlight
:theme: "light"
Is this expected? Is there some way to fix or override with unocss settings to strictly have either
dark
orlight
be applied regardless of the OS Style Preference?Seems related to this line, not sure I see anywhere where
settings?.theme
is used:deno_blog/blog.tsx
Line 107 in 071a905
The text was updated successfully, but these errors were encountered: