-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS variable changing #981
Comments
@m0ksem can you provide some details? I'm not entirely following. |
For now, we can change globally SCSS variables. But we can change them directly on DOM element. There will be some updates in vue3 that allow us to change CSS variables as reactive data. I wanted to have something like this before https://codepen.io/richardtallent/pen/yvpERW/. But there is a better way to use this new feature https://v3.vuejs.org/api/sfc-style.html#state-driven-dynamic-css. So I think this issue is not relevant anymore, except fixing VaSelect CSS variables style. They should work the same way as in VaDatePicker component. |
Can be made the same way as withTransportConfig. |
Would be nice to have this:
To make it possible we need to move CSS variables from
:root
to.va-component-root-class
.This can be turn to some component style service.
The text was updated successfully, but these errors were encountered: