You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
989 B

export declare function hasThemeJson(themeLocation: string): boolean;
export declare const parseThemeJson: (themeLocation?: string) => UniApp.ThemeJson;
export declare const normalizeThemeConfigOnce: (manifestJsonPlatform?: Record<string, any>) => UniApp.ThemeJson;
export declare function initTheme<T extends object>(manifestJson: Record<string, any>, pagesJson: T): T;
export declare class ThemeSassParser {
_index: number;
_input: string;
_theme: Record<string, Record<string, any>>;
constructor();
parse(input: string): Record<string, Record<string, any>>;
parseVariable(): void;
parseVariableValue(): any;
parseFunction(): void | string[];
skipOtherValue(): void;
parseString(): string;
pushThemeValue(key: string, valuePair: string[]): void;
consume(expected: string): void;
get currentChar(): string;
skipWhiteSpaceAndComments(): void;
skipComment(): void;
skipWhiteSpace(): void;
isspace(str: string): boolean;
}