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
Manually switching themes has always been possible, but does auto-switching (depending on the system settings) also work? It seems like it should given the following section in config.toml:
######################################
# Dark Mode
enableDarkMode = true
defaultTheme = "light"
# Note: light or dark
hideThemeToggle = false
hideThemeToggleInHome = false
# Note: If dark mode is enabled and
# theme toggle is hidden, your
# readers may still read your
# blog in dark mode if the
# reader’s system is set to dark
# mode. Similarly, if dark mode
# is enabled and is set to the
# default theme, your readers
# may still read your blog in
# light mode, even if you have
# hidden the theme toggle.
# Unless you enable the following
# option.
overrideSystemPreferences = false
However, no matter what I set here the website does not adapt to the system theme (I'm on macOS). Is auto-switching possible somehow?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Manually switching themes has always been possible, but does auto-switching (depending on the system settings) also work? It seems like it should given the following section in
config.toml
:However, no matter what I set here the website does not adapt to the system theme (I'm on macOS). Is auto-switching possible somehow?
Beta Was this translation helpful? Give feedback.
All reactions