feat(style): component using basic css variables
This commit is contained in:
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user