mce
    Preparing search index...

    Interface ThemeDefinition

    单个主题的定义(对齐 Vuetify 的 ThemeDefinition)。

    interface ThemeDefinition {
        colors?: Record<string, string>;
        dark?: boolean;
    }
    Index
    colors?: Record<string, string>

    语义色:token 名 → 色值(hex)。元素颜色写 @<token> 即按当前主题取这里的值。

    dark?: boolean

    是否为暗色主题。仅作标记供宿主/组件判断(如选浅底还是深底图标),不参与 @token 解析。