From 3400c334506e6cbe8c9a745b33255cfbac520ca8 Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 30 Oct 2021 20:45:07 +0800 Subject: [PATCH] chore: adjust some css vars (#9758) --- packages/vant/src/badge/index.less | 2 +- packages/vant/src/checkbox/demo/index.vue | 2 +- packages/vant/src/icon/demo/index.vue | 2 +- packages/vant/src/popover/demo/index.vue | 2 +- .../vant/src/popover/test/__snapshots__/demo.spec.ts.snap | 4 ---- packages/vant/src/rate/demo/index.vue | 2 +- packages/vant/src/step/index.less | 2 +- packages/vant/src/sticky/demo/index.vue | 5 ++++- .../vant/src/sticky/test/__snapshots__/demo.spec.ts.snap | 2 +- 9 files changed, 11 insertions(+), 12 deletions(-) diff --git a/packages/vant/src/badge/index.less b/packages/vant/src/badge/index.less index 2760bc450..db4431156 100644 --- a/packages/vant/src/badge/index.less +++ b/packages/vant/src/badge/index.less @@ -25,7 +25,7 @@ line-height: 1.2; text-align: center; background: var(--van-badge-background-color); - border: var(--van-badge-border-width) solid var(--van-white); + border: var(--van-badge-border-width) solid var(--van-background-color-light); border-radius: var(--van-border-radius-max); &--fixed { diff --git a/packages/vant/src/checkbox/demo/index.vue b/packages/vant/src/checkbox/demo/index.vue index b7445728b..7c9b448a9 100644 --- a/packages/vant/src/checkbox/demo/index.vue +++ b/packages/vant/src/checkbox/demo/index.vue @@ -184,7 +184,7 @@ const toggleAll = () => {