Real custom units. #13954
firatsarlar
started this conversation in
Ideas
Real custom units.
#13954
Replies: 1 comment
-
You could consider referencing other values in your theme configuration. |
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.
-
During theming, you may want to create a variable like navBarHeight. Currently, we can extend the spacing section in the config, and it works. However, if you want to use the same variable (unit value) in the leading section, you need to redefine it in the leading section again. This does not seem abstract enough and creates code repetition.
Beta Was this translation helpful? Give feedback.
All reactions