UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

86 lines 2.53 kB
import type { Theme } from '@mantou/gem/helper/theme'; export declare function getSemanticColor(semantic?: string): string | undefined; export declare const lightTheme: { colorScheme: string; primaryColor: string; highlightColor: string; textColor: string; describeColor: string; backgroundColor: string; lightBackgroundColor: string; hoverBackgroundColor: string; borderColor: string; disabledColor: string; maskAlpha: string; controlShadow: string; informativeColor: string; neutralColor: string; positiveColor: string; noticeColor: string; negativeColor: string; focusColor: string; normalRound: string; smallRound: string; gridGutter: string; popupZIndex: string; timingFunction: string; timingEasingFunction: string; codeFont: string; }; export declare const darkTheme: Partial<typeof lightTheme>; export declare const theme: Theme<{ colorScheme: string; primaryColor: string; highlightColor: string; textColor: string; describeColor: string; backgroundColor: string; lightBackgroundColor: string; hoverBackgroundColor: string; borderColor: string; disabledColor: string; maskAlpha: string; controlShadow: string; informativeColor: string; neutralColor: string; positiveColor: string; noticeColor: string; negativeColor: string; focusColor: string; normalRound: string; smallRound: string; gridGutter: string; popupZIndex: string; timingFunction: string; timingEasingFunction: string; codeFont: string; }>; export declare const themeStore: import("@mantou/gem/lib/store").Store<{ colorScheme: string; primaryColor: string; highlightColor: string; textColor: string; describeColor: string; backgroundColor: string; lightBackgroundColor: string; hoverBackgroundColor: string; borderColor: string; disabledColor: string; maskAlpha: string; controlShadow: string; informativeColor: string; neutralColor: string; positiveColor: string; noticeColor: string; negativeColor: string; focusColor: string; normalRound: string; smallRound: string; gridGutter: string; popupZIndex: string; timingFunction: string; timingEasingFunction: string; codeFont: string; }>; export declare function extendTheme<T extends Record<string, string>>(t: Partial<typeof lightTheme> & T): Theme<typeof lightTheme & T>; //# sourceMappingURL=theme.d.ts.map