Variable theme - enable the potential to use more css variables #8694
Unanswered
imaliouris
asked this question in
Ideas
Replies: 1 comment 1 reply
-
Adding myself to this request. The variable theme has proven to be fantastic, but LESS functions need to be replaced with standard CSS functionalities, or dropped, as they can't be easily extended. |
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
-
Currently in the variable theme we can only configure colors as css variables and I was wondering if we could refactor some of the code in order to be able to set i.e.
@select-multiple-item-height
as a css variable.In current implementation this can't happen because if we set
less compiler will throw an error because in
select/style/multiple.less
we have a calculation at line 78My proposal is to refactor every calculation in component styles to use css
calc()
instead of less calculations.So in the previous example that would result to
Beta Was this translation helpful? Give feedback.
All reactions