From 0e9f39106f79d353be2465a6e633a3d9cce4d494 Mon Sep 17 00:00:00 2001 From: Fabien Cazenave Date: Thu, 28 Dec 2023 01:02:49 +0100 Subject: [PATCH] use an SVG screenshot (#27) --- README.md | 2 +- keyboard.svg | 1001 ++++++++++++++++++++++++++++++++++++++++++++++++ screenshot.png | Bin 17113 -> 0 bytes src/content.js | 13 +- 4 files changed, 1008 insertions(+), 8 deletions(-) create mode 100644 keyboard.svg delete mode 100644 screenshot.png diff --git a/README.md b/README.md index ff67529..2574d0f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ A zero-dependency web component to display and emulate keyboard layouts. -![screenshot](screenshot.png) +![screenshot](keyboard.svg) [Online demo here.](https://fabi1cazenave.github.io/x-keyboard/) diff --git a/keyboard.svg b/keyboard.svg new file mode 100644 index 0000000..4b25798 --- /dev/null +++ b/keyboard.svg @@ -0,0 +1,1001 @@ + + + + + + + + + + + + + + + 半角 + 全角 + 漢字 + + ` + ~ + + + + + + + + + + 1 + ! + + + + + + + + + + 2 + @ + + + + + + + + + + 3 + # + + + + + + + + + + 4 + + + + + + + + + + + 5 + % + + + + + + + + + + + + 6 + ^ + + + + + + + + + + 7 + & + + + + + + + + + + 8 + * + + + + + + + + + + 9 + « + + + + + + + + + + 0 + » + + + + + + + + + + - + _ + + + + + + + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Q + @ + + + + + + + + + + W + < + + + + + + + + + + E + > + + + + + + + + + + R + $ + + + + + + + + + + T + % + + + + + + + + + + + + Y + ^ + ̂ + + + + + + + + + U + & + µ + + + + + + + + + I + * + × + + + + + + + + + O + ' + ́ + + + + + + + + + P + ` + ̀ + + + + + + + + [ + { + + + + + + + + + + + ] + } + + + + + + + + + + + \ + | + + + + + + + + + + + + + + + 英数 + + + + + + A + { + + + + + + + + + + S + ( + + + + + + + + + + D + ) + + + + + + + + + + F + } + + + + + + + + + + G + = + + + + + + + + + + + + H + \ + + + + + + + + + + J + + + ± + + + + + + + + + K + - + ¬ + + + + + + + + + L + / + ÷ + + + + + + + + + + " + ̈ + + + + + + + + ' + " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + < + > + + + + + + + + + + + Z + ~ + ̃ + + + + + + + + + X + [ + + + + + + + + + + C + ] + + + + + + + + + + V + _ + + + + + + + + + + B + # + + + + + + + + + + + + N + | + ¦ + + + + + + + + + M + ! + + + + + + + + + , + ; + ; + ̧ + + + + + + + + . + : + : + + + + + + + + + / + ? + ? + + + + + + + + + + + + + + + + + + + + + + + + + + + Ctrl + + + + + + Win + Super + + + + + + Alt + + + + + 한자 + + + + 無変換 + + + + + + + + + + + + + 変換 + + + + カタカナ + ひらがな + ローマ字 + + + + 한/영 + + + + + Alt + + + + + + Win + Super + + + + + + + + + + + + Ctrl + + + + + diff --git a/screenshot.png b/screenshot.png deleted file mode 100644 index 0416a6a4e64a1206136244f429bcc93598870a89..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17113 zcmdVCXEROb2ojy>H6wZ_7(oycMwuac z9eps!v!&e0{r~@--|@c3@qT%~IJP~zTx;#Mu63U0b?*H_Q(c*Yl$jI<2Z!SB9R+P1 zoO3W>dx4k`_JAPLC(d03@O{tJ^|Y2J6OTB$P~VpYB;={xsV|Hu>PXYc6S)z2 zY~82o)ZAPUGM1#5Z=(woW-==vts!9LoS{F0iJ_izewH}7Us{DPmC*NYeq*{%(rrM<0L<>P}b^RfUmJ|f`z3FA71<-vmo zwav}V(Al+=)zv44Mn+jvjmz|^@>A)8=$K*oPtWw*xLH~IK;Mr^UfVJ25&Tx zcdwk2{*oZskBE93r3d88MCvZ%F4@KyuBqcZvXSN z;zqBV`!lP@$H(dcC=%FRYeaOM`|oT1Xyw~}(8gfW*N=v=>w5Qije=W<@;&ZMJoDms z`5;)Ff9V_!VZox^ssFf>+IT2f zclqLY{HkB{lXa9CQIt0ug%jsDiC!xt&5`2;uU;lhgKdtc5Dj{>M%`N#Sul(qP6Iut$? zX3?T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(zSQmbNgEKdXlpf^YC^JosK>1lJ#~U60NfNypHNp>(;AeSRT4${L$T9Tz^yG#R9U+pnukq*g$WPC~gb^z}xreb_oqxg2}D%&6l*K*h_GITxt ze*J(O;N(es96RM5gxTDPF)xT`Y*|cVz3p)Ne0{4aW-Ptg6Iu~7M*QQ9lXYW5TbTh% zzi4~!a4;l^g8lf#w-@a>i)h-Dg%!y9X>d|Zj9H6kSPC>u6ZlZT^Rw>)P-W;f?QT*E zubE5v?_J%mb{KY)yK^*C3pHtYaKC84ZJF;Z%wmX1t?<^t64LS+L3V2~LuWqy%Eo$2)r8*`uCRLa z*4!5#-=n$g{WY5CjFyb|){Qm?@k!{d<>3s^y}4UkF(yFuxJQT;vtf&AdeyaK__UHr z$Pnt`chDyRy9*EpBE+<{=gzLD6`Ksf-je3%D9dPP{!PHx0m#$W*uQTvbL1`DF-mPx z9P$s&$x*JzXlcvGOXF7}zAFn{)CqI)s(L3if-z>q*T-sQi0tP6{)fsYs{H?FIqwm( zMN7bU_J+x3z_seT45Yu|2gTzjfF4(u0nF($tMJc+`7}qN0r*tFqSw-%_dBwUV&F>v zr$?*hbwGCPM)M*Ze=N*5Fm7^pyn&Aiw99@!zK+@Xxz0q}V@}8Yeme%VUw;Gc`0M)v zKh^|bnfdaC9;k?;Kc0`%_CGla0alz0*?>KZvI%a{`Na3ow9MwIRn0JC8kh7R6N*UpZMI;yYeGRhZzDbZ9#N>KiI-M zb0{w_+w!dd#sOe;?*1Ir53#PCk_|WwMq}S$VGm2f_yOMl^2PkmQ%!our5S&^0*EE> f|M3TG2P}ExT^58LTme2=fpb?;U7<|QH1PibdO31L diff --git a/src/content.js b/src/content.js index f623498..2984c32 100644 --- a/src/content.js +++ b/src/content.js @@ -78,7 +78,6 @@ const text = (content, cname = '', attributes) => sgml('text', { height: 0.50, x: 0.34, y: 0.78, - 'text-anchor': 'middle', ...attributes, }, [content]); @@ -95,7 +94,7 @@ const gKey = (className, finger, x, id, children = emptyKey) => sgml('g', { */ const keyLevel = (level, label, position) => { - const attrs = { 'text-anchor': 'middle', ...position }; + const attrs = { ...position }; const symbol = dkSymbols[label] || ''; const content = symbol || (label || '').slice(-1); let className = ''; @@ -382,10 +381,10 @@ const baseRow = g('left', [ export const svgContent = ` - ${numberRow} - ${letterRow1} - ${letterRow2} - ${letterRow3} - ${baseRow} + ${numberRow} + ${letterRow1} + ${letterRow2} + ${letterRow3} + ${baseRow} `;