feat(style): add component css variables

This commit is contained in:
chenjiahan
2021-06-12 15:52:22 +08:00
committed by neverland
parent dafea4e1e8
commit fe1cba97b7
73 changed files with 1702 additions and 799 deletions
+5 -1
View File
@@ -1,8 +1,12 @@
@import './var.less';
:root {
--van-steps-background-color: @steps-background-color;
}
.van-steps {
overflow: hidden;
background-color: @steps-background-color;
background-color: var(--van-steps-background-color);
&--horizontal {
padding: 10px 10px 0;