NightCatSama / vue-slider-component

🌡 A highly customized slider component
https://nightcatsama.github.io/vue-slider-component
MIT License
2.39k stars 341 forks source link

Setting color using var() function instead of requiring scss #671

Closed whaaaley closed 1 year ago

whaaaley commented 1 year ago

Describe the feature

Setting a var like: --theme-color: blue to change theme color instead of using SCSS.

NightCatSama commented 1 year ago

For compatibility reasons, the theme file will not use css var.

You can create your own theme file to use it.