mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-13 02:44:39 +08:00
fix(theme): fix dark note theme converting typed words to dots multiple times (@fehmer) (#7198)
This commit is contained in:
parent
8cce5bfc7e
commit
b92121f180
1 changed files with 5 additions and 5 deletions
|
|
@ -101,10 +101,10 @@ body::before {
|
|||
--c-dot--error: var(--colorful-error-color);
|
||||
}
|
||||
|
||||
#words .word:has(~ .active) letter {
|
||||
#words .typed letter {
|
||||
animation: toDust 200ms ease-out 0ms 1 forwards !important;
|
||||
}
|
||||
#words .word:has(~ .active) letter::after {
|
||||
#words .typed letter::after {
|
||||
animation: fadeIn 100ms ease-in 100ms 1 forwards;
|
||||
}
|
||||
|
||||
|
|
@ -124,7 +124,7 @@ body::before {
|
|||
opacity: 0;
|
||||
}
|
||||
|
||||
#wordsWrapper .word:has(~ .active) letter::after {
|
||||
#wordsWrapper .typed letter::after {
|
||||
background: var(--c-dot);
|
||||
}
|
||||
|
||||
|
|
@ -143,12 +143,12 @@ hint {
|
|||
}
|
||||
|
||||
@media (prefers-reduced-motion) {
|
||||
#words .word:has(~ .active) letter {
|
||||
#words .typed letter {
|
||||
animation: none !important;
|
||||
transform: scale(0.4);
|
||||
color: transparent;
|
||||
}
|
||||
#words .word:has(~ .active) letter::after {
|
||||
#words .typed letter::after {
|
||||
animation: none !important;
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue