You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose enhancing the css-vars() to allow passing multiple theme maps at once. This would improve code clarity and maintainability, enabling more concise and efficient theming.
Proposed Syntax:
Instead of writing multiple lines, users would be able to pass multiple themes as parameters:
Expected Behavior:
The mixin should iterate through each theme provided and add the corresponding CSS variables.
The output should be equivalent to multiple individual calls of @include css-vars($theme) for each provided theme.
This enhancement would make theme management more streamlined and consistent, improving the developer experience when working with multiple components.
The text was updated successfully, but these errors were encountered:
Currently, when adding multiple themes to different components, we need to make repeated calls to the css-vars() mixin:
I propose enhancing the
css-vars()
to allow passing multiple theme maps at once. This would improve code clarity and maintainability, enabling more concise and efficient theming.Proposed Syntax:
Instead of writing multiple lines, users would be able to pass multiple themes as parameters:
Expected Behavior:
The mixin should iterate through each theme provided and add the corresponding CSS variables.
The output should be equivalent to multiple individual calls of
@include css-vars($theme)
for each provided theme.This enhancement would make theme management more streamlined and consistent, improving the developer experience when working with multiple components.
The text was updated successfully, but these errors were encountered: