Nova Editor - v1.0.0
    Preparing search index...

    Interface ThemeConfig

    Editor theme configuration 编辑器主题配置

    interface ThemeConfig {
        colors: {
            accent: string;
            background: string;
            border: string;
            error: string;
            primary: string;
            secondary: string;
            success: string;
            surface: string;
            text: string;
            textSecondary: string;
            warning: string;
        };
        name: string;
        spacing: { lg: number; md: number; sm: number; xl: number; xs: number };
        typography: { fontFamily: string; fontSize: number; lineHeight: number };
    }
    Index

    Properties

    colors: {
        accent: string;
        background: string;
        border: string;
        error: string;
        primary: string;
        secondary: string;
        success: string;
        surface: string;
        text: string;
        textSecondary: string;
        warning: string;
    }

    Primary colors | 主要颜色

    name: string

    Theme name | 主题名称

    spacing: { lg: number; md: number; sm: number; xl: number; xs: number }

    Spacing settings | 间距设置

    typography: { fontFamily: string; fontSize: number; lineHeight: number }

    Typography settings | 字体设置