interface ThemeConfig {
    algorithm?: MappingAlgorithm | MappingAlgorithm[];
    components?: ComponentsConfig;
    cssVar?: boolean | {
        key?: string;
        prefix?: string;
    };
    hashed?: boolean;
    inherit?: boolean;
    token?: Partial<AliasToken>;
}

Properties

components?: ComponentsConfig
cssVar?: boolean | {
    key?: string;
    prefix?: string;
}

Type declaration

  • Optional key?: string

    Unique key for theme, should be set manually < react@18.

  • Optional prefix?: string

    Prefix for css variable, default to ant.

hashed?: boolean
inherit?: boolean
token?: Partial<AliasToken>

Generated using TypeDoc