fix(tag): fix wrong css variable name (#3191)

fix #3185
This commit is contained in:
rex 2020-05-25 14:41:03 +08:00 committed by GitHub
parent de8aa10f3d
commit 3cf7ceebfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -506,7 +506,7 @@
@tag-text-color: @white; @tag-text-color: @white;
@tag-border-radius: 0.2em; @tag-border-radius: 0.2em;
@tag-round-border-radius: @border-radius-max; @tag-round-border-radius: @border-radius-max;
@tag-dander-color: @red; @tag-danger-color: @red;
@tag-primary-color: @blue; @tag-primary-color: @blue;
@tag-success-color: @green; @tag-success-color: @green;
@tag-warning-color: @orange; @tag-warning-color: @orange;

View File

@ -24,10 +24,10 @@
} }
&--danger { &--danger {
.theme(background-color, '@tag-dander-color'); .theme(background-color, '@tag-danger-color');
&.van-tag--plain { &.van-tag--plain {
.theme(color, '@tag-dander-color'); .theme(color, '@tag-danger-color');
} }
} }