mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-05-25 04:07:23 +00:00
Fix collar
This commit is contained in:
Binary file not shown.
BIN
dist/extension.zip
vendored
BIN
dist/extension.zip
vendored
Binary file not shown.
3
dist/extension/birb.js
vendored
3
dist/extension/birb.js
vendored
@@ -416,6 +416,7 @@
|
|||||||
EYEBROW: "eyebrow",
|
EYEBROW: "eyebrow",
|
||||||
NOSE: "nose",
|
NOSE: "nose",
|
||||||
CHEEK: "cheek",
|
CHEEK: "cheek",
|
||||||
|
COLLAR: "collar",
|
||||||
BELLY: "belly",
|
BELLY: "belly",
|
||||||
UNDERBELLY: "underbelly",
|
UNDERBELLY: "underbelly",
|
||||||
WING: "wing",
|
WING: "wing",
|
||||||
@@ -443,6 +444,7 @@
|
|||||||
"#ff5573": PALETTE.EYEBROW,
|
"#ff5573": PALETTE.EYEBROW,
|
||||||
"#d95763": PALETTE.NOSE,
|
"#d95763": PALETTE.NOSE,
|
||||||
"#ff67a9": PALETTE.CHEEK,
|
"#ff67a9": PALETTE.CHEEK,
|
||||||
|
"#ffe955": PALETTE.COLLAR,
|
||||||
"#f8b143": PALETTE.BELLY,
|
"#f8b143": PALETTE.BELLY,
|
||||||
"#ec8637": PALETTE.UNDERBELLY,
|
"#ec8637": PALETTE.UNDERBELLY,
|
||||||
"#578ae6": PALETTE.WING,
|
"#578ae6": PALETTE.WING,
|
||||||
@@ -477,6 +479,7 @@
|
|||||||
[PALETTE.EYEBROW]: colors.face,
|
[PALETTE.EYEBROW]: colors.face,
|
||||||
[PALETTE.NOSE]: colors.face,
|
[PALETTE.NOSE]: colors.face,
|
||||||
[PALETTE.CHEEK]: colors.face,
|
[PALETTE.CHEEK]: colors.face,
|
||||||
|
[PALETTE.COLLAR]: colors.face,
|
||||||
};
|
};
|
||||||
/** @type {Record<string, string>} */
|
/** @type {Record<string, string>} */
|
||||||
this.colors = { ...defaultColors, ...colors, [PALETTE.THEME_HIGHLIGHT]: colors[PALETTE.THEME_HIGHLIGHT] ?? colors.hood ?? colors.face };
|
this.colors = { ...defaultColors, ...colors, [PALETTE.THEME_HIGHLIGHT]: colors[PALETTE.THEME_HIGHLIGHT] ?? colors.hood ?? colors.face };
|
||||||
|
|||||||
3
dist/obsidian/main.js
vendored
3
dist/obsidian/main.js
vendored
@@ -421,6 +421,7 @@ module.exports = class PocketBird extends Plugin {
|
|||||||
EYEBROW: "eyebrow",
|
EYEBROW: "eyebrow",
|
||||||
NOSE: "nose",
|
NOSE: "nose",
|
||||||
CHEEK: "cheek",
|
CHEEK: "cheek",
|
||||||
|
COLLAR: "collar",
|
||||||
BELLY: "belly",
|
BELLY: "belly",
|
||||||
UNDERBELLY: "underbelly",
|
UNDERBELLY: "underbelly",
|
||||||
WING: "wing",
|
WING: "wing",
|
||||||
@@ -448,6 +449,7 @@ module.exports = class PocketBird extends Plugin {
|
|||||||
"#ff5573": PALETTE.EYEBROW,
|
"#ff5573": PALETTE.EYEBROW,
|
||||||
"#d95763": PALETTE.NOSE,
|
"#d95763": PALETTE.NOSE,
|
||||||
"#ff67a9": PALETTE.CHEEK,
|
"#ff67a9": PALETTE.CHEEK,
|
||||||
|
"#ffe955": PALETTE.COLLAR,
|
||||||
"#f8b143": PALETTE.BELLY,
|
"#f8b143": PALETTE.BELLY,
|
||||||
"#ec8637": PALETTE.UNDERBELLY,
|
"#ec8637": PALETTE.UNDERBELLY,
|
||||||
"#578ae6": PALETTE.WING,
|
"#578ae6": PALETTE.WING,
|
||||||
@@ -482,6 +484,7 @@ module.exports = class PocketBird extends Plugin {
|
|||||||
[PALETTE.EYEBROW]: colors.face,
|
[PALETTE.EYEBROW]: colors.face,
|
||||||
[PALETTE.NOSE]: colors.face,
|
[PALETTE.NOSE]: colors.face,
|
||||||
[PALETTE.CHEEK]: colors.face,
|
[PALETTE.CHEEK]: colors.face,
|
||||||
|
[PALETTE.COLLAR]: colors.face,
|
||||||
};
|
};
|
||||||
/** @type {Record<string, string>} */
|
/** @type {Record<string, string>} */
|
||||||
this.colors = { ...defaultColors, ...colors, [PALETTE.THEME_HIGHLIGHT]: colors[PALETTE.THEME_HIGHLIGHT] ?? colors.hood ?? colors.face };
|
this.colors = { ...defaultColors, ...colors, [PALETTE.THEME_HIGHLIGHT]: colors[PALETTE.THEME_HIGHLIGHT] ?? colors.hood ?? colors.face };
|
||||||
|
|||||||
3
dist/userscript/birb.user.js
vendored
3
dist/userscript/birb.user.js
vendored
@@ -430,6 +430,7 @@
|
|||||||
EYEBROW: "eyebrow",
|
EYEBROW: "eyebrow",
|
||||||
NOSE: "nose",
|
NOSE: "nose",
|
||||||
CHEEK: "cheek",
|
CHEEK: "cheek",
|
||||||
|
COLLAR: "collar",
|
||||||
BELLY: "belly",
|
BELLY: "belly",
|
||||||
UNDERBELLY: "underbelly",
|
UNDERBELLY: "underbelly",
|
||||||
WING: "wing",
|
WING: "wing",
|
||||||
@@ -457,6 +458,7 @@
|
|||||||
"#ff5573": PALETTE.EYEBROW,
|
"#ff5573": PALETTE.EYEBROW,
|
||||||
"#d95763": PALETTE.NOSE,
|
"#d95763": PALETTE.NOSE,
|
||||||
"#ff67a9": PALETTE.CHEEK,
|
"#ff67a9": PALETTE.CHEEK,
|
||||||
|
"#ffe955": PALETTE.COLLAR,
|
||||||
"#f8b143": PALETTE.BELLY,
|
"#f8b143": PALETTE.BELLY,
|
||||||
"#ec8637": PALETTE.UNDERBELLY,
|
"#ec8637": PALETTE.UNDERBELLY,
|
||||||
"#578ae6": PALETTE.WING,
|
"#578ae6": PALETTE.WING,
|
||||||
@@ -491,6 +493,7 @@
|
|||||||
[PALETTE.EYEBROW]: colors.face,
|
[PALETTE.EYEBROW]: colors.face,
|
||||||
[PALETTE.NOSE]: colors.face,
|
[PALETTE.NOSE]: colors.face,
|
||||||
[PALETTE.CHEEK]: colors.face,
|
[PALETTE.CHEEK]: colors.face,
|
||||||
|
[PALETTE.COLLAR]: colors.face,
|
||||||
};
|
};
|
||||||
/** @type {Record<string, string>} */
|
/** @type {Record<string, string>} */
|
||||||
this.colors = { ...defaultColors, ...colors, [PALETTE.THEME_HIGHLIGHT]: colors[PALETTE.THEME_HIGHLIGHT] ?? colors.hood ?? colors.face };
|
this.colors = { ...defaultColors, ...colors, [PALETTE.THEME_HIGHLIGHT]: colors[PALETTE.THEME_HIGHLIGHT] ?? colors.hood ?? colors.face };
|
||||||
|
|||||||
3
dist/web/birb.embed.js
vendored
3
dist/web/birb.embed.js
vendored
@@ -416,6 +416,7 @@
|
|||||||
EYEBROW: "eyebrow",
|
EYEBROW: "eyebrow",
|
||||||
NOSE: "nose",
|
NOSE: "nose",
|
||||||
CHEEK: "cheek",
|
CHEEK: "cheek",
|
||||||
|
COLLAR: "collar",
|
||||||
BELLY: "belly",
|
BELLY: "belly",
|
||||||
UNDERBELLY: "underbelly",
|
UNDERBELLY: "underbelly",
|
||||||
WING: "wing",
|
WING: "wing",
|
||||||
@@ -443,6 +444,7 @@
|
|||||||
"#ff5573": PALETTE.EYEBROW,
|
"#ff5573": PALETTE.EYEBROW,
|
||||||
"#d95763": PALETTE.NOSE,
|
"#d95763": PALETTE.NOSE,
|
||||||
"#ff67a9": PALETTE.CHEEK,
|
"#ff67a9": PALETTE.CHEEK,
|
||||||
|
"#ffe955": PALETTE.COLLAR,
|
||||||
"#f8b143": PALETTE.BELLY,
|
"#f8b143": PALETTE.BELLY,
|
||||||
"#ec8637": PALETTE.UNDERBELLY,
|
"#ec8637": PALETTE.UNDERBELLY,
|
||||||
"#578ae6": PALETTE.WING,
|
"#578ae6": PALETTE.WING,
|
||||||
@@ -477,6 +479,7 @@
|
|||||||
[PALETTE.EYEBROW]: colors.face,
|
[PALETTE.EYEBROW]: colors.face,
|
||||||
[PALETTE.NOSE]: colors.face,
|
[PALETTE.NOSE]: colors.face,
|
||||||
[PALETTE.CHEEK]: colors.face,
|
[PALETTE.CHEEK]: colors.face,
|
||||||
|
[PALETTE.COLLAR]: colors.face,
|
||||||
};
|
};
|
||||||
/** @type {Record<string, string>} */
|
/** @type {Record<string, string>} */
|
||||||
this.colors = { ...defaultColors, ...colors, [PALETTE.THEME_HIGHLIGHT]: colors[PALETTE.THEME_HIGHLIGHT] ?? colors.hood ?? colors.face };
|
this.colors = { ...defaultColors, ...colors, [PALETTE.THEME_HIGHLIGHT]: colors[PALETTE.THEME_HIGHLIGHT] ?? colors.hood ?? colors.face };
|
||||||
|
|||||||
3
dist/web/birb.js
vendored
3
dist/web/birb.js
vendored
@@ -416,6 +416,7 @@
|
|||||||
EYEBROW: "eyebrow",
|
EYEBROW: "eyebrow",
|
||||||
NOSE: "nose",
|
NOSE: "nose",
|
||||||
CHEEK: "cheek",
|
CHEEK: "cheek",
|
||||||
|
COLLAR: "collar",
|
||||||
BELLY: "belly",
|
BELLY: "belly",
|
||||||
UNDERBELLY: "underbelly",
|
UNDERBELLY: "underbelly",
|
||||||
WING: "wing",
|
WING: "wing",
|
||||||
@@ -443,6 +444,7 @@
|
|||||||
"#ff5573": PALETTE.EYEBROW,
|
"#ff5573": PALETTE.EYEBROW,
|
||||||
"#d95763": PALETTE.NOSE,
|
"#d95763": PALETTE.NOSE,
|
||||||
"#ff67a9": PALETTE.CHEEK,
|
"#ff67a9": PALETTE.CHEEK,
|
||||||
|
"#ffe955": PALETTE.COLLAR,
|
||||||
"#f8b143": PALETTE.BELLY,
|
"#f8b143": PALETTE.BELLY,
|
||||||
"#ec8637": PALETTE.UNDERBELLY,
|
"#ec8637": PALETTE.UNDERBELLY,
|
||||||
"#578ae6": PALETTE.WING,
|
"#578ae6": PALETTE.WING,
|
||||||
@@ -477,6 +479,7 @@
|
|||||||
[PALETTE.EYEBROW]: colors.face,
|
[PALETTE.EYEBROW]: colors.face,
|
||||||
[PALETTE.NOSE]: colors.face,
|
[PALETTE.NOSE]: colors.face,
|
||||||
[PALETTE.CHEEK]: colors.face,
|
[PALETTE.CHEEK]: colors.face,
|
||||||
|
[PALETTE.COLLAR]: colors.face,
|
||||||
};
|
};
|
||||||
/** @type {Record<string, string>} */
|
/** @type {Record<string, string>} */
|
||||||
this.colors = { ...defaultColors, ...colors, [PALETTE.THEME_HIGHLIGHT]: colors[PALETTE.THEME_HIGHLIGHT] ?? colors.hood ?? colors.face };
|
this.colors = { ...defaultColors, ...colors, [PALETTE.THEME_HIGHLIGHT]: colors[PALETTE.THEME_HIGHLIGHT] ?? colors.hood ?? colors.face };
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ const DEFAULT_OVERRIDES = {
|
|||||||
"eyebrow": "face",
|
"eyebrow": "face",
|
||||||
"nose": "face",
|
"nose": "face",
|
||||||
"cheek": "face",
|
"cheek": "face",
|
||||||
|
"collar": "face",
|
||||||
};
|
};
|
||||||
const IGNORED_PARTS = new Set(
|
const IGNORED_PARTS = new Set(
|
||||||
["transparent", "border", "heart", "heart-border", "heart-shine", "feather-spine"]
|
["transparent", "border", "heart", "heart-border", "heart-shine", "feather-spine"]
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ export const PALETTE = {
|
|||||||
EYEBROW: "eyebrow",
|
EYEBROW: "eyebrow",
|
||||||
NOSE: "nose",
|
NOSE: "nose",
|
||||||
CHEEK: "cheek",
|
CHEEK: "cheek",
|
||||||
|
COLLAR: "collar",
|
||||||
BELLY: "belly",
|
BELLY: "belly",
|
||||||
UNDERBELLY: "underbelly",
|
UNDERBELLY: "underbelly",
|
||||||
WING: "wing",
|
WING: "wing",
|
||||||
@@ -44,6 +45,7 @@ export const SPRITE_SHEET_COLOR_MAP = {
|
|||||||
"#ff5573": PALETTE.EYEBROW,
|
"#ff5573": PALETTE.EYEBROW,
|
||||||
"#d95763": PALETTE.NOSE,
|
"#d95763": PALETTE.NOSE,
|
||||||
"#ff67a9": PALETTE.CHEEK,
|
"#ff67a9": PALETTE.CHEEK,
|
||||||
|
"#ffe955": PALETTE.COLLAR,
|
||||||
"#f8b143": PALETTE.BELLY,
|
"#f8b143": PALETTE.BELLY,
|
||||||
"#ec8637": PALETTE.UNDERBELLY,
|
"#ec8637": PALETTE.UNDERBELLY,
|
||||||
"#578ae6": PALETTE.WING,
|
"#578ae6": PALETTE.WING,
|
||||||
@@ -78,6 +80,7 @@ export class BirdType {
|
|||||||
[PALETTE.EYEBROW]: colors.face,
|
[PALETTE.EYEBROW]: colors.face,
|
||||||
[PALETTE.NOSE]: colors.face,
|
[PALETTE.NOSE]: colors.face,
|
||||||
[PALETTE.CHEEK]: colors.face,
|
[PALETTE.CHEEK]: colors.face,
|
||||||
|
[PALETTE.COLLAR]: colors.face,
|
||||||
};
|
};
|
||||||
/** @type {Record<string, string>} */
|
/** @type {Record<string, string>} */
|
||||||
this.colors = { ...defaultColors, ...colors, [PALETTE.THEME_HIGHLIGHT]: colors[PALETTE.THEME_HIGHLIGHT] ?? colors.hood ?? colors.face };
|
this.colors = { ...defaultColors, ...colors, [PALETTE.THEME_HIGHLIGHT]: colors[PALETTE.THEME_HIGHLIGHT] ?? colors.hood ?? colors.face };
|
||||||
|
|||||||
Reference in New Issue
Block a user