You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the screenshot, it is evident that the styles added by shadcn have a lower priority than the inherent styles of sonner , and therefore cannot override them correctly.
Affected component/components
Sonner
How to reproduce
install shadcn/ui
style: default
baseColor: gray
cssVariable: false
install sonner by npx shadcn-ui@latest add sonner
use sonner in my project
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
System: macOS 14.2.1
Browser: Arc Version 1.39.0 (48951) / Chromium Engine Version 124.0.6367.61
Before submitting
I've made research efforts and searched the documentation
I've searched for existing issues
The text was updated successfully, but these errors were encountered:
I think this issue started with the upgrade from sonner 1.4.3 to 1.4.41.
In my project, I'm sticking to sonner 1.4.3 because the style override still works in that version.
Describe the bug
From the screenshot, it is evident that the styles added by
shadcn
have a lower priority than the inherent styles ofsonner
, and therefore cannot override them correctly.Affected component/components
Sonner
How to reproduce
npx shadcn-ui@latest add sonner
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: