diff --git a/packages/vant/src/calendar/index.less b/packages/vant/src/calendar/index.less index 4b8e145c1..99e509488 100644 --- a/packages/vant/src/calendar/index.less +++ b/packages/vant/src/calendar/index.less @@ -61,6 +61,7 @@ body { &__month-title, &__header-title, &__header-subtitle { + color: var(--van-text-color); height: var(--van-calendar-header-title-height); font-weight: var(--van-font-bold); line-height: var(--van-calendar-header-title-height); diff --git a/packages/vant/src/picker/index.less b/packages/vant/src/picker/index.less index 3a673f331..1306d1711 100644 --- a/packages/vant/src/picker/index.less +++ b/packages/vant/src/picker/index.less @@ -60,6 +60,7 @@ body { } &__title { + color: var(--van-text-color); max-width: 50%; font-weight: var(--van-font-bold); font-size: var(--van-picker-title-font-size);