react-antd-cssvars
Version:
A minimal cssvars antd module
38 lines (29 loc) • 557 B
text/less
@import './variables.less';
a {
color: @antd-primary-color;
&:hover {
color: @antd-primary-color-hover;
}
}
.primary-color {
color: @antd-primary-color;
}
.primary-bg {
background-color: @antd-primary-color;
}
.secondary-color {
color: @antd-secondary-color;
}
.secondary-bg {
background-color: @antd-secondary-color;
}
html {
--antd-wave-shadow-color: @antd-primary-color;
}
body {
color: @antd-text-color;
background-color: @antd-text-color-inv;
}
::selection {
background: @antd-primary-color;
}