react-antd-cssvars
Version:
A minimal cssvars antd module
48 lines (36 loc) • 1.99 kB
text/less
@import "./variables.less";
@import "./default.less";
:root {
--primary-color: @default-antd-primary-color;
--secondary-color: @default-antd-secondary-color;
--danger-color: @default-antd-danger-color;
--success-color: @default-antd-success-color;
--warning-color: @default-antd-warning-color;
--primary-color-background: @default-antd-primary-color-background;
--secondary-color-background: @default-antd-secondary-color-background;
--danger-color-background: @default-antd-danger-color-background;
--success-color-background: @default-antd-success-color-background;
--warning-color-background: @default-antd-warning-color-background;
--primary-color-hover: @default-antd-primary-color-hover;
--secondary-color-hover: @default-antd-secondary-color-hover;
--danger-color-hover: @default-antd-danger-color-hover;
--description-color: @default-antd-description-color;
--text-color: @default-antd-text-color;
--text-color-inv: @default-antd-text-color-inv;
// --background-contrast: @default-antd-background-contrast;
--background-hover: @default-antd-background-hover;
--background-selected: @default-antd-background-selected;
--disable-background: @default-antd-disable-background;
--table-head-text-color: @default-antd-table-head-text-color;
--table-head-background: @default-antd-table-head-background;
--table-head-background-hover: @default-antd-table-head-background-hover;
--table-head-background-selected: @default-antd-table-head-background-selected;
--table-head-background-selected-hover: @default-antd-table-head-background-selected-hover;
--antd-wave-shadow-color: var('--primary-color');
--menu-background: @default-antd-menu-background;
--submenu-background: @default-antd-submenu-background;
--menu-text-color: @default-antd-menu-text-color;
--box-shadow-color: @default-antd-box-shadow-color;
--border-color: @default-antd-border-color;
--disable-color: @default-antd-disable-color;
}