1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-25 10:56:35 +08:00

style(Slider): improve dark mode color

This commit is contained in:
chenjiahan 2022-01-27 19:44:00 +08:00
parent d6e80e8954
commit fc2847fdb4

@ -10,6 +10,10 @@ body {
--van-slider-button-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.van-theme-dark {
--van-slider-inactive-background: var(--van-background-3);
}
.van-slider {
position: relative;
width: 100%;