We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Just like we can easily pass params to the scripts which can be imported from the js code,
params
we could try and add the same for styles. Those could be inserted as css variables:
styles: - path: main.scss params: env: huge/env/Get() darkMode: true
Which would generate something like:
:root { --env: production; --darkMode: true; }
I'm thinking it would be better to give control to user over the positioning of those variable declaration, shall it overwrite some of their own...
Maybe it could create a file which could then be imported by user mimicking the JS side of this...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Just like we can easily pass
params
to the scripts which can be imported from the js code,we could try and add the same for styles. Those could be inserted as css variables:
Which would generate something like:
I'm thinking it would be better to give control to user over the positioning of those variable declaration, shall it overwrite some of their own...
Maybe it could create a file which could then be imported by user mimicking the JS side of this...
The text was updated successfully, but these errors were encountered: