Skip to content

Commit

Permalink
fix(theme): dark note not replacing words with dots in some highlight…
Browse files Browse the repository at this point in the history
… modes (fehmer) (#4951)
  • Loading branch information
fehmer authored Jan 22, 2024
1 parent 8ce99c9 commit 56ab68a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions frontend/static/themes/dark_note.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,11 @@ body::before {
--c-dot--error: var(--colorful-error-color);
}

#wordsWrapper .word:not(.active) letter.correct,
#wordsWrapper .word:not(.active) letter.incorrect {
#wordsWrapper .word:has(~ .active) letter {
animation: toDust 200ms ease-out 0ms 1 forwards;
}

#wordsWrapper .word:not(.active) letter.correct::after,
#wordsWrapper .word:not(.active) letter.incorrect::after {
#wordsWrapper .word:has(~ .active) letter::after {
animation: fadeIn 100ms ease-in 100ms 1 forwards;
}

Expand All @@ -123,7 +121,7 @@ body::before {
opacity: 0;
}

#wordsWrapper .word letter.correct::after {
#wordsWrapper .word:has(~ .active) letter::after {
background: var(--c-dot);
}

Expand Down

0 comments on commit 56ab68a

Please sign in to comment.