News for hackers. Stuff that matters.
Re:Which colour scheme is better? by cmbell715 on Sunday September 27, 2020 @09:25PM (#24611938)
I know VS Code has a way to do it depending on window color scheme. Not sure if it is supported in Linux, but it is in Windows and MacOS. If your overall OS theme auto-changes based on time of day (or if you manually switch between light and dark mode whenever), VS Code will adjust as well.

In the settings turn on `window.autoDetectColorScheme: true` then select a theme for each: `workbench.preferredLightColorTheme` & `workbench.preferredDarkColorTheme`

Re:Which colour scheme is better? by gombosg on Monday September 28, 2020 @04:13AM (#24614220)
No, it's not supported on Linux due to this Chromium bug [1]. For example, GNOME automatically switches themes via an extension [2], and most apps like Firefox honor that setting. But not for Electron apps, at least not yet.

It would be great, since my personal preference is also light theme during the day, dark at night.

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=998903

[2] https://extensions.gnome.org/extension/2236/night-theme-swit...