From d0de3bf1b2a8049749c0b5066bd4e9bc855105a0 Mon Sep 17 00:00:00 2001 From: Adam Twardoch Date: Sat, 1 Aug 2020 19:24:15 +0200 Subject: [PATCH] Use more appropriate symbols for some keys (#1836) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update _keys.scss * Update _keys.scss Change to the keys "arrow-down": "\2193", // ↓ "arrow-left": "\2190", // ← "arrow-right": "\2192", // → "arrow-up": "\2191", // ↑ "tab": "\21E5", // ⇥ also makes a few other lowercase hex numerals uppercase for consistency * Revert "Update _keys.scss" This reverts commit 55ceceb3c479b0dd71e62273e223473bfb841d17. * Revert "Update _keys.scss" This reverts commit 9b6361c0d77621b2ed218250fb7dfc260ee27770. * Update _keys.scss Changed key visualization for ``` "arrow-down": "\2193", // ↓ "arrow-left": "\2190", // ← "arrow-right": "\2192", // → "arrow-up": "\2191", // ↑ "tab": "\21E5", // ⇥ ``` and fixed a few lowercase hex to be uppercase for consistency. --- .../main/extensions/pymdownx/_keys.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/assets/stylesheets/main/extensions/pymdownx/_keys.scss b/src/assets/stylesheets/main/extensions/pymdownx/_keys.scss index e636523eb..c5a0be218 100644 --- a/src/assets/stylesheets/main/extensions/pymdownx/_keys.scss +++ b/src/assets/stylesheets/main/extensions/pymdownx/_keys.scss @@ -73,10 +73,10 @@ "right-windows": "\229E", // Other keys - "arrow-down": "\25bd", - "arrow-left": "\25c1", - "arrow-right": "\25b7", - "arrow-up": "\25b3", + "arrow-down": "\2193", + "arrow-left": "\2190", + "arrow-right": "\2192", + "arrow-up": "\2191", "backspace": "\232B", "backtab": "\21E4", "caps-lock": "\21EA", @@ -85,11 +85,11 @@ "delete": "\2326", "eject": "\23CF", "end": "\2913", - "escape": "\238b", + "escape": "\238B", "home": "\2912", "insert": "\2380", - "page-down": "\21df", - "page-up": "\21de", + "page-down": "\21DF", + "page-up": "\21DE", "print-screen": "\2399" ) { .key-#{$name} { @@ -102,7 +102,7 @@ // Build special keys with right icon @each $name, $code in ( - "tab": "\21B9", + "tab": "\21E5", "num-enter": "\2324", "enter": "\23CE" ) {