1
0
mirror of https://gitee.com/vant-contrib/vant-weapp.git synced 2025-04-06 03:58:05 +08:00

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

fix 
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
packages
common/style
tag

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

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