Skip to content

Commit

Permalink
fix: blind mode not working in dark note theme (@fehmer) (#6186)
Browse files Browse the repository at this point in the history
Errors are still shown in blind mode when using the dark note theme.

Fixes #6185
  • Loading branch information
fehmer authored Jan 16, 2025
1 parent c351489 commit a0b1269
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frontend/static/themes/dark_note.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit a0b1269

Please sign in to comment.