jasil.blogg.se

Change visual studio code theme to light
Change visual studio code theme to light








change visual studio code theme to light

Bound Ctrl-Alt-T to "Next Theme (from separate list in config)" and that code now cycles between 3 or so themes for me. PS: I use the "Theme Switcher" by JanBn as mentioned, and it's perfect. How about that? It's a smaller scope than originally asked for, and should be a lot easier to add to VSCode, and will help the extensions become robust. So I do agree that extensions should offer this feature, but VSCode kinda needs a built-in "Is Dark Mode Active on the system?" API/"on-change callback" to make the extensions cleaner and more robust. Likewise the Mac themes use some kinda hacks. The only thing I noticed today, when going through the "auto detect dark theme" code of the Windows theme, is that it uses some batch file and a registry read to detect the mode. It solves everything for me, and it's nice that it can cycle between a list of let's say 3 themes (so it isn't just a rigid Dark / Light choice). PS: I'll personally go with the last extension on my list above. Basically, the smartest design would be a generic framework for swapping between a Light and a Dark theme, and then various triggers as input for it: Manual Command Palette, or Time Based, or System Dark Theme Based. I also bet some other people will want some "time of day" based theme switching. Just putting that interest out there, since it's better to keep such things in mind rather than to get a bunch of user requests for such a change later.

change visual studio code theme to light

Not at all tied to the system Dark setting. My dream solution would be to be able to swap between two themes with a Command Palette choice.

change visual studio code theme to light

  • Mac auto switch theme based on Dark mode: Īnd two more extensions that allow manually switching between Light and Dark themes:Īnd here is an extension which changes to predefined themes (can be more than two themes) at certain times of day:Īnd here is one that sets the theme based on sunset/sunrise (auto detected via world location, if you set it up completely), and it also supports changing based on system theme (on Mac only, not Windows), and it also adds a keybind to swap between to themes (doing so disables the automatic changing):Īnd lastly one that lets you cycle between all themes or a list of themes (such as a light and dark theme):.
  • Windows auto switch theme based on Dark mode:.
  • I'd just like to mention a use-case to keep in mind: Some people would love the ability to switch between a Light and Dark theme, but to not be tied to the system setting.Īnyway, here are extensions that may help: Hi Martin, I just found this discussion via Google and noticed that you're considering the feature.










    Change visual studio code theme to light