Custom @theme or @variant without a parent selector? #15871
anmoldovanov
started this conversation in
Ideas
Replies: 1 comment
-
You could write what you want as-is: :where(:root, :host, [data-mz-accent], [data-mz-mode]) {
--my-var: 1;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys, is it possible to use
@variant
outside of a parent selector or create a custom@theme
? For example, instead of writing:I'd like to write it like this:
to get this:
Beta Was this translation helpful? Give feedback.
All reactions