From 845c620ba6d79bb4fe0a0d009c03f8bf16387d00 Mon Sep 17 00:00:00 2001 From: chrislardner Date: Thu, 5 Mar 2026 16:30:26 -0600 Subject: [PATCH 1/3] Add new hair variants and santa hat --- src/display.ts | 5 ++- svgs/accessories/santa-hat.svg | 55 ++++++++++++++++++++++++++++ svgs/hair/afro3.svg | 63 ++++++++++++++++++++++++++++++++ svgs/hair/blowoutFade2.svg | 66 ++++++++++++++++++++++++++++++++++ svgs/hair/curly4.svg | 63 ++++++++++++++++++++++++++++++++ svgs/hair/short-fade-2.svg | 63 ++++++++++++++++++++++++++++++++ tools/lib/genders.js | 5 +++ 7 files changed, 319 insertions(+), 1 deletion(-) create mode 100644 svgs/accessories/santa-hat.svg create mode 100644 svgs/hair/afro3.svg create mode 100644 svgs/hair/blowoutFade2.svg create mode 100644 svgs/hair/curly4.svg create mode 100644 svgs/hair/short-fade-2.svg diff --git a/src/display.ts b/src/display.ts index 6dd95640..70c6c2a8 100644 --- a/src/display.ts +++ b/src/display.ts @@ -111,16 +111,18 @@ const drawFeature = ( return; } if ( - ["hat", "hat2", "hat3"].includes(face.accessories.id) && + ["hat", "hat2", "hat3", "santa-hat"].includes(face.accessories.id) && info.name == "hair" ) { if ( [ "afro", "afro2", + "afro3", "curly", "curly2", "curly3", + "curly4", "faux-hawk", "hair", "high", @@ -142,6 +144,7 @@ const drawFeature = ( } else if ( [ "blowoutFade", + "blowoutFade2", "curlyFade1", "curlyFade2", "dreads", diff --git a/svgs/accessories/santa-hat.svg b/svgs/accessories/santa-hat.svg new file mode 100644 index 00000000..e7b11e1d --- /dev/null +++ b/svgs/accessories/santa-hat.svg @@ -0,0 +1,55 @@ + +hat diff --git a/svgs/hair/afro3.svg b/svgs/hair/afro3.svg new file mode 100644 index 00000000..a15f1054 --- /dev/null +++ b/svgs/hair/afro3.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + diff --git a/svgs/hair/blowoutFade2.svg b/svgs/hair/blowoutFade2.svg new file mode 100644 index 00000000..c6a0c214 --- /dev/null +++ b/svgs/hair/blowoutFade2.svg @@ -0,0 +1,66 @@ + + + + + + + + + + + + + diff --git a/svgs/hair/curly4.svg b/svgs/hair/curly4.svg new file mode 100644 index 00000000..a56e9adf --- /dev/null +++ b/svgs/hair/curly4.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + diff --git a/svgs/hair/short-fade-2.svg b/svgs/hair/short-fade-2.svg new file mode 100644 index 00000000..3b8ab596 --- /dev/null +++ b/svgs/hair/short-fade-2.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + diff --git a/tools/lib/genders.js b/tools/lib/genders.js index a3550c24..87e81448 100644 --- a/tools/lib/genders.js +++ b/tools/lib/genders.js @@ -7,6 +7,7 @@ export const genders = { "headband-high": "both", headband: "both", none: "both", + "santa-hat": "both", }, body: { body: "both", @@ -195,8 +196,10 @@ export const genders = { hair: { afro: "male", afro2: "both", + afro3: "both", bald: "male", blowoutFade: "male", + blowoutFade2: "male", cornrows: "both", "crop-fade": "male", "crop-fade2": "male", @@ -204,6 +207,7 @@ export const genders = { curly: "both", curly2: "both", curly3: "both", + curly4: "both", curlyFade1: "male", curlyFade2: "male", dreads: "male", @@ -234,6 +238,7 @@ export const genders = { shaggy2: "both", "short-bald": "male", "short-fade": "male", + "short-fade-2": "male", short: "male", short2: "male", short3: "both", From 522524282325307523f8845cf1603e4d51fde2d1 Mon Sep 17 00:00:00 2001 From: chrislardner Date: Thu, 5 Mar 2026 18:54:50 -0600 Subject: [PATCH 2/3] better hat, better svg formats --- src/display.ts | 3 -- svgs/accessories/santa-hat.svg | 64 ++++------------------------ svgs/hair/afro3.svg | 63 ---------------------------- svgs/hair/blowoutFade2.svg | 66 ----------------------------- svgs/hair/curly4.svg | 63 ---------------------------- svgs/hair/short-fade-2.svg | 77 +++++++--------------------------- tools/lib/genders.js | 3 -- 7 files changed, 23 insertions(+), 316 deletions(-) delete mode 100644 svgs/hair/afro3.svg delete mode 100644 svgs/hair/blowoutFade2.svg delete mode 100644 svgs/hair/curly4.svg diff --git a/src/display.ts b/src/display.ts index 70c6c2a8..037a83c6 100644 --- a/src/display.ts +++ b/src/display.ts @@ -118,11 +118,9 @@ const drawFeature = ( [ "afro", "afro2", - "afro3", "curly", "curly2", "curly3", - "curly4", "faux-hawk", "hair", "high", @@ -144,7 +142,6 @@ const drawFeature = ( } else if ( [ "blowoutFade", - "blowoutFade2", "curlyFade1", "curlyFade2", "dreads", diff --git a/svgs/accessories/santa-hat.svg b/svgs/accessories/santa-hat.svg index e7b11e1d..e58c7b3f 100644 --- a/svgs/accessories/santa-hat.svg +++ b/svgs/accessories/santa-hat.svg @@ -1,55 +1,9 @@ - -hat + + santa-hat + + + + + + + \ No newline at end of file diff --git a/svgs/hair/afro3.svg b/svgs/hair/afro3.svg deleted file mode 100644 index a15f1054..00000000 --- a/svgs/hair/afro3.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - diff --git a/svgs/hair/blowoutFade2.svg b/svgs/hair/blowoutFade2.svg deleted file mode 100644 index c6a0c214..00000000 --- a/svgs/hair/blowoutFade2.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - diff --git a/svgs/hair/curly4.svg b/svgs/hair/curly4.svg deleted file mode 100644 index a56e9adf..00000000 --- a/svgs/hair/curly4.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - diff --git a/svgs/hair/short-fade-2.svg b/svgs/hair/short-fade-2.svg index 3b8ab596..09206439 100644 --- a/svgs/hair/short-fade-2.svg +++ b/svgs/hair/short-fade-2.svg @@ -1,63 +1,14 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/lib/genders.js b/tools/lib/genders.js index 87e81448..f0ac462e 100644 --- a/tools/lib/genders.js +++ b/tools/lib/genders.js @@ -196,10 +196,8 @@ export const genders = { hair: { afro: "male", afro2: "both", - afro3: "both", bald: "male", blowoutFade: "male", - blowoutFade2: "male", cornrows: "both", "crop-fade": "male", "crop-fade2": "male", @@ -207,7 +205,6 @@ export const genders = { curly: "both", curly2: "both", curly3: "both", - curly4: "both", curlyFade1: "male", curlyFade2: "male", dreads: "male", From c4adfec873e2968855fd97822c90f9893f551670 Mon Sep 17 00:00:00 2001 From: chrislardner Date: Thu, 5 Mar 2026 19:18:40 -0600 Subject: [PATCH 3/3] hat tweaks --- svgs/accessories/santa-hat.svg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/svgs/accessories/santa-hat.svg b/svgs/accessories/santa-hat.svg index e58c7b3f..b5cb66c0 100644 --- a/svgs/accessories/santa-hat.svg +++ b/svgs/accessories/santa-hat.svg @@ -1,9 +1,9 @@ santa-hat - - - - + + + + \ No newline at end of file