Promote Global Styles to CSS Variable Panel #23973
Henzxon
started this conversation in
Feature Request
Replies: 0 comments
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.
Prerequisites
What problem is your feature request going to solve? Please describe.
It's frustrating how global styles variable are not named properly.
The only variables with proper names are:
--e-global-color-primary: #;
--e-global-color-secondary: #
--e-global-color-text: #;
--e-global-color-accent: #;
CSS variables are meant to be readable and can be referenced immediately.
The rest are just random
Describe the solution you'd like
It would be nice if a dedicated variables panel can store not only colors and font but also number values which can be used for the following:
Then enable linking to all possible number fields on all widgets for a true flexible design and web designing process.
This would make the a cohesive design with less inline styling and custom overrides because clients often breaks something on the site and they always and always unintentionally copy styles to another element with unique properties and variables.
Describe alternatives you've considered
Right now, CSS Classes but only certain elements.
Writing "!important" is not scalable in a long run.
Additional context
All reactions