react-antd-cssvars
Version:
A minimal cssvars antd module
19 lines (12 loc) • 320 B
text/less
@import './variables.less';
@switch-prefix: ~"@{ant-prefix}-switch";
.@{switch-prefix} {
background-color: @antd-disable-color;
color: @antd-text-color;
&.@{switch-prefix}-checked {
background-color: @antd-primary-color;
&:focus {
box-shadow: 0 0 0 2px @antd-box-shadow-color;
}
}
}