TableTower/tools/theme_defs/palettes.py

114 lines
7.9 KiB
Python
Raw Normal View History

"""The 2026-11 theme sets, as chosen in the "Morgan's Wardrobe" mockup.
Each entry holds the mockup's small colour set; make_theme_defs.py turns it
into the app's full token list. Keys:
name, fonts (body, display), background (app fill), panel (app fill),
pattern (fallback when there is no tile), colors (mockup tokens),
mascot (Morgan's role colours), overrides (app tokens set by hand).
"""
THEMES = {
"vaporwave": {
"name": "Vaporwave", "fonts": ("nunito", "righteous"),
"background": {"kind": "linear", "colors": ["#bff6e6", "#e4dcfb", "#f6b8ef"], "angle": 160},
# A light panel: the app uses one text colour (dark here) for background and panels.
"panel": {"kind": "linear", "colors": ["#f6f1ff", "#e8ddff"], "angle": 90},
"colors": {"bg": "#e4dcfb", "onp": "#ffffff", "onpm": "#efe2ff", "card": "#ffffff", "card2": "#f6f2ff",
"ink": "#2b1d52", "muted": "#7b6ea8", "rule": "#e2dbf7", "trim": "#2b1d52", "trimD": "#2b1d52",
"thread": "#a94ace", "threadD": "#2b1d52", "accent": "#f4a4f5", "lit": "#beffea",
"glow": "#9881ff", "onbg": "#2b1d52", "panel": "#efe8ff"},
"mascot": {"outline": "#2b1d52", "cloth": "#a94ace", "trim": "#7fe3cf", "eye": "#f4a4f5", "eye_glint": "#ffffff"},
"overrides": {"ON_BG_MUTED": "#5d4f8c"},
},
"synthwave": {
"name": "Synthwave", "fonts": ("atkinson", "audiowide"),
"background": {"kind": "linear", "colors": ["#1a0619", "#2c0d2a", "#4a1150", "#2c0d2a"], "angle": 90},
"panel": {"kind": "solid", "colors": ["#14040f"]},
"colors": {"bg": "#2c0d2a", "onp": "#ffe6f6", "onpm": "#c79bc0", "card": "#241032", "card2": "#2b143b",
"ink": "#ffe9f7", "muted": "#b48fc8", "rule": "#4b2466", "trim": "#ed2ea5", "trimD": "#7a1456",
"thread": "#6f86ff", "threadD": "#2b2f7a", "accent": "#fad009", "lit": "#ed2ea5",
"glow": "#fa8057", "onbg": "#ffe6f6", "panel": "#14040f"},
"mascot": {"outline": "#14040f", "cloth": "#3a1650", "trim": "#ed2ea5", "eye": "#fad009", "eye_glint": "#ffffff"},
"overrides": {},
},
"autumn": {
"name": "Cozy Autumn", "fonts": ("lora", "fraunces"),
"background": {"kind": "radial", "colors": ["#cf6811", "#8f3d0c", "#421a05"], "center": [0.35, 0.25]},
"panel": {"kind": "solid", "colors": ["#3a1704"]},
"colors": {"bg": "#8f3d0c", "onp": "#fbefc8", "onpm": "#d9b98a", "card": "#f8ebc6", "card2": "#fbf2d9",
"ink": "#3a1a06", "muted": "#7a5a2a", "rule": "#e2cc95", "trim": "#a43108", "trimD": "#5c2004",
"thread": "#d59f3f", "threadD": "#5c5011", "accent": "#cf6811", "lit": "#f0cf7a",
"glow": "#8a7424", "onbg": "#fbefc8", "panel": "#3a1704"},
"mascot": {"outline": "#2c1204", "cloth": "#a43108", "trim": "#d59f3f", "eye": "#8a7424", "eye_glint": "#ebd48f"},
"overrides": {"ACCENT": "#f0a040"},
},
"rustic": {
"name": "Rustic", "fonts": ("atkinson", "zillaslab"),
"background": {"kind": "radial", "colors": ["#6a2a12", "#4e1c0d", "#2a0f06"], "center": [0.4, 0.3]},
"panel": {"kind": "solid", "colors": ["#1c2321"]},
"colors": {"bg": "#4e1c0d", "onp": "#f3dfc2", "onpm": "#b49c80", "card": "#f1e2c8", "card2": "#f7ecd9",
"ink": "#1c1310", "muted": "#6e5040", "rule": "#dcc4a2", "trim": "#8c2e0f", "trimD": "#4e1c0d",
"thread": "#dd8838", "threadD": "#6b3a12", "accent": "#dd8838", "lit": "#f6c98d",
"glow": "#c24f1d", "onbg": "#f3dfc2", "panel": "#1c2321"},
"mascot": {"outline": "#0f1111", "cloth": "#8c2e0f", "trim": "#dd8838", "eye": "#f2a65a", "eye_glint": "#ffe1b0"},
"overrides": {},
},
"woodsy": {
"name": "Woodsy", "fonts": ("alegreya", "alegreya"),
"background": {"kind": "radial", "colors": ["#3d5626", "#23361a", "#18250f"], "center": [0.4, 0.3]},
"panel": {"kind": "solid", "colors": ["#1b1a12"]},
"colors": {"bg": "#23361a", "onp": "#eff4bd", "onpm": "#a9b48a", "card": "#f1f5d3", "card2": "#f7f9e4",
"ink": "#1d2a14", "muted": "#5b6a45", "rule": "#d6dfa6", "trim": "#362f22", "trimD": "#1d1a12",
"thread": "#a2b447", "threadD": "#23361a", "accent": "#a2b447", "lit": "#dbe89a",
"glow": "#516f7a", "onbg": "#eff4bd", "panel": "#1b1a12"},
"mascot": {"outline": "#1a2612", "cloth": "#556f30", "trim": "#a2b447", "eye": "#9fd3dc", "eye_glint": "#eff4bd"},
"overrides": {"GLOW": "#e9f59a"},
},
"sky": {
"name": "Sky Blue", "fonts": ("nunito", "quicksand"),
"background": {"kind": "linear", "colors": ["#0077ff", "#00a8ff", "#66d9ff", "#d9f3ff"], "angle": 90},
"panel": {"kind": "linear", "colors": ["#0062d6", "#0077ff"], "angle": 0},
"colors": {"bg": "#00a8ff", "onp": "#ffffff", "onpm": "#cfe8ff", "card": "#ffffff", "card2": "#f1f9ff",
"ink": "#0b2a55", "muted": "#4d6f99", "rule": "#d4ecfb", "trim": "#009dff", "trimD": "#0062d6",
"thread": "#ffffff", "threadD": "#0077ff", "accent": "#ffd75e", "lit": "#cfefff",
"glow": "#ffd75e", "onbg": "#ffffff", "panel": "#0062d6"},
"mascot": {"outline": "#0b2a55", "cloth": "#009dff", "trim": "#eaf7ff", "eye": "#ffd75e", "eye_glint": "#ffffff"},
"overrides": {"ON_BG_MUTED": "#e3f4ff"},
},
"aero": {
"name": "Frutiger Aero", "fonts": ("asap", "asap"),
"background": {"kind": "linear", "colors": ["#5fd6fb", "#a9ecff", "#f2fcff"], "angle": 90},
# Glossy white panel, so the dark text reads on it too.
"panel": {"kind": "linear", "colors": ["#ffffff", "#e6f7ff", "#c8ebff"], "angle": 90},
"colors": {"bg": "#a9ecff", "onp": "#ffffff", "onpm": "#d6efff", "card": "#ffffff", "card2": "#f1faff",
"ink": "#0b3a63", "muted": "#4f7898", "rule": "#cfe9f7", "trim": "#0c71c6", "trimD": "#0a4f8c",
"thread": "#6ab63f", "threadD": "#3f7f22", "accent": "#86e750", "lit": "#d9f7c4",
"glow": "#74e4ff", "onbg": "#0b3a63", "panel": "#e6f7ff"},
"mascot": {"outline": "#0b3a63", "cloth": "#0c71c6", "trim": "#86e750", "eye": "#74e4ff", "eye_glint": "#ffffff"},
"overrides": {"ON_BG_MUTED": "#3e6688"},
},
"gothic": {
"name": "Gothic", "fonts": ("imfell", "unifraktur"),
"background": {"kind": "radial", "colors": ["#223330", "#1b2826", "#081919"], "center": [0.5, 0.4]},
"panel": {"kind": "solid", "colors": ["#060f0f"]},
"colors": {"bg": "#1b2826", "onp": "#d9d4cc", "onpm": "#8f8a82", "card": "#d8d3c8", "card2": "#e2ddd3",
"ink": "#120d0d", "muted": "#4d524b", "rule": "#b6b0a4", "trim": "#4d524b", "trimD": "#223330",
"thread": "#ce1a1e", "threadD": "#65060e", "accent": "#ce1a1e", "lit": "#ecc2bd",
"glow": "#ce1a1e", "onbg": "#d9d4cc", "panel": "#060f0f"},
"mascot": {"outline": "#081919", "cloth": "#65060e", "trim": "#837f78", "eye": "#ce1a1e", "eye_glint": "#ffd6d6"},
"overrides": {"TRIM": "#837f78"},
},
"terminal": {
"name": "Terminal", "fonts": ("vt323", "vt323"),
"background": {"kind": "solid", "colors": ["#000000"]},
"panel": {"kind": "solid", "colors": ["#000000"]},
"colors": {"bg": "#000000", "onp": "#33ff66", "onpm": "#a6ffbf", "card": "#000000", "card2": "#031a09",
"ink": "#33ff66", "muted": "#a6ffbf", "rule": "#1d9940", "trim": "#33ff66", "trimD": "#0b3d18",
"thread": "#ffb000", "threadD": "#4d3500", "accent": "#ffb000", "lit": "#0d4d1f",
"glow": "#33ff66", "onbg": "#33ff66", "panel": "#000000"},
"mascot": {"outline": "#33ff66", "cloth": "#000000", "trim": "#33ff66", "eye": "#ffb000", "eye_glint": "#ffffff",
"inner_line": "#0b3d18"},
"overrides": {"BG_HOVER": "#0d4d1f", "STRIPE": "#33ff6610", "FAINT": "#5fd47f", "DASH": "#1d9940"},
},
}