Skip to content

New theme dark/light options seem to forget the default theme #2763

Closed Answered by mitchellh
designbyadrian asked this question in Q&A
Discussion options

You must be logged in to vote

Oh. We don't set that, that's set by macOS depending on your system color theme.

When you don't specify a separate light/dark theme, then window-theme = auto is the default. In this case, we force the window itself to use a system color scheme that matches your theme's background. For example, if your color theme is dark, we'll change the window to macOS dark mode (while the rest of your system may still be light).

When you specify a light/dark theme, then window-theme becomes system (this is documented on theme by the way). This means we just use whatever your system theme is. And therefore macOS uses that color.

I was able to reproduce your screenshots but yes, its based on the system.

I…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mitchellh
Comment options

@designbyadrian
Comment options

Answer selected by mitchellh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2752 on November 21, 2024 22:34.