ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.04k stars 14.63k forks source link

[Feature Request] Support CSS Variables in color variables #20708

Open alexanderkraemer opened 3 years ago

alexanderkraemer commented 3 years ago

Existing Component

Yes

Component Name

theme-chalk

Description

It would be awesome, if css variables can be used for setting the theme colors. This would enable the immediate change of theme colors on the fly even after compillation. unfortunately the mix($color1, $color2, $weight) method does not support, that, but it should be possible to use rgba(var(--primary-color), $weight) method.

alexanderkraemer commented 3 years ago

Can anyone from the team at lease react to this? I would love to be able to change the theme using css variables.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.