mirror of
https://github.com/samsonjs/spirit-tracker.git
synced 2026-04-27 15:07:43 +00:00
UX Improvements
This commit is contained in:
parent
b9e832a90f
commit
930e030013
1 changed files with 12 additions and 9 deletions
|
|
@ -4,14 +4,17 @@ function normalizeId(s) {
|
||||||
|
|
||||||
// Your pinned colors (exact / “roughly right”)
|
// Your pinned colors (exact / “roughly right”)
|
||||||
const OVERRIDES = {
|
const OVERRIDES = {
|
||||||
strath: "#76B7FF", // light blue
|
strath: "#76B7FF",
|
||||||
bsw: "#E9DF7A", // faded yellow
|
bsw: "#E9DF7A",
|
||||||
kensingtonwinemarket: "#F2C200",// bolder yellow
|
kensingtonwinemarket: "#F2C200",
|
||||||
vessel: "#FFFFFF", // white
|
vessel: "#FFFFFF",
|
||||||
gullliquor: "#6B0F1A", // maroon
|
gullliquor: "#6B0F1A",
|
||||||
kegncork: "#111111", // black
|
kegncork: "#111111",
|
||||||
legacyliquor: "#7B4A12", // brown
|
legacyliquor: "#7B4A12",
|
||||||
vintagespirits: "#E34A2C", // orange-ish red
|
vintagespirits: "#E34A2C",
|
||||||
|
|
||||||
|
craftcellars: "#E31B23", // bright red
|
||||||
|
maltsandgrains: "#A67C52", // faded brown
|
||||||
|
|
||||||
// aliases
|
// aliases
|
||||||
gull: "#6B0F1A",
|
gull: "#6B0F1A",
|
||||||
|
|
@ -19,7 +22,7 @@ function normalizeId(s) {
|
||||||
vintage: "#E34A2C",
|
vintage: "#E34A2C",
|
||||||
kwm: "#F2C200",
|
kwm: "#F2C200",
|
||||||
};
|
};
|
||||||
|
|
||||||
// High-contrast qualitative palette (distinct hues).
|
// High-contrast qualitative palette (distinct hues).
|
||||||
// (Avoids whites/blacks/yellows that clash w/ your overrides by filtering below.)
|
// (Avoids whites/blacks/yellows that clash w/ your overrides by filtering below.)
|
||||||
const PALETTE = [
|
const PALETTE = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue