Tailwindcss: font weight `font-thin` is different with 'OpenType specification'

Created on 18 Sep 2019  路  3Comments  路  Source: tailwindlabs/tailwindcss

Most helpful comment

Yeah I agree following those names would be better, but can't do anything about it until v2, and even then have to weigh the cost of that breaking change. Will tag this for v2 so we can circle back when we're closer to that time.

All 3 comments

Also on the css-fonts spec: https://www.w3.org/TR/css-fonts-4/#font-weight-numeric-values

Only issue with this is it would be a breaking change and, since you can already configure the class names, I'm pretty sure it won't be prioritized at least until we can justify breaking things again (new major version, probably).

Yeah I agree following those names would be better, but can't do anything about it until v2, and even then have to weigh the cost of that breaking change. Will tag this for v2 so we can circle back when we're closer to that time.

Going to update this for 2.0, will keep this open until we introduce it behind a flag.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jvanbaarsen picture jvanbaarsen  路  3Comments

jbardnz picture jbardnz  路  3Comments

benface picture benface  路  3Comments

chintanbanugaria picture chintanbanugaria  路  3Comments

ouun picture ouun  路  3Comments