feat(style): component using basic css variables

This commit is contained in:
chenjiahan
2021-06-12 15:52:22 +08:00
committed by neverland
parent aef2579a95
commit 710aebaee4
117 changed files with 707 additions and 705 deletions
+4 -4
View File
@@ -76,7 +76,7 @@
cursor: pointer;
&:active {
opacity: @active-opacity;
opacity: var(--van-active-opacity);
}
}
@@ -98,8 +98,8 @@
height: var(--van-number-keyboard-key-height);
font-size: var(--van-number-keyboard-key-font-size);
line-height: 1.5;
background-color: @white;
border-radius: @border-radius-lg;
background-color: var(--van-white);
border-radius: var(--van-border-radius-lg);
cursor: pointer;
&--large {
@@ -127,7 +127,7 @@
background-color: var(--van-number-keyboard-button-background-color);
&.van-key--active {
background-color: var(--van-number-keyboard-button-active-color);
opacity: var(--van-active-opacity);
}
}