Skip to content

Bug: font-size: [object Object] appearing in CSS when customizing typography #189

@ajplopez

Description

@ajplopez

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).

Screen Shot 2021-08-09 at 3 47 39 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions