ui icon indicating copy to clipboard operation
ui copied to clipboard

sonner font

Open aeonzz opened this issue 1 year ago • 2 comments

Why is the font different from the font defined in the layout?

aeonzz avatar Dec 28 '23 12:12 aeonzz

That should be coming from https://github.com/emilkowalski/sonner/blob/main/src/styles.css#L30.

cc: @emilkowalski

murali-krishna-sv avatar Dec 29 '23 11:12 murali-krishna-sv

Applying font like this worked for the toasts.

<Toaster toastOptions={{ className: 'font-sans', }} />

Amirthananth avatar Jan 29 '24 17:01 Amirthananth

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.

shadcn avatar Feb 20 '24 23:02 shadcn

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.

AliAsgharRanjbar avatar Aug 10 '24 07:08 AliAsgharRanjbar