@fesjs/fes-design
Version:
fes-design for PC
142 lines (141 loc) • 4.56 kB
TypeScript
import { type Ref } from 'vue';
declare function _useTheme(): {
config: import("../config-provider/const").ConfigProviderContextType;
themeVars: Ref<{
linkColor: string;
componentBgColor: string;
hoverColorBase: string;
hoverColorLight: string;
hoverSuccessColor: string;
activeSuccessColor: string;
hoverWarningColor: string;
activeWarningColor: string;
hoverDangerColor: string;
activeDangerColor: string;
activeColor: string;
focusColor: string;
focusShadowColor: string;
focusDangerShadowColor: string;
processingColor: string;
disabledColorBase: string;
disabledColorLight: string;
headColor: string;
subHeadColor: string;
textColor: string;
textColorSecondary: string;
textColorDisabled: string;
textColorDisabledLight: string;
textColorCaption: string;
borderColorDisabled: string;
borderColorSplit: string;
borderColorInverse: string;
borderBase: string;
layoutInvertedBgColor: string;
tooltipTextBgColor: string;
selectTriggerIconColor: string;
scrollbarBgColor: string;
scrollbarActiveColor: string;
carouselColor: string;
carouselHoverColor: string;
carouselActiveColor: string;
hoverSuccessTextColor: string;
hoverWarningTextColor: string;
hoverDangerTextColor: string;
hoverBaseTextColor: string;
primaryColor: string;
successColor: string;
dangerColor: string;
warningColor: string;
tipColor: string;
white: string;
black: string;
bodyBgColor: string;
fontColorBase: string;
fontSizeBase: string;
borderRadiusBase: string;
borderRadiusSm: string;
borderWidthBase: string;
borderStyleBase: string;
borderColorBase: string;
shadowColor: string;
shadowColorSm: string;
shadowRadius: string;
shadowRadiusSm: string;
maskColor: string;
maskDarkColor: string;
paddingLarge: string;
paddingMiddle: string;
paddingSmall: string;
paddingXsmall: string;
paddingXSmall?: string;
}, {
linkColor: string;
componentBgColor: string;
hoverColorBase: string;
hoverColorLight: string;
hoverSuccessColor: string;
activeSuccessColor: string;
hoverWarningColor: string;
activeWarningColor: string;
hoverDangerColor: string;
activeDangerColor: string;
activeColor: string;
focusColor: string;
focusShadowColor: string;
focusDangerShadowColor: string;
processingColor: string;
disabledColorBase: string;
disabledColorLight: string;
headColor: string;
subHeadColor: string;
textColor: string;
textColorSecondary: string;
textColorDisabled: string;
textColorDisabledLight: string;
textColorCaption: string;
borderColorDisabled: string;
borderColorSplit: string;
borderColorInverse: string;
borderBase: string;
layoutInvertedBgColor: string;
tooltipTextBgColor: string;
selectTriggerIconColor: string;
scrollbarBgColor: string;
scrollbarActiveColor: string;
carouselColor: string;
carouselHoverColor: string;
carouselActiveColor: string;
hoverSuccessTextColor: string;
hoverWarningTextColor: string;
hoverDangerTextColor: string;
hoverBaseTextColor: string;
primaryColor: string;
successColor: string;
dangerColor: string;
warningColor: string;
tipColor: string;
white: string;
black: string;
bodyBgColor: string;
fontColorBase: string;
fontSizeBase: string;
borderRadiusBase: string;
borderRadiusSm: string;
borderWidthBase: string;
borderStyleBase: string;
borderColorBase: string;
shadowColor: string;
shadowColorSm: string;
shadowRadius: string;
shadowRadiusSm: string;
maskColor: string;
maskDarkColor: string;
paddingLarge: string;
paddingMiddle: string;
paddingSmall: string;
paddingXsmall: string;
paddingXSmall?: string;
}>;
};
export declare const useTheme: typeof _useTheme;
export {};