Overview Version History Q & A Rating & Review
Palette Viewer
A simple VS Code extension that adds syntax highlighting for .palette files. These files define color palettes for different themes (e.g., Light and Dark).
📄 Example of a .palette File
<themes:light,dark>
<light:
[background:#FFFFFF]
[text:#1A1A1A]
[primary:#007ACC]
[accent:#FF4081]>
<dark:
[background:#1E1E1E]
[text:#CCCCCC]
[primary:#569CD6]
[accent:#FF79C6]>
First Line: List of Available Themes
<themes:theme1,theme2,...>
Example:
<themes:light,dark>
2. Theme-Definitionen
Each theme has its own section:
<themeName:
[variableName:#HexColor]
[variableName:#HexColor]
...>
themeName
: Name of the theme, e.g., light
or dark
variableName
: Name of the color variable, e.g., background
, text
, primary
Color values are always in hex format, e.g., #FFFFFF
Example
<light:
[background:#FFFFFF]
[text:#1A1A1A]
[primary:#007ACC]
[accent:#FF4081]>