Skip to content

Commit a0b1269

Browse files
authored
fix: blind mode not working in dark note theme (@fehmer) (monkeytypegame#6186)
Errors are still shown in blind mode when using the dark note theme. Fixes monkeytypegame#6185
1 parent c351489 commit a0b1269

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

frontend/static/themes/dark_note.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,17 @@ body::before {
7272
text-shadow: none;
7373
}
7474

75-
#words.colorfulMode .word letter.incorrect:not(.extra),
76-
#words .word letter.incorrect:not(.extra) {
75+
#words:not(.blind).colorfulMode .word letter.incorrect:not(.extra),
76+
#words:not(.blind) .word letter.incorrect:not(.extra) {
7777
color: var(--current-color);
7878
}
7979

80-
#words .word.error letter:not(.correct):not(.incorrect)::after {
80+
#words:not(.blind) .word.error letter:not(.correct):not(.incorrect)::after {
8181
background: var(--sub-color);
8282
}
8383

84-
#words .word letter.incorrect,
85-
#words.colorfulMode .word letter.incorrect {
84+
#words:not(.blind) .word letter.incorrect,
85+
#words:not(.blind).colorfulMode .word letter.incorrect {
8686
text-decoration: line-through;
8787
text-decoration-color: var(--error-color);
8888
text-decoration-thickness: 2px;
@@ -128,7 +128,7 @@ body::before {
128128
background: var(--c-dot);
129129
}
130130

131-
#wordsWrapper .word letter.incorrect::after {
131+
#wordsWrapper #words:not(.blind) .word letter.incorrect::after {
132132
background: var(--c-dot--error);
133133
}
134134

0 commit comments

Comments
 (0)