Glass Dracula (VSCode)
A custom Dracula theme pack by BennyWu, primarily designed for Zed with a VSCode port included.
由 BennyWu 制作的 Dracula 自定义主题包,主要为 Zed 设计,同时提供 VSCode 适配版本。
Included Themes / 主题列表
- Dracula Dark Vivid Black
- Dracula Light Vivid White
Installation / 安装
Install Glass Dracula by BennyWu from the VS Code Marketplace, then run Preferences: Color Theme and choose either theme above.
在 VS Code 扩展市场安装 Glass Dracula,运行“首选项:颜色主题”,选择上面的深色或浅色主题。
Development / 开发
Build themes / 构建主题(updates Dark Vivid Black from its Zed source; Light Vivid White is maintained directly in themes/ / 从 Zed 源文件更新深色主题;浅色主题直接维护在 themes/ 中):
npm run build:themes
Publish / 发布:
vsce login BennyWu
npm run package
npm run publish:marketplace
Custom Token Colors / 自定义 Token 颜色
Add to settings.json to fine-tune Dracula Light Vivid White.
将以下配置添加到 settings.json 以微调 Dracula Light Vivid White 主题:
"editor.tokenColorCustomizations": {
"[Dracula Light Vivid White]": {
"textMateRules": [
// 控制流关键字 / Control flow keywords
{
"scope": ["keyword", "storage.type"],
"settings": { "fontStyle": "bold" }
},
// (Zed: #036A96) 类型与接口标识符(去斜体)/ Type & interface identifiers (no italic)
{
"scope": [
"support.class",
"meta.object-literal.key",
// "meta.block",
"punctuation.definition.tag"
],
"settings": { "foreground": "#036A96", "fontStyle": "" }
},
// 字符串 / Strings
{
"scope": ["punctuation.definition.string"],
"settings": { "foreground": "#846E15" }
},
// 注释 / Comments
{
"scope": ["punctuation.definition.comment"],
"settings": { "foreground": "#635D97" }
}
]
}
}
Repository
https://github.com/Aniu456/glass-dracula-vscode