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
I'd like to be able to transform the following
<button class="bg-red p-4 b-1 b-solid b-blue">Foo</button>
into
<button class="bar:bg-red bar:p-4 bar:b-1 bar:b-solid bar:b-blue">Foo</button>
by specifying that the bar variant should be applied to all utilities in a certain collection of files (e.g. all files in the components directory).
bar
components
This will allow for doing things such as changing the layer all these utilities are generated on; helping to prevent CSS specificity issues.
I believe this can be done with a transformer - though I'm entirely sure.
No response
README.md
The text was updated successfully, but these errors were encountered:
I think you can completely use the unocss parser and then use your own plug-in to handle it.
Sorry, something went wrong.
No branches or pull requests
Clear and concise description of the problem
I'd like to be able to transform the following
into
by specifying that the
bar
variant should be applied to all utilities in a certain collection of files (e.g. all files in thecomponents
directory).This will allow for doing things such as changing the layer all these utilities are generated on; helping to prevent CSS specificity issues.
Suggested solution
I believe this can be done with a transformer - though I'm entirely sure.
Alternative
No response
Additional context
No response
Validations
README.md
of using the package.The text was updated successfully, but these errors were encountered: