3 ms·
I do use two different color schemes depending on ambiant light. Dark background during the night, and light background during the day, in most cases. As simp
by stephc_int13 6y ago
I do use two different color schemes depending on ambiant light.
Dark background during the night, and light background during the day, in most cases.
As simple as that.
I wish my text editor would switch automatically and I might write a script to do that at some point, but this is a minor annoyance.
- cmbell715 6y agoI 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`
- gombosg 6y agoNo, 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 https://bugs.chromium.org/p/chromium/issues/detail?id=998903 [2] https://extensions.gnome.org/extension/2236/night-theme-switcher/ https://extensions.gnome.org/extension/2236/night-theme-swit...
- saagarjha 6y agoI do this too; I have everything on a script too to ensure that it transitions when the OS does.