dumi-theme-nocobase
Version:
<h1 align="center">dumi-theme-nocobase</h1>
573 lines (572 loc) • 19.8 kB
TypeScript
declare const useSiteToken: () => {
token: {
headerHeight: number;
menuItemBorder: number;
mobileMaxWidth: number;
siteMarkdownCodeBg: string;
antCls: string;
iconCls: string;
/** 56 */
marginFarXS: number;
/** 80 */
marginFarSM: number;
/** 96 */
marginFar: number;
codeFamily: string;
boxShadowCard: string;
siteTheme: import("../common/ThemeSwitch").ThemeName[];
colorFillContentHover: string;
colorFillAlter: string;
colorFillContent: string;
colorBgContainerDisabled: string;
colorBgTextHover: string;
colorBgTextActive: string;
colorBorderBg: string;
colorSplit: string;
colorTextPlaceholder: string;
colorTextDisabled: string;
colorTextHeading: string;
colorTextLabel: string;
colorTextDescription: string;
colorTextLightSolid: string;
colorIcon: string;
colorIconHover: string;
colorHighlight: string;
controlOutline: string;
colorWarningOutline: string;
colorErrorOutline: string;
fontSizeIcon: number;
fontWeightStrong: number;
controlOutlineWidth: number;
controlItemBgHover: string;
controlItemBgActive: string;
controlItemBgActiveHover: string;
controlInteractiveSize: number;
controlItemBgActiveDisabled: string;
lineWidthFocus: number;
paddingXXS: number;
paddingXS: number;
paddingSM: number;
padding: number;
paddingMD: number;
paddingLG: number;
paddingXL: number;
paddingContentHorizontalLG: number;
paddingContentHorizontal: number;
paddingContentHorizontalSM: number;
paddingContentVerticalLG: number;
paddingContentVertical: number;
paddingContentVerticalSM: number;
marginXXS: number;
marginXS: number;
marginSM: number;
margin: number;
marginMD: number;
marginLG: number;
marginXL: number;
marginXXL: number;
opacityLoading: number;
boxShadow: string;
boxShadowSecondary: string;
boxShadowTertiary: string;
linkDecoration: import("csstype").Property.TextDecoration<string | number> | undefined;
linkHoverDecoration: import("csstype").Property.TextDecoration<string | number> | undefined;
linkFocusDecoration: import("csstype").Property.TextDecoration<string | number> | undefined;
controlPaddingHorizontal: number;
controlPaddingHorizontalSM: number;
screenXS: number;
screenXSMin: number;
screenXSMax: number;
screenSM: number;
screenSMMin: number;
screenSMMax: number;
screenMD: number;
screenMDMin: number;
screenMDMax: number;
screenLG: number;
screenLGMin: number;
screenLGMax: number;
screenXL: number;
screenXLMin: number;
screenXLMax: number;
screenXXL: number;
screenXXLMin: number;
controlTmpOutline: string;
colorPrimary: string;
colorSuccess: string;
colorWarning: string;
colorError: string;
colorInfo: string;
colorTextBase: string;
colorBgBase: string;
colorLink: string;
fontFamily: string;
fontFamilyCode: string;
fontSize: number;
lineWidth: number;
lineType: string;
borderRadius: number;
sizeUnit: number;
sizeStep: number;
sizePopupArrow: number;
controlHeight: number;
zIndexBase: number;
zIndexPopupBase: number;
opacityImage: number;
motionUnit: number;
motionBase: number;
motionEaseOutCirc: string;
motionEaseInOutCirc: string;
motionEaseInOut: string;
motionEaseOutBack: string;
motionEaseInBack: string;
motionEaseInQuint: string;
motionEaseOutQuint: string;
motionEaseOut: string;
wireframe: boolean;
motion: boolean;
blue: string;
purple: string;
cyan: string;
green: string;
magenta: string;
pink: string;
red: string;
orange: string;
yellow: string;
volcano: string;
geekblue: string;
lime: string;
gold: string;
blue2: string;
blue1: string;
blue5: string;
blue3: string;
blue4: string;
blue6: string;
blue7: string;
blue8: string;
blue9: string;
blue10: string;
purple2: string;
purple1: string;
purple5: string;
purple3: string;
purple4: string;
purple6: string;
purple7: string;
purple8: string;
purple9: string;
purple10: string;
cyan2: string;
cyan1: string;
cyan5: string;
cyan3: string;
cyan4: string;
cyan6: string;
cyan7: string;
cyan8: string;
cyan9: string;
cyan10: string;
green2: string;
green1: string;
green5: string;
green3: string;
green4: string;
green6: string;
green7: string;
green8: string;
green9: string;
green10: string;
magenta2: string;
magenta1: string;
magenta5: string;
magenta3: string;
magenta4: string;
magenta6: string;
magenta7: string;
magenta8: string;
magenta9: string;
magenta10: string;
pink2: string;
pink1: string;
pink5: string;
pink3: string;
pink4: string;
pink6: string;
pink7: string;
pink8: string;
pink9: string;
pink10: string;
red2: string;
red1: string;
red5: string;
red3: string;
red4: string;
red6: string;
red7: string;
red8: string;
red9: string;
red10: string;
orange2: string;
orange1: string;
orange5: string;
orange3: string;
orange4: string;
orange6: string;
orange7: string;
orange8: string;
orange9: string;
orange10: string;
yellow2: string;
yellow1: string;
yellow5: string;
yellow3: string;
yellow4: string;
yellow6: string;
yellow7: string;
yellow8: string;
yellow9: string;
yellow10: string;
volcano2: string;
volcano1: string;
volcano5: string;
volcano3: string;
volcano4: string;
volcano6: string;
volcano7: string;
volcano8: string;
volcano9: string;
volcano10: string;
geekblue2: string;
geekblue1: string;
geekblue5: string;
geekblue3: string;
geekblue4: string;
geekblue6: string;
geekblue7: string;
geekblue8: string;
geekblue9: string;
geekblue10: string;
lime2: string;
lime1: string;
lime5: string;
lime3: string;
lime4: string;
lime6: string;
lime7: string;
lime8: string;
lime9: string;
lime10: string;
gold2: string;
gold1: string;
gold5: string;
gold3: string;
gold4: string;
gold6: string;
gold7: string;
gold8: string;
gold9: string;
gold10: string;
"blue-2": string;
"blue-1": string;
"blue-5": string;
"blue-3": string;
"blue-4": string;
"blue-6": string;
"blue-7": string;
"blue-8": string;
"blue-9": string;
"blue-10": string;
"purple-2": string;
"purple-1": string;
"purple-5": string;
"purple-3": string;
"purple-4": string;
"purple-6": string;
"purple-7": string;
"purple-8": string;
"purple-9": string;
"purple-10": string;
"cyan-2": string;
"cyan-1": string;
"cyan-5": string;
"cyan-3": string;
"cyan-4": string;
"cyan-6": string;
"cyan-7": string;
"cyan-8": string;
"cyan-9": string;
"cyan-10": string;
"green-2": string;
"green-1": string;
"green-5": string;
"green-3": string;
"green-4": string;
"green-6": string;
"green-7": string;
"green-8": string;
"green-9": string;
"green-10": string;
"magenta-2": string;
"magenta-1": string;
"magenta-5": string;
"magenta-3": string;
"magenta-4": string;
"magenta-6": string;
"magenta-7": string;
"magenta-8": string;
"magenta-9": string;
"magenta-10": string;
"pink-2": string;
"pink-1": string;
"pink-5": string;
"pink-3": string;
"pink-4": string;
"pink-6": string;
"pink-7": string;
"pink-8": string;
"pink-9": string;
"pink-10": string;
"red-2": string;
"red-1": string;
"red-5": string;
"red-3": string;
"red-4": string;
"red-6": string;
"red-7": string;
"red-8": string;
"red-9": string;
"red-10": string;
"orange-2": string;
"orange-1": string;
"orange-5": string;
"orange-3": string;
"orange-4": string;
"orange-6": string;
"orange-7": string;
"orange-8": string;
"orange-9": string;
"orange-10": string;
"yellow-2": string;
"yellow-1": string;
"yellow-5": string;
"yellow-3": string;
"yellow-4": string;
"yellow-6": string;
"yellow-7": string;
"yellow-8": string;
"yellow-9": string;
"yellow-10": string;
"volcano-2": string;
"volcano-1": string;
"volcano-5": string;
"volcano-3": string;
"volcano-4": string;
"volcano-6": string;
"volcano-7": string;
"volcano-8": string;
"volcano-9": string;
"volcano-10": string;
"geekblue-2": string;
"geekblue-1": string;
"geekblue-5": string;
"geekblue-3": string;
"geekblue-4": string;
"geekblue-6": string;
"geekblue-7": string;
"geekblue-8": string;
"geekblue-9": string;
"geekblue-10": string;
"lime-2": string;
"lime-1": string;
"lime-5": string;
"lime-3": string;
"lime-4": string;
"lime-6": string;
"lime-7": string;
"lime-8": string;
"lime-9": string;
"lime-10": string;
"gold-2": string;
"gold-1": string;
"gold-5": string;
"gold-3": string;
"gold-4": string;
"gold-6": string;
"gold-7": string;
"gold-8": string;
"gold-9": string;
"gold-10": string;
colorWhite: string;
colorBgMask: string;
colorText: string;
colorTextSecondary: string;
colorTextTertiary: string;
colorTextQuaternary: string;
colorBorder: string;
colorBorderSecondary: string;
colorFill: string;
colorFillSecondary: string;
colorFillTertiary: string;
colorFillQuaternary: string;
colorBgLayout: string;
colorBgContainer: string;
colorBgElevated: string;
colorBgSpotlight: string;
colorBgBlur: string;
colorPrimaryBg: string;
colorPrimaryBgHover: string;
colorPrimaryBorder: string;
colorPrimaryBorderHover: string;
colorPrimaryHover: string;
colorPrimaryActive: string;
colorPrimaryTextHover: string;
colorPrimaryText: string;
colorPrimaryTextActive: string;
colorSuccessBg: string;
colorSuccessBgHover: string;
colorSuccessBorder: string;
colorSuccessBorderHover: string;
colorSuccessHover: string;
colorSuccessActive: string;
colorSuccessTextHover: string;
colorSuccessText: string;
colorSuccessTextActive: string;
colorWarningBg: string;
colorWarningBgHover: string;
colorWarningBorder: string;
colorWarningBorderHover: string;
colorWarningHover: string;
colorWarningActive: string;
colorWarningTextHover: string;
colorWarningText: string;
colorWarningTextActive: string;
colorErrorBg: string;
colorErrorBgHover: string;
colorErrorBorder: string;
colorErrorBorderHover: string;
colorErrorHover: string;
colorErrorActive: string;
colorErrorTextHover: string;
colorErrorText: string;
colorErrorTextActive: string;
colorInfoBg: string;
colorInfoBgHover: string;
colorInfoBorder: string;
colorInfoBorderHover: string;
colorInfoHover: string;
colorInfoActive: string;
colorInfoTextHover: string;
colorInfoText: string;
colorInfoTextActive: string;
colorLinkHover: string;
colorLinkActive: string;
sizeXXL: number;
sizeXL: number;
sizeLG: number;
sizeMD: number;
sizeMS: number;
size: number;
sizeSM: number;
sizeXS: number;
sizeXXS: number;
controlHeightXS: number;
controlHeightSM: number;
controlHeightLG: number;
lineWidthBold: number;
borderRadiusXS: number;
borderRadiusSM: number;
borderRadiusLG: number;
borderRadiusOuter: number;
fontSizeSM: number;
fontSizeLG: number;
fontSizeXL: number;
fontSizeHeading1: number;
fontSizeHeading2: number;
fontSizeHeading3: number;
fontSizeHeading4: number;
fontSizeHeading5: number;
lineHeight: number;
lineHeightLG: number;
lineHeightSM: number;
lineHeightHeading1: number;
lineHeightHeading2: number;
lineHeightHeading3: number;
lineHeightHeading4: number;
lineHeightHeading5: number;
motionDurationFast: string;
motionDurationMid: string;
motionDurationSlow: string;
Affix?: import("antd/es/affix/style").ComponentToken | undefined;
Alert?: import("antd/es/alert/style").ComponentToken | undefined;
Anchor?: import("antd/es/anchor/style").ComponentToken | undefined;
Avatar?: import("antd/es/avatar/style").ComponentToken | undefined;
BackTop?: import("antd/es/back-top/style").ComponentToken | undefined;
Badge?: import("antd/es/badge/style").ComponentToken | undefined;
Button?: import("antd/es/button/style").ComponentToken | undefined;
Breadcrumb?: import("antd/es/breadcrumb/style").ComponentToken | undefined;
Card?: import("antd/es/card/style").ComponentToken | undefined;
Carousel?: import("antd/es/carousel/style").ComponentToken | undefined;
Cascader?: import("antd/es/cascader/style").ComponentToken | undefined;
Checkbox?: import("antd/es/checkbox/style").ComponentToken | undefined;
ColorPicker?: import("antd/es/color-picker/style").ComponentToken | undefined;
Collapse?: import("antd/es/collapse/style").ComponentToken | undefined;
DatePicker?: import("antd/es/date-picker/style").ComponentToken | undefined;
Descriptions?: import("antd/es/descriptions/style").ComponentToken | undefined;
Divider?: import("antd/es/divider/style").ComponentToken | undefined;
Drawer?: import("antd/es/drawer/style").ComponentToken | undefined;
Dropdown?: import("antd/es/dropdown/style").ComponentToken | undefined;
Empty?: import("antd/es/empty/style").ComponentToken | undefined;
Flex?: import("antd/es/flex/style").ComponentToken | undefined;
FloatButton?: import("antd/es/float-button/style").ComponentToken | undefined;
Form?: import("antd/es/form/style").ComponentToken | undefined;
Grid?: import("antd/es/grid/style").ComponentToken | undefined;
Image?: import("antd/es/image/style").ComponentToken | undefined;
Input?: import("antd/es/input/style").ComponentToken | undefined;
InputNumber?: import("antd/es/input-number/style").ComponentToken | undefined;
Layout?: import("antd/es/layout/style").ComponentToken | undefined;
List?: import("antd/es/list/style").ComponentToken | undefined;
Mentions?: import("antd/es/mentions/style").ComponentToken | undefined;
Notification?: import("antd/es/notification/style").ComponentToken | undefined;
Pagination?: import("antd/es/pagination/style").ComponentToken | undefined;
Popover?: import("antd/es/popover/style").ComponentToken | undefined;
Popconfirm?: import("antd/es/popconfirm/style").ComponentToken | undefined;
Rate?: import("antd/es/rate/style").ComponentToken | undefined;
Radio?: import("antd/es/radio/style").ComponentToken | undefined;
Result?: import("antd/es/result/style").ComponentToken | undefined;
Segmented?: import("antd/es/segmented/style").ComponentToken | undefined;
Select?: import("antd/es/select/style").ComponentToken | undefined;
Skeleton?: import("antd/es/skeleton/style").ComponentToken | undefined;
Slider?: import("antd/es/slider/style").ComponentToken | undefined;
Spin?: import("antd/es/spin/style").ComponentToken | undefined;
Statistic?: import("antd/es/statistic/style").ComponentToken | undefined;
Switch?: import("antd/es/switch/style").ComponentToken | undefined;
Tag?: import("antd/es/tag/style").ComponentToken | undefined;
Tree?: import("antd/es/tree/style").ComponentToken | undefined;
TreeSelect?: import("antd/es/tree-select/style").ComponentToken | undefined;
Typography?: import("antd/es/typography/style").ComponentToken | undefined;
Timeline?: import("antd/es/timeline/style").ComponentToken | undefined;
Transfer?: import("antd/es/transfer/style").ComponentToken | undefined;
Tabs?: import("antd/es/tabs/style").ComponentToken | undefined;
Calendar?: import("antd/es/calendar/style").ComponentToken | undefined;
Steps?: import("antd/es/steps/style").ComponentToken | undefined;
Menu?: import("antd/es/menu/style").ComponentToken | undefined;
Modal?: import("antd/es/modal/style").ComponentToken | undefined;
Message?: import("antd/es/message/style").ComponentToken | undefined;
Upload?: import("antd/es/upload/style").ComponentToken | undefined;
Tooltip?: import("antd/es/tooltip/style").ComponentToken | undefined;
Table?: import("antd/es/table/style").ComponentToken | undefined;
Space?: import("antd/es/space/style").ComponentToken | undefined;
Progress?: import("antd/es/progress/style").ComponentToken | undefined;
Tour?: import("antd/es/tour/style").ComponentToken | undefined;
QRCode?: import("antd/es/qr-code/style").ComponentToken | undefined;
App?: import("antd/es/app/style").ComponentToken | undefined;
Wave?: import("antd/es/_util/wave/style").ComponentToken | undefined;
};
/** dumi-theme-nocobase 站点 class 前缀 */
siteCls: string;
theme: import("@ant-design/cssinjs").Theme<import("antd/es/theme/internal").SeedToken, import("antd/es/theme/interface").MapToken>;
hashId: string;
};
export default useSiteToken;