Feature idea: automatic dark/light theme switching according to OS

The VSCode solution sounds good to me. I think we could have three new controls:

  • Auto Detect Theme (theme.autodetect): a checkbox
  • Prefered Dark Theme (theme.preferedDarkTheme): dropdown with all the themes
  • Prefered Light Theme (theme.preferedLightTheme): dropdown with all the themes

So you need three new setting values: theme.autodetect, theme.preferedDarkTheme and theme.preferedLightTheme.

When theme.autodetect is true, the theme.preferedDarkTheme and theme.preferedLightTheme dropdown are visible, and the “Theme” dropdown is hidden.

When theme.autodetect theme is off, the theme.preferedDarkTheme and theme.preferedLightTheme dropdown are hidden, and the “Theme” dropdown is visible.

Whenever the theme is auto-updated, the theme setting value should be set to the relevant theme ID.

4 Likes