Replies: 2 comments
-
That may get solved with the capsize plugin @lukejacksonn is working on. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It says in that post that you need plugins: {
vfont: (parts, { theme }) => ({
'font-variation-settings': `'wght' ${theme('fontWeight', parts[0])}`;
})
} This would allow you to do Let me know if this helps! |
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
-
It'd be great if someone could provide an example of how to use variable fonts when using twind.
tailwind's own site uses the
Inter
font which is available on Google Fonts, but thefont-extrabold
thing doesn't bold it in the say way the font is bolded on tailwind's site.See also tailwindlabs/tailwindcss#3225
Beta Was this translation helpful? Give feedback.
All reactions