vscode-theme-colors
Original:🇨🇳 Chinese
Translated
For AI to refer to VSCode theme color settings. Triggered when users ask questions related to VSCode theme colors, color customization, theme configuration, workbench.colorCustomizations, etc.
3installs
Added on
NPX Install
npx skill4agent add steelan9199/wechat-publisher vscode-theme-colorsTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →VSCode Theme Color Settings
Overview
This skill provides complete reference materials for VSCode theme color settings, including:
- Basic concepts and usage of color themes
- List of customizable color identifiers
- How to create and publish custom themes
Quick Reference
Set Color Theme
json
{
"workbench.colorTheme": "Solarized Dark"
}Customize Theme Colors
json
{
"workbench.colorCustomizations": {
"activityBar.background": "#00AA00",
"sideBar.background": "#347890"
}
}Set Custom Colors for Specific Themes
json
{
"workbench.colorCustomizations": {
"[Monokai]": {
"sideBar.background": "#347890"
}
}
}Customize Editor Syntax Highlighting
json
{
"editor.tokenColorCustomizations": {
"comments": "#229977",
"strings": "#FF0000"
}
}Color Formats
The following hexadecimal formats are supported:
- (short form, e.g.,
#RGB)#e35 - (short form with transparency, e.g.,
#RGBA)#e35f - (full form, e.g.,
#RRGGBB)#ee3355 - (full form with transparency, e.g.,
#RRGGBBAA)#ee3355ff
Transparency = fully transparent, = fully opaque (default)
00ffComplete Color Reference
See references/theme-color-reference.md for the full list of all customizable color identifiers.
Create a New Theme
- Use the command to generate a theme file
Developer: Generate Color Theme from Current Settings - Or use the Yeoman generator to create a theme extension:
bash
npm install -g yo generator-code yo code
Common Color Categories
Basic Colors
- - Focused element border
focusBorder - - Overall foreground color
foreground - - Text selection background
selection.background
Window Borders
- - Active window border
window.activeBorder - - Inactive window border
window.inactiveBorder
Buttons
- - Button background
button.background - - Button foreground
button.foreground - - Hover background
button.hoverBackground
Editor
- - Editor background
editor.background - - Editor foreground
editor.foreground - - Current line highlight
editor.lineHighlightBackground
Side Bar
- - Side bar background
sideBar.background - - Side bar foreground
sideBar.foreground
Activity Bar
- - Activity bar background
activityBar.background - - Activity bar foreground
activityBar.foreground
Status Bar
- - Status bar background
statusBar.background - - Status bar foreground
statusBar.foreground