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
+1 -1
View File
@@ -21,7 +21,7 @@
font-size: var(--van-notify-font-size);
line-height: var(--van-notify-line-height);
// allow newline charactor
// allow newline character
white-space: pre-wrap;
text-align: center;
word-wrap: break-word;
+8 -8
View File
@@ -1,10 +1,10 @@
@import '../style/var.less';
@notify-text-color: @white;
@notify-padding: @padding-xs @padding-md;
@notify-font-size: @font-size-md;
@notify-line-height: @line-height-md;
@notify-primary-background-color: @blue;
@notify-success-background-color: @green;
@notify-danger-background-color: @red;
@notify-warning-background-color: @orange;
@notify-text-color: var(--van-white);
@notify-padding: var(--van-padding-xs) var(--van-padding-md);
@notify-font-size: var(--van-font-size-md);
@notify-line-height: var(--van-line-height-md);
@notify-primary-background-color: var(--van-blue);
@notify-success-background-color: var(--van-green);
@notify-danger-background-color: var(--van-red);
@notify-warning-background-color: var(--van-orange);