Soft Green Theme
柔绿护眼配色主题 — 基于 Solarized Light,将 UI 配色替换为柔和的绿色调,适合长时间编码使用。
配色方案
| 元素 |
颜色 |
说明 |
| 编辑器背景 |
#C7EDCC |
柔绿色基底 |
| 侧边栏/面板 |
#D7EFDA |
稍浅的绿色 |
| 边框线 |
#A0C8A8 |
中等绿色边框 |
| 选中高亮 |
#96C8A0 |
稍深的绿色 |
| 悬停背景 |
#B5DCC0 |
过渡绿色 |
| 激活文本 |
#2D5A3D |
深绿色文字 |
| 输入框背景 |
#DCECD0 |
微黄绿色 |
安装
方式一:VSIX 安装
cd soft-green-theme
npm install -g @vscode/vsce
vsce package
code --install-extension soft-green-theme-1.0.0.vsix
方式二:手动安装
将 soft-green-theme 文件夹复制到 VSCode 扩展目录:
- macOS:
~/.vscode/extensions/soft-green-theme/
- Windows:
%USERPROFILE%\.vscode\extensions\soft-green-theme\
- Linux:
~/.vscode/extensions/soft-green-theme/
方式三:开发模式(推荐调试用)
cd soft-green-theme
ln -s "$(pwd)" ~/.vscode/extensions/soft-green-theme
然后在 VSCode 中 Cmd+Shift+P → Developer: Reload Window。
使用
Cmd+K Cmd+T → 搜索 "Soft Green" 并选择。
自定义
在 settings.json 中可以通过 workbench.colorCustomizations 覆盖任意颜色:
"workbench.colorCustomizations": {
"[Soft Green]": {
"editor.background": "#YOUR_COLOR"
}
}
License
MIT
| |