mce
    Preparing search index...

    Interface ThemeConfig

    主题配置(对齐 Vuetify 的 ThemeOptions):按主题组织,每个主题下再列 colors。 与旧的 themeTokens(按 token 组织)等价,内部会归一,二者可混用。

    interface ThemeConfig {
        defaultTheme?: string;
        themes?: Record<string, ThemeDefinition>;
        variations?: false | ThemeVariations;
    }
    Index
    defaultTheme?: string

    初始主题名(默认 'light')。

    themes?: Record<string, ThemeDefinition>

    各主题定义;与核心内置默认按「主题 → colors」两级深合并。

    variations?: false | ThemeVariations

    自动色阶,默认不生成(每个 token × 档数都会进 token 表与 CSS 变量,按需开启即可)。 合并完成后统一展开,故对内核默认色与宿主自定义色同样生效。