From 53356e84c697db52b763599e0f10eb61d975f3b9 Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Wed, 21 Oct 2026 17:20:49 -0400 Subject: [PATCH] fix(a11y): toast text in the light theme meets the 4.5:1 contrast minimum (#32871) --- src/app.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/app.css b/src/app.css index d5a7f782ae..46c5f6e452 100644 --- a/src/app.css +++ b/src/app.css @@ -448,6 +448,13 @@ html.high-contrast :is(input, textarea, [contenteditable='true'], .ProseMirror): outline-offset: -2px; } +html [data-sonner-toaster][data-theme='light'] { + --success-text: hsl(140, 100%, 25%); + --info-text: hsl(210, 92%, 43%); + --warning-text: hsl(31, 92%, 35%); + --error-text: hsl(360, 100%, 43%); +} + .ProseMirror p.is-editor-empty:first-child::before { content: attr(data-placeholder); float: left;