-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: title/description of toast
hardly visible in darkmode
#1121
Comments
Good @DerTimonius day how is it going ? just want seek help the toast in mine are not working how did you install that properly? |
Works for me with default settings on [email protected] app dir, maybe an issue with your CSS or tw config? |
@1danii did you use CSS variables? in the project where I encountered the issue I don't. I only followed the installation (for Astro in the case above) without making additional changes to the tw config |
@1danii do you have any reference for that installation ? unfortunately not work on me i follow both cli and manual way of installation but no luck |
@SimeonAnunciado Did you add the |
@DerTimonius Same issue when I start without CSS variables, looks like the text color class is missing on the component, hopefully fixed it on #1162 |
Description
When using the default values after running
npx shadcn-ui@latest init
andnpx shadcn-ui@latest add toast
, the title and description of a toast are barely visible in darkmode:Only after manually adding
dark:text-slate-100
(in my case at least with the default values) to bothToastTitle
andToastDescription
is it possible to read the toast:Expected behavior
The text should be visible in darkmode without any additional changes
I'd be happy to help with a PR!
The text was updated successfully, but these errors were encountered: