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
+3 -3
View File
@@ -24,7 +24,7 @@
align-items: center;
justify-content: center;
box-sizing: content-box;
transition: all @animation-duration-fast;
transition: all var(--van-animation-duration-fast);
// hack for avoid max-width when use left & fixed
width: var(--van-toast-default-width);
@@ -79,11 +79,11 @@
}
&__loading {
padding: @padding-base;
padding: var(--van-padding-base);
color: var(--van-toast-loading-icon-color);
}
&__text {
margin-top: @padding-xs;
margin-top: var(--van-padding-xs);
}
}