mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-08-09 22:19:45 +08:00
style(Slider): improve dark mode color
This commit is contained in:
parent
d6e80e8954
commit
fc2847fdb4
@ -10,6 +10,10 @@ body {
|
|||||||
--van-slider-button-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
--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 {
|
.van-slider {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user