Minor Changes
-
71f80b67c
#4634 Thanks
@SkySails! - Added possibility to use the
system preferred color scheme as value forinitialColorMode
, while still
respecting a user's previous choice.As long as the user does not manually select a color mode through a website
interaction, the theme will change when the system preference changes.This would easily allow for an implementation where the user can choose
betweenlight
,dark
andsystem
by simply setting theinitialColorMode
setting tosystem
and presenting the user with the three options.