mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-28 06:22:33 +00:00
fix(a11y): toast text in the light theme meets the 4.5:1 contrast minimum (#32871)
This commit is contained in:
parent
61653e9697
commit
53356e84c6
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue