From f8b10635973d8adcbdbf3f4edcbdc2b46989de8d Mon Sep 17 00:00:00 2001 From: nguyenhaiac <12053277+nguyenhaiac@users.noreply.github.com> Date: Wed, 26 Feb 2025 07:38:18 +0000 Subject: [PATCH] keymap-drawer render --- keymap-drawer/sofle.svg | 20 ++++++++++++++------ keymap-drawer/sofle.yaml | 2 +- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/keymap-drawer/sofle.svg b/keymap-drawer/sofle.svg index 7a4d2d4..b6b026d 100644 --- a/keymap-drawer/sofle.svg +++ b/keymap-drawer/sofle.svg @@ -67,8 +67,8 @@ text.footer { paint-order: stroke; } -/* styling for combo tap, and key hold/shifted label text */ -text.combo, text.hold, text.shifted { +/* styling for combo tap, and key non-tap label text */ +text.combo, text.hold, text.shifted, text.left, text.right { font-size: 11px; } @@ -82,12 +82,20 @@ text.shifted { dominant-baseline: hanging; } +text.left { + text-anchor: start; +} + +text.right { + text-anchor: end; +} + text.layer-activator { text-decoration: underline; } /* styling for hold/shifted label text in combo box */ -text.combo.hold, text.combo.shifted { +text.combo.hold, text.combo.shifted, text.combo.left, text.combo.right { font-size: 8px; } @@ -365,9 +373,9 @@ path.combo { lower: - - - + + +&studio_un… diff --git a/keymap-drawer/sofle.yaml b/keymap-drawer/sofle.yaml index 3c213eb..ffab9bf 100644 --- a/keymap-drawer/sofle.yaml +++ b/keymap-drawer/sofle.yaml @@ -3,7 +3,7 @@ layers: default: ['`', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', DELETE, ESC, Q, W, E, R, T, Y, U, I, O, P, BSPC, TAB, A, S, D, F, G, H, J, K, L, ;, '''', LSHFT, Z, X, C, V, B, MUTE, '', N, M, ',', ., /, RSHFT, LGUI, LALT, LCTRL, lower, RET, SPACE, raise, RCTRL, RALT, RGUI] lower: - - {t: ▽, type: trans} + - '&studio_unlock' - F1 - F2 - F3