add small caps font variant #3680
ianstormtaylor
started this conversation in
Ideas
Replies: 4 comments
-
I'd be interested in this too, but...
So, if this gets added, I'd advocate for following the precedent established by font-variant-numeric, meaning class names like |
Beta Was this translation helpful? Give feedback.
0 replies
-
+1. i was just seeking out this exact thing. seems like i will have to solve it myself |
Beta Was this translation helpful? Give feedback.
0 replies
-
That would be a nice addition. In the meantime, I'm using the following: <div className="text-2xl [font-variant:small-caps]"> |
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
-
Just noticed that there are font variant settings for numerals, and there's the classic
uppercase
text transform, but it would be nice to have support for small caps.Specifically:
These are nicer typographically than doing regular uppercase letterforms in fonts that support them.
Beta Was this translation helpful? Give feedback.
All reactions