Fix collar

This commit is contained in:
Idrees Hassan
2026-03-11 16:14:12 -07:00
parent 71b74c9b6f
commit 1d4c1a000e
9 changed files with 19 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ export const PALETTE = {
EYEBROW: "eyebrow",
NOSE: "nose",
CHEEK: "cheek",
COLLAR: "collar",
BELLY: "belly",
UNDERBELLY: "underbelly",
WING: "wing",
@@ -44,6 +45,7 @@ export const SPRITE_SHEET_COLOR_MAP = {
"#ff5573": PALETTE.EYEBROW,
"#d95763": PALETTE.NOSE,
"#ff67a9": PALETTE.CHEEK,
"#ffe955": PALETTE.COLLAR,
"#f8b143": PALETTE.BELLY,
"#ec8637": PALETTE.UNDERBELLY,
"#578ae6": PALETTE.WING,
@@ -78,6 +80,7 @@ export class BirdType {
[PALETTE.EYEBROW]: colors.face,
[PALETTE.NOSE]: colors.face,
[PALETTE.CHEEK]: colors.face,
[PALETTE.COLLAR]: colors.face,
};
/** @type {Record<string, string>} */
this.colors = { ...defaultColors, ...colors, [PALETTE.THEME_HIGHLIGHT]: colors[PALETTE.THEME_HIGHLIGHT] ?? colors.hood ?? colors.face };