diff --git a/CHANGELOG.md b/CHANGELOG.md index d4982765e..28d7a86df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ - Added support for additional commands from the `mathtools` , `actuarialangle`, `colonequals`, `statmath` and `amsopn` packages - Added support for `longdiv` enclosure (`\mathenclose{longdiv}{...}`) +- **#2109** In the virtual keyboard, some placeholders could be hard to see when + a keycap was in a pressed state. ## 0.95.5 (2023-08-18) diff --git a/css/virtual-keyboard.less b/css/virtual-keyboard.less index 4d1b97b76..92cb46735 100644 --- a/css/virtual-keyboard.less +++ b/css/virtual-keyboard.less @@ -136,6 +136,7 @@ --_keycap-shift-color: var(--keycap-shift-color, var(--_accent-color)); --_box-placeholder-color: var(--box-placeholder-color, var(--_accent-color)); + --_box-placeholder-pressed-color: var(--box-placeholder-pressed-color, var(--keycap-text-pressed)); } .is-math-mode .MLK__rows .if-text-mode, @@ -573,6 +574,7 @@ body > .ML__keyboard.is-visible.animate > .MLK__backdrop { // box-shadow: inset 0 0 1px 1px #8d8f92; background: var(--_keycap-background-pressed); color: var(--_keycap-text-pressed); + --_box-placeholder-color: var(--_box-placeholder-pressed-color); } &.MLK__keycap.is-active, &.action.is-active,