theme v1
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
/* 基础外观(default):与 base.css 完全一致,不覆盖任何令牌。
|
||||
它的存在只为让 [theme] 里可以显式写 default(= 不使用主题)。
|
||||
实际渲染时不会加载本文件 —— internal/theme.Resolve 对 default 返回空串,
|
||||
省掉一次静态请求;下方令牌仅用于设置页色块预览。 */
|
||||
html[data-theme-style="default"] {
|
||||
--tb-bg: #f7f8fa;
|
||||
--tb-primary: #1e87f0;
|
||||
}
|
||||
|
||||
html[data-theme="dark"][data-theme-style="default"] {
|
||||
--tb-bg: #1a1d23;
|
||||
--tb-primary: #5c8dff;
|
||||
}
|
||||
Reference in New Issue
Block a user