mirror of
https://github.com/meshtastic/web.git
synced 2026-01-19 21:08:16 -05:00
Merge pull request #214 from ashokasec/issue-212-dark-mode-toast
Fix issue #212: Change toast text color to white in dark mode
This commit is contained in:
@@ -17,8 +17,8 @@ export function Toaster() {
|
||||
{toasts.map(({ id, title, description, action, ...props }) => (
|
||||
<Toast key={id} {...props}>
|
||||
<div className="grid gap-1">
|
||||
{title && <ToastTitle>{title}</ToastTitle>}
|
||||
{description && <ToastDescription>{description}</ToastDescription>}
|
||||
{title && <ToastTitle className="dark:text-white">{title}</ToastTitle>}
|
||||
{description && <ToastDescription className="dark:text-white-400">{description}</ToastDescription>}
|
||||
</div>
|
||||
{action}
|
||||
<ToastClose />
|
||||
|
||||
Reference in New Issue
Block a user