You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I customize the font-size of typography, for example, changing the heading 3 size, it does set the size but it also puts in a second "font-size: [object Object]" which is invalid CSS (and gets ignored).
The text was updated successfully, but these errors were encountered:
Someone on the Discord clarified that the fontSizes are provided as an array of [fontSize, lineHeight] so I needed to make it like fontSize: theme('fontSize.3xl[0]'), and that fixed the problem.
What version of @tailwindcss/typography are you using?
0.4.1
What version of Node.js are you using?
14.16.1
What browser are you using?
N/A
What operating system are you using?
macOS
Reproduction repository
https://play.tailwindcss.com/31mzz33oQ5
Describe your issue
I'm hoping the Tailwind Play I pasted above is enough to see the problem (in lieu of a GitHub repo).
Here it is again: https://play.tailwindcss.com/31mzz33oQ5
When I customize the font-size of typography, for example, changing the heading 3 size, it does set the size but it also puts in a second "font-size: [object Object]" which is invalid CSS (and gets ignored).
The text was updated successfully, but these errors were encountered: