fix(a11y): toast text in the light theme meets the 4.5:1 contrast minimum (#32871)

This commit is contained in:
G30 2026-10-21 17:20:49 -04:00 • committed by GitHub
parent 61653e9697
commit 53356e84c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;