From a0b12690f908655234ee4923afd914d489318665 Mon Sep 17 00:00:00 2001 From: Christian Fehmer Date: Thu, 16 Jan 2025 18:39:08 +0100 Subject: [PATCH] fix: blind mode not working in dark note theme (@fehmer) (#6186) Errors are still shown in blind mode when using the dark note theme. Fixes #6185 --- frontend/static/themes/dark_note.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/static/themes/dark_note.css b/frontend/static/themes/dark_note.css index e8a268777a8f..8240246f40c3 100644 --- a/frontend/static/themes/dark_note.css +++ b/frontend/static/themes/dark_note.css @@ -72,17 +72,17 @@ body::before { text-shadow: none; } -#words.colorfulMode .word letter.incorrect:not(.extra), -#words .word letter.incorrect:not(.extra) { +#words:not(.blind).colorfulMode .word letter.incorrect:not(.extra), +#words:not(.blind) .word letter.incorrect:not(.extra) { color: var(--current-color); } -#words .word.error letter:not(.correct):not(.incorrect)::after { +#words:not(.blind) .word.error letter:not(.correct):not(.incorrect)::after { background: var(--sub-color); } -#words .word letter.incorrect, -#words.colorfulMode .word letter.incorrect { +#words:not(.blind) .word letter.incorrect, +#words:not(.blind).colorfulMode .word letter.incorrect { text-decoration: line-through; text-decoration-color: var(--error-color); text-decoration-thickness: 2px; @@ -128,7 +128,7 @@ body::before { background: var(--c-dot); } -#wordsWrapper .word letter.incorrect::after { +#wordsWrapper #words:not(.blind) .word letter.incorrect::after { background: var(--c-dot--error); }