diff --git a/src/style/var.less b/src/style/var.less index 445c19258..1172ad8aa 100644 --- a/src/style/var.less +++ b/src/style/var.less @@ -679,7 +679,7 @@ @tag-text-color: @white; @tag-border-radius: .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; diff --git a/src/tag/index.less b/src/tag/index.less index 88d6cfae7..f01fc6235 100644 --- a/src/tag/index.less +++ b/src/tag/index.less @@ -23,10 +23,10 @@ } &--danger { - background-color: @tag-dander-color; + background-color: @tag-danger-color; &.van-tag--plain { - color: @tag-dander-color; + color: @tag-danger-color; } }