Skip to content

Multiple fonts in a fontFamily does not workΒ #42

@stouch

Description

@stouch

We cannot set multiple fonts for a fontFamily definition in our tailwind because on tw() render it concatenates with (space) instead of concatenating with , (comma), so for :

// tailwind.config.js
{
    fontFamily: {
      body: ["Inter", "sans-serif"],
    }
}

we got :

/* once` transpiled on runtime : ... */
font-family: "Inter sans-serif"; 

and "Inter sans-serif" isnt an existing font.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions