This PR add enhancements to the theme recognition logic of Visual Studio Code.
It addresses the limitation in identifying the current activeColorTheme.kind when theme names do not explicitly include "light" (e.g., "Catppuccin Latte").
The proposed improvements expand the handling of window.activeColorTheme.kind to include HighContrastDark, Light, and HighContrastLight themes. Currently, the logic is restricted to the Dark type and relies on a regex fallback that necessitates the presence of "light" or "dark" in the theme name.
Description
This PR add enhancements to the theme recognition logic of Visual Studio Code.
It addresses the limitation in identifying the current
activeColorTheme.kind
when theme names do not explicitly include"light"
(e.g.,"Catppuccin Latte"
).The proposed improvements expand the handling of
window.activeColorTheme.kind
to includeHighContrastDark
,Light
, andHighContrastLight
themes. Currently, the logic is restricted to theDark
type and relies on a regex fallback that necessitates the presence of"light"
or"dark"
in the theme name.Linked Issues
n.a.
Additional context
n.a.