Skip to content

Commit

Permalink
fix: fixed #2109
Browse files Browse the repository at this point in the history
  • Loading branch information
arnog committed Aug 25, 2023
1 parent 1e2d68d commit ad7b155
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 2 additions & 0 deletions css/virtual-keyboard.less
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ad7b155

Please sign in to comment.