颜色变量计算&颜色主题迁移

This commit is contained in:
lutinglt
2025-06-27 22:55:59 +08:00
parent 16298f2b11
commit 5ae1f2f634
14 changed files with 514 additions and 412 deletions

View File

@@ -14,19 +14,14 @@ const vars = {
/** 用于标识当前是否为暗色主题: `"true"` 暗色 `"false"` 亮色 */
isDarkTheme: "is-dark-theme",
color: {
...color.message,
...color.based,
...color.named,
primary: color.primary,
secondary: color.secondary,
self: {
...color.based,
...color.named,
},
ansi: color.ansi,
console: color.console,
diff: color.diff,
error: color.error,
success: color.success,
warning: color.warning,
info: color.info,
},
};