Open lacymorrow opened 1 month ago
This also occurs with a fresh install of Remix and Shadcn. Just follow the official instructions to see.
I'm honestly a little confused about how to write this part correctly--
fontFamily: {
sans: [
'"var(--font-sans)"', // single and double quote
'"Inter"',
"ui-sans-serif",
"system-ui",
"sans-serif",
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"'
]
}
This is the only way (single quote+double quote) that works without manually adding a --font-sans
variable to my tailwind.css
file. Otherwise fonts are completely broken and it falls back to some system serif font.
I think the only workaround is manually delete the \n
stuff for now.
it is coming as line breaks "\n" whenever installing a new component or block
Describe the bug
Became
Affected component/components
CLI
How to reproduce
Install something with a comment at the top of the fontfamily in tailwind config:
https://github.com/lacymorrow/juicy-stack/pull/2/files#diff-655dc9e3d0aa561e3fa164bf48bd89cb0f5da65e0a567f8ebbf9dd791a0e7f40
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting