From eb292152ea64b6e0f20d05ec6ca6cd718996110f Mon Sep 17 00:00:00 2001 From: Moritz Behnke Date: Wed, 25 Mar 2026 12:53:20 +0100 Subject: [PATCH] fix: do not apply hardcoded description color on custom themes --- src/styles.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/styles.css b/src/styles.css index ae63e40..a9bcb33 100644 --- a/src/styles.css +++ b/src/styles.css @@ -127,13 +127,16 @@ html[dir='rtl'], [data-sonner-toast][data-styled='true'] [data-description] { font-weight: 400; line-height: 1.4; - color: #3f3f3f; } [data-rich-colors='true'][data-sonner-toast][data-styled='true'] [data-description] { color: inherit; } +[data-sonner-toaster][data-sonner-theme='light'] [data-description] { + color: #3f3f3f; +} + [data-sonner-toaster][data-sonner-theme='dark'] [data-description] { color: hsl(0, 0%, 91%); }