mirror of
https://github.com/samsonjs/spirit-tracker.git
synced 2026-03-25 09:25:51 +00:00
feat: Better colours
This commit is contained in:
parent
b381f14202
commit
6d737d7c22
1 changed files with 37 additions and 18 deletions
|
|
@ -5,47 +5,66 @@ function normalizeId(s) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const ALIASES = {
|
const ALIASES = {
|
||||||
// labels -> keys
|
// ----- ARC -----
|
||||||
strathliquor: "strath",
|
arcliquor: "arc",
|
||||||
strath: "strath",
|
arc: "arc",
|
||||||
|
|
||||||
vesselliquor: "vessel",
|
// ----- BCL -----
|
||||||
vessel: "vessel",
|
bcl: "bcl",
|
||||||
|
|
||||||
tudorhouse: "tudor",
|
// ----- BSW -----
|
||||||
tudor: "tudor",
|
bsw: "bsw",
|
||||||
|
|
||||||
|
// ----- Co-op World of Whisky -----
|
||||||
coopworldofwhisky: "coop",
|
coopworldofwhisky: "coop",
|
||||||
coop: "coop",
|
coop: "coop",
|
||||||
|
|
||||||
|
// ----- Craft Cellars -----
|
||||||
craftcellars: "craftcellars",
|
craftcellars: "craftcellars",
|
||||||
|
|
||||||
// Gull Liquor variants
|
// ----- Gull Liquor -----
|
||||||
gullliquor: "gull",
|
gullliquor: "gull",
|
||||||
gull: "gull",
|
gull: "gull",
|
||||||
|
|
||||||
// KWM variants
|
// ----- Keg N Cork -----
|
||||||
|
kegncork: "kegncork",
|
||||||
|
|
||||||
|
// ----- Kensington Wine Market -----
|
||||||
kensingtonwinemarket: "kwm",
|
kensingtonwinemarket: "kwm",
|
||||||
kwm: "kwm",
|
kwm: "kwm",
|
||||||
|
|
||||||
// Legacy Liquor variants
|
// ----- Legacy Liquor -----
|
||||||
legacyliquor: "legacyliquor",
|
legacyliquor: "legacyliquor",
|
||||||
legacy: "legacyliquor",
|
legacy: "legacyliquor",
|
||||||
|
|
||||||
// Vintage Spirits variants
|
// ----- Malts & Grains -----
|
||||||
|
maltsgrains: "maltsandgrains",
|
||||||
|
maltsandgrains: "maltsandgrains",
|
||||||
|
|
||||||
|
// ----- Sierra Springs -----
|
||||||
|
sierrasprings: "sierrasprings",
|
||||||
|
|
||||||
|
// ----- Strath Liquor -----
|
||||||
|
strathliquor: "strath",
|
||||||
|
strath: "strath",
|
||||||
|
|
||||||
|
// ----- Tudor House -----
|
||||||
|
tudorhouse: "tudor",
|
||||||
|
tudor: "tudor",
|
||||||
|
|
||||||
|
// ----- Vessel Liquor -----
|
||||||
|
vesselliquor: "vessel",
|
||||||
|
vessel: "vessel",
|
||||||
|
|
||||||
|
// ----- Vintage Spirits -----
|
||||||
vintagespirits: "vintage",
|
vintagespirits: "vintage",
|
||||||
vintage: "vintage",
|
vintage: "vintage",
|
||||||
|
|
||||||
// others already match keys
|
// ----- Willow Park -----
|
||||||
bcl: "bcl",
|
|
||||||
bsw: "bsw",
|
|
||||||
kegncork: "kegncork",
|
|
||||||
maltsandgrains: "maltsandgrains",
|
|
||||||
sierrasprings: "sierrasprings",
|
|
||||||
willowpark: "willowpark",
|
willowpark: "willowpark",
|
||||||
arc: "arc",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const OVERRIDES = {
|
const OVERRIDES = {
|
||||||
// keep your existing pins (moved onto store keys)
|
// keep your existing pins (moved onto store keys)
|
||||||
strath: "#76B7FF",
|
strath: "#76B7FF",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue