From b15a5642981df746e5f8bf407414543b7a5e26b4 Mon Sep 17 00:00:00 2001 From: Ramazan Maksyutov Date: Sat, 14 Mar 2026 23:41:55 +0500 Subject: [PATCH 1/2] feat: create robot-hare art --- src/_data/arts.json | 4 ++ src/arts/robot-hare.ejs | 90 ++++++++++++++++++++++++++++++++++ src/assets/script/art-panel.js | 2 +- src/assets/style/style.scss | 3 +- 4 files changed, 97 insertions(+), 2 deletions(-) create mode 100644 src/arts/robot-hare.ejs diff --git a/src/_data/arts.json b/src/_data/arts.json index 83a4415..475f78f 100644 --- a/src/_data/arts.json +++ b/src/_data/arts.json @@ -18,5 +18,9 @@ { "artId":"clown-emoji", "bgColor":"Bgc-$artClownEmoji" + }, + { + "artId":"robot-hare", + "bgColor":"Bgc-$artRobotHare" } ] \ No newline at end of file diff --git a/src/arts/robot-hare.ejs b/src/arts/robot-hare.ejs new file mode 100644 index 0000000..ea94d02 --- /dev/null +++ b/src/arts/robot-hare.ejs @@ -0,0 +1,90 @@ +<% +const css = { + ear: "H50p W22p Bgc-$robotHareYellowA Ps-a T-55p Bdrd7u Ct_af,b D_af,b Ps-a_af,b W2p_af,b Bd1;s;$robotHareYellowA_af,b T92p_af,b", + innerEar: "H70p W12p Ps-a B0 L44p Bgc-$robotHareRedA Ct_af,b D_af,b Ps-a_af,b W200p_af H70p_af Bgc-$robotHareRedA_af T15p_af L-50p_af Bdrd3u_af W400p_b H10p_b Bgc-$robotHareRedA_b T-10p_b L-150p_b", + eye: "W32p H48p Ps-a B40p Ol1;s;$robotHareBlackA -Gdrd-el;at;c,$robotHareBlackA;13p,$robotHareRedA;13p,$robotHareRedA;55p,$robotHareBlackA;55p,$robotHareBlackA;72p,$robotHareGrayA;72p", + eyebrows: "W20p H8p Bgc-$robotHareBlackA Ps-a T10p Tf", + tooth: "W15p H115p Bgc-$robotHareWhiteA Bd1;s;$robotHareBlackA", + armWrapper: "-Sz100p Ps-a T0 L0", + shoulder: "W65p H25p Ps-a R-65p T7p Bgc-$robotHareGrayC Bd1;s;$robotHareBlackA Bdtrr5u", + forearm: "H70p W26p Ps-a R-70p T7p -Gdl-180d,$robotHareGrayC;40p,$robotHareGrayA;40p,$robotHareGrayA;90p Bdtrr5u", + bracelet: "W50p H8p Ps-a T100p L25p Bgc-$robotHareGrayC", + sleeve: "W48p H26p Ps-a R-48p T6p -Gdl100d,$robotHareGrayA;86p,tp;86p", + secondSleeve: "W40p H32p Ps-a R-40p T5p Bdl1;s;$robotHareBlackA -Gdl100d,$robotHareGreenA;86p,tp;86p", + hand: "W35p H15p Ps-a R-75p T82p Bgc-$robotHareGrayA Ct_af,b D_af,b W15p_af,b H30p_af,b Ps-a_af,b Bgc-$robotHareGrayC_af,b T70p_af,b L20p_af R20p_b", + leg: "W35p Apcr1 Bgc-$robotHareGrayA Ps-a T100p Bd1;s;$robotHareBlackA" +} +%> +
+
+ +
+ +
+ +
+
+
+
+
+
+ +
+
+ +
+
+
+ +
+
+
+ +
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/assets/script/art-panel.js b/src/assets/script/art-panel.js index fa7a158..c814a45 100644 --- a/src/assets/script/art-panel.js +++ b/src/assets/script/art-panel.js @@ -1,4 +1,4 @@ -const hightlightCss = ["Bd1;s;$brand", "Bxsd1;1;10;2;$brand", "Zi40"] +const hightlightCss = ["Bd1;s;$brand", "Bxsd1;1;10;2;$brand", "Zi19"] export class ArtPanel extends HTMLElement { constructor() { diff --git a/src/assets/style/style.scss b/src/assets/style/style.scss index 0317d62..84524c0 100644 --- a/src/assets/style/style.scss +++ b/src/assets/style/style.scss @@ -97,6 +97,7 @@ html{ --ml-artFlushedEmoji:#000942; --ml-artExplodingHead:#003b2a; --ml-artClownEmoji: #065054; + --ml-artRobotHare: #6f592b; } } @@ -154,7 +155,7 @@ html{ --ml-artFlushedEmoji:#bfc5ff; --ml-artExplodingHead:#9cffe5; --ml-artClownEmoji: #10bac3; - + --ml-artRobotHare: #947e4f; } } From f0a1e56c3db7829d220578af2be506b80e0af6b7 Mon Sep 17 00:00:00 2001 From: Ramazan Maksyutov Date: Sun, 15 Mar 2026 15:05:57 +0500 Subject: [PATCH 2/2] refactor: change the hands of the robot hare --- src/arts/robot-hare.ejs | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/arts/robot-hare.ejs b/src/arts/robot-hare.ejs index ea94d02..21212c9 100644 --- a/src/arts/robot-hare.ejs +++ b/src/arts/robot-hare.ejs @@ -11,7 +11,9 @@ const css = { bracelet: "W50p H8p Ps-a T100p L25p Bgc-$robotHareGrayC", sleeve: "W48p H26p Ps-a R-48p T6p -Gdl100d,$robotHareGrayA;86p,tp;86p", secondSleeve: "W40p H32p Ps-a R-40p T5p Bdl1;s;$robotHareBlackA -Gdl100d,$robotHareGreenA;86p,tp;86p", - hand: "W35p H15p Ps-a R-75p T82p Bgc-$robotHareGrayA Ct_af,b D_af,b W15p_af,b H30p_af,b Ps-a_af,b Bgc-$robotHareGrayC_af,b T70p_af,b L20p_af R20p_b", + hand: "W35p H15p Ps-a R-75p T82p -Gdl180d,$robotHareGrayA;70%,tp;70% D-f Jc-c Ai-fs", + finger: "W26p H115p Bgc-$robotHareGrayA Bdblr5u Bdbrr5u", + fingerInterval: "W11p H70p Bgc-$robotHareGrayA", leg: "W35p Apcr1 Bgc-$robotHareGrayA Ps-a T100p Bd1;s;$robotHareBlackA" } %> @@ -67,6 +69,11 @@ const css = {
+
+
+
+
+
@@ -77,7 +84,13 @@ const css = {
-
+
+
+
+
+
+
+