ui
ui copied to clipboard
sonner font
Why is the font different from the font defined in the layout?
That should be coming from https://github.com/emilkowalski/sonner/blob/main/src/styles.css#L30.
cc: @emilkowalski
Applying font like this worked for the toasts.
<Toaster toastOptions={{ className: 'font-sans', }} />
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.
I have my font set globally by adding
* { font-family: "MyFont" }
in my styles.css
but the problem remains and it doesn't apply to toaster component.