keymap-drawer render

This commit is contained in:
babariviere 2024-04-24 15:34:19 +00:00 committed by github-actions[bot]
parent 778da8403e
commit 8b5d83ec7a
2 changed files with 20 additions and 20 deletions

View file

@ -1,4 +1,4 @@
<svg width="732" height="2489" viewBox="0 0 732 2489" class="keymap" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="732" height="2450" viewBox="0 0 732 2450" class="keymap" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>/* start glyphs */
<svg id="mdi:apple-keyboard-command">
<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple-keyboard-command" viewBox="0 0 24 24"><path d="M6,2A4,4 0 0,1 10,6V8H14V6A4,4 0 0,1 18,2A4,4 0 0,1 22,6A4,4 0 0,1 18,10H16V14H18A4,4 0 0,1 22,18A4,4 0 0,1 18,22A4,4 0 0,1 14,18V16H10V18A4,4 0 0,1 6,22A4,4 0 0,1 2,18A4,4 0 0,1 6,14H8V10H6A4,4 0 0,1 2,6A4,4 0 0,1 6,2M16,18A2,2 0 0,0 18,20A2,2 0 0,0 20,18A2,2 0 0,0 18,16H16V18M14,10H10V14H14V10M6,16A2,2 0 0,0 4,18A2,2 0 0,0 6,20A2,2 0 0,0 8,18V16H6M8,6A2,2 0 0,0 6,4A2,2 0 0,0 4,6A2,2 0 0,0 6,8H8V6M18,8A2,2 0 0,0 20,6A2,2 0 0,0 18,4A2,2 0 0,0 16,6V8H18Z" /></svg>
@ -253,7 +253,7 @@ rect.held, rect.combo.held {
</style>
<g transform="translate(30, 0)" class="layer-base">
<text x="0" y="28" class="label">base:</text>
<g transform="translate(0, 137)">
<g transform="translate(0, 98)">
<g transform="translate(28, 80)" class="key keypos-0">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key"/>
@ -471,18 +471,18 @@ rect.held, rect.combo.held {
<use href="#mdi:circle-small" xlink:href="#mdi:circle-small" x="612" y="122" height="8" width="8.0" class="combo hold glyph mdi:circle-small"/>
</g>
<g class="combo combopos-10">
<path d="M112,-68 h22 a6.0,6.0 0 0 1 6.0,6.0 v72" class="combo"/>
<path d="M112,-68 h-22 a6.0,6.0 0 0 0 -6.0,6.0 v145" class="combo"/>
<rect rx="6" ry="6" x="98" y="-81" width="28" height="26" class="combo"/>
<use href="#mdi:apple-keyboard-option" xlink:href="#mdi:apple-keyboard-option" x="105" y="-75" height="14" width="14.0" class="combo tap glyph mdi:apple-keyboard-option"/>
<use href="#mdi:circle-small" xlink:href="#mdi:circle-small" x="108" y="-65" height="8" width="8.0" class="combo hold glyph mdi:circle-small"/>
<path d="M112,-29 h22 a6.0,6.0 0 0 1 6.0,6.0 v32" class="combo"/>
<path d="M112,-29 h-22 a6.0,6.0 0 0 0 -6.0,6.0 v106" class="combo"/>
<rect rx="6" ry="6" x="98" y="-42" width="28" height="26" class="combo"/>
<use href="#mdi:apple-keyboard-option" xlink:href="#mdi:apple-keyboard-option" x="105" y="-36" height="14" width="14.0" class="combo tap glyph mdi:apple-keyboard-option"/>
<use href="#mdi:circle-small" xlink:href="#mdi:circle-small" x="108" y="-26" height="8" width="8.0" class="combo hold glyph mdi:circle-small"/>
</g>
<g class="combo combopos-11">
<path d="M560,-68 h-22 a6.0,6.0 0 0 0 -6.0,6.0 v72" class="combo"/>
<path d="M560,-68 h22 a6.0,6.0 0 0 1 6.0,6.0 v145" class="combo"/>
<rect rx="6" ry="6" x="546" y="-81" width="28" height="26" class="combo"/>
<use href="#mdi:apple-keyboard-option" xlink:href="#mdi:apple-keyboard-option" x="553" y="-75" height="14" width="14.0" class="combo tap glyph mdi:apple-keyboard-option"/>
<use href="#mdi:circle-small" xlink:href="#mdi:circle-small" x="556" y="-65" height="8" width="8.0" class="combo hold glyph mdi:circle-small"/>
<path d="M560,-29 h-22 a6.0,6.0 0 0 0 -6.0,6.0 v32" class="combo"/>
<path d="M560,-29 h22 a6.0,6.0 0 0 1 6.0,6.0 v106" class="combo"/>
<rect rx="6" ry="6" x="546" y="-42" width="28" height="26" class="combo"/>
<use href="#mdi:apple-keyboard-option" xlink:href="#mdi:apple-keyboard-option" x="553" y="-36" height="14" width="14.0" class="combo tap glyph mdi:apple-keyboard-option"/>
<use href="#mdi:circle-small" xlink:href="#mdi:circle-small" x="556" y="-26" height="8" width="8.0" class="combo hold glyph mdi:circle-small"/>
</g>
<g class="combo combopos-12">
<rect rx="6" ry="6" x="182" y="59" width="28" height="26" class="combo"/>
@ -502,7 +502,7 @@ rect.held, rect.combo.held {
</g>
</g>
</g>
<g transform="translate(30, 417)" class="layer-sym">
<g transform="translate(30, 378)" class="layer-sym">
<text x="0" y="28" class="label">sym:</text>
<g transform="translate(0, 56)">
<g transform="translate(28, 80)" class="key keypos-0">
@ -670,7 +670,7 @@ rect.held, rect.combo.held {
</g>
</g>
</g>
<g transform="translate(30, 753)" class="layer-nav">
<g transform="translate(30, 714)" class="layer-nav">
<text x="0" y="28" class="label">nav:</text>
<g transform="translate(0, 56)">
<g transform="translate(28, 80)" class="key keypos-0">
@ -845,7 +845,7 @@ rect.held, rect.combo.held {
</g>
</g>
</g>
<g transform="translate(30, 1089)" class="layer-winnav">
<g transform="translate(30, 1050)" class="layer-winnav">
<text x="0" y="28" class="label">winnav:</text>
<g transform="translate(0, 56)">
<g transform="translate(28, 80)" class="key keypos-0">
@ -1045,7 +1045,7 @@ rect.held, rect.combo.held {
</g>
</g>
</g>
<g transform="translate(30, 1425)" class="layer-num">
<g transform="translate(30, 1386)" class="layer-num">
<text x="0" y="28" class="label">num:</text>
<g transform="translate(0, 56)">
<g transform="translate(28, 80)" class="key trans keypos-0">
@ -1223,7 +1223,7 @@ rect.held, rect.combo.held {
</g>
</g>
</g>
<g transform="translate(30, 1761)" class="layer-fun">
<g transform="translate(30, 1722)" class="layer-fun">
<text x="0" y="28" class="label">fun:</text>
<g transform="translate(0, 56)">
<g transform="translate(28, 80)" class="key keypos-0">
@ -1386,7 +1386,7 @@ rect.held, rect.combo.held {
</g>
</g>
</g>
<g transform="translate(30, 2097)" class="layer-mods">
<g transform="translate(30, 2058)" class="layer-mods">
<text x="0" y="28" class="label">mods:</text>
<g transform="translate(0, 56)">
<g transform="translate(28, 80)" class="key trans keypos-0">

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

View file

@ -280,12 +280,12 @@ combos:
k: {t: '$$mdi:apple-keyboard-option$$', h: '$$mdi:circle-small$$'}
l: [base]
a: top
o: 1.2
o: 0.5
- p: [7, 18]
k: {t: '$$mdi:apple-keyboard-option$$', h: '$$mdi:circle-small$$'}
l: [base]
a: top
o: 1.2
o: 0.5
- p: [3, 13]
k: '-'
l: [base]