Expand V4 @theme color support #17390
Closed
Laurensvdmaas
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
You can do: @theme {
--background-color-accent: red;
--border-color-accent: blue;
} <div class="background-accent border-accent"> |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi,
In the V3 config we could define
With the new
@theme
directive we can only set the color accent once:We currently support multiple themes and sometimes border/background are the same and sometimes they are slightly different so in V4 we'd have to define our colors like:
It would be nice to have more fine grained support for colors.
Beta Was this translation helpful? Give feedback.
All reactions