-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Font styles and weights naming #413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can change https://www.w3.org/TR/css-fonts-3/#font-weight-numeric-values The https://en.wikipedia.org/wiki/Roman_type I'm not opposed to changing that name but I don't want to use a name that uses the |
Having not thought about the |
Renamed |
Good solution from my point of view. Also more consistent with |
Welp I remembered why we didn't use csstools/postcss-selector-not#10 So now I've got a broken 0.5.0 build on my hands for anyone using cssnext 😔Need a new name that doesn't start with |
I've reverted back to |
Hi! I’m testing Tailwind, and have a question about some class naming.
I was expecting these rules to be declared by these classes:
font-style: normal
from.font-normal
or.normal
font-weight: regular
from.font-regular
or.regular
But Tailwind works this way:
font-style: normal
from.roman
font-weight: regular
from.font-normal
I find that very misleading, because:
.font-normal
, I think aboutfont-style: normal
, not aboutfont-weight: regular
roman
does not resonate in any way withfont-style: normal
.roman
makes me think tolist-style-type: lower-roman
(orupper-roman
).What are other people views on this? Can you consider to rename classes in a further breaking update?
The text was updated successfully, but these errors were encountered: