Add custom css variables to color brands automatically
Is there any way of automatically adding css variables to brands. I’m trying to make a component and pass a custom gradient as a prop to component but the only way I got to do this was setting the brand manually in a boot file. Is there any way of adding new css variables defined in ‘quasar.variables.css’ automatically to brands to avoid this extra step?
@lazaroofarrill Have a look at this section - you can call it anywhere in the code
Yes I read the docs, but declaring in conf.js is still an extra step since i have to declare both the css variable and the brand separated.
@lazaroofarrill That link is not for the config stage - that’s what you can use in your code dynamically