Replies: 1 comment 2 replies
-
There are some pre-defined CSS font weights, maybe we should just use them instead of numbers? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I noticed that currently
font-weight
is declared with fixed values like 600 or 400 in the components.Using CSS variables the values could be maintained more easily in one central location like colors.
Example:
--onyx-font-weight-bold
or--onyx-font-weight-loud
same could be done for font-sizes, I bet you already discussed this 🙂
Beta Was this translation helpful? Give feedback.
All reactions