feat(style): add component css variables
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
@import './var.less';
|
||||
|
||||
:root {
|
||||
--van-count-down-text-color: @count-down-text-color;
|
||||
--van-count-down-font-size: @count-down-font-size;
|
||||
--van-count-down-line-height: @count-down-line-height;
|
||||
}
|
||||
|
||||
.van-count-down {
|
||||
color: @count-down-text-color;
|
||||
font-size: @count-down-font-size;
|
||||
line-height: @count-down-line-height;
|
||||
color: var(--van-count-down-text-color);
|
||||
font-size: var(--van-count-down-font-size);
|
||||
line-height: var(--van-count-down-line-height);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user