TableTower/tools/theme_art/theme_colours.py
RobinFiredrake 3d0ba9c6b8 Nine more built-in themes: Web 1.0 and the eight suggested (Case File, Eldritch Archive, Comic Panel, Brass & Gears, Chrome Street, Star Chart, Cartographer, Storybook)
Generated stand-in art and sounds, ten more OFL fonts, PNG tiles in the theme generator; untrack __pycache__.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:40:10 -06:00

86 lines
4.5 KiB
Python

"""Colour tokens copied from the approved wardrobe mockup (THEMES array), one entry per theme.
colours: the mockup's `c` tokens the art needs.
pattern: the mockup's `pat` (kind, p1..p4, op). scene: the mockup's `scene` (kind, s1..s4).
frame / thread: the mockup's frame style and thread stroke list.
background: two or three stops of the mockup's `bg` (used only by the preview sheet).
"""
THEMES = {
"vaporwave": {
"colours": {"card": "#ffffff", "trim": "#2b1d52", "trim_dark": "#2b1d52", "thread": "#a94ace",
"thread_dark": "#2b1d52", "accent": "#f4a4f5", "glow": "#9881ff"},
"pattern": {"kind": "memphis", "p1": "#7fe3cf", "p2": "#a94ace", "p3": "#f4a4f5", "p4": "#9881ff", "op": 0.6},
"scene": {"kind": "vapor", "s1": "#ffffff", "s2": "#f4a4f5", "s3": "#9881ff"},
"frame": "memphis", "thread": "dashed_line",
"background": ["#bff6e6", "#e4dcfb", "#f6b8ef"],
},
"synthwave": {
"colours": {"card": "#241032", "trim": "#ed2ea5", "trim_dark": "#7a1456", "thread": "#6f86ff",
"thread_dark": "#2b2f7a", "accent": "#fad009", "glow": "#fa8057"},
"pattern": {"kind": "none"},
"scene": {"kind": "synth", "s1": "#fad009", "s2": "#ed2ea5", "s3": "#6172c5"},
"frame": "neon", "thread": "neon_tube",
"background": ["#1a0619", "#4a1150", "#2c0d2a"],
},
"autumn": {
"colours": {"card": "#f8ebc6", "trim": "#a43108", "trim_dark": "#5c2004", "thread": "#d59f3f",
"thread_dark": "#5c5011", "accent": "#cf6811", "glow": "#8a7424"},
"pattern": {"kind": "leaves", "p1": "#d59f3f", "p2": "#a43108", "p3": "#8a7424", "p4": "#ebd48f", "op": 0.55},
"scene": {"kind": "glow"},
"frame": "leaf", "thread": "twine",
"background": ["#cf6811", "#8f3d0c", "#421a05"],
},
"rustic": {
"colours": {"card": "#f1e2c8", "trim": "#8c2e0f", "trim_dark": "#4e1c0d", "thread": "#dd8838",
"thread_dark": "#6b3a12", "accent": "#dd8838", "glow": "#c24f1d"},
"pattern": {"kind": "grain", "p1": "#1f0a03", "p2": "#1a0802", "op": 0.8},
"scene": {"kind": "glow"},
"frame": "plank", "thread": "rope",
"background": ["#4e1c0d", "#5a2210", "#2c0f06"],
},
"woodsy": {
"colours": {"card": "#f1f5d3", "trim": "#362f22", "trim_dark": "#1d1a12", "thread": "#a2b447",
"thread_dark": "#23361a", "accent": "#a2b447", "glow": "#516f7a"},
"pattern": {"kind": "ferns", "p1": "#2f4a1f", "p2": "#556f30", "op": 0.9},
"scene": {"kind": "woods", "s1": "rgba(239,244,189,.13)", "s2": "#142010"},
"frame": "vine", "thread": "vine",
"background": ["#3d5626", "#23361a", "#18250f"],
},
"sky": {
"colours": {"card": "#ffffff", "trim": "#009dff", "trim_dark": "#0062d6", "thread": "#ffffff",
"thread_dark": "#0077ff", "accent": "#ffd75e", "glow": "#ffd75e"},
"pattern": {"kind": "none"},
"scene": {"kind": "clouds", "s1": "rgba(255,250,210,.7)"},
"frame": "cloud", "thread": "kite_string",
"background": ["#0077ff", "#00a8ff", "#d9f3ff"],
},
"aero": {
"colours": {"card": "#ffffff", "trim": "#0c71c6", "trim_dark": "#0a4f8c", "thread": "#6ab63f",
"thread_dark": "#3f7f22", "accent": "#86e750", "glow": "#74e4ff"},
"pattern": {"kind": "none"},
"scene": {"kind": "aero", "s2": "#6ab63f"},
"frame": "glass", "thread": "glossy_tube",
"background": ["#5fd6fb", "#a9ecff", "#f2fcff"],
},
"gothic": {
"colours": {"card": "#d8d3c8", "trim": "#4d524b", "trim_dark": "#223330", "thread": "#ce1a1e",
"thread_dark": "#65060e", "accent": "#ce1a1e", "glow": "#ce1a1e", "stone": "#837f78"},
"pattern": {"kind": "stone", "p1": "#0d1716", "p2": "#081919", "p3": "#2a3a36", "op": 0.9},
"scene": {"kind": "vignette", "s1": "#030909", "s2": "#65060e"},
"frame": "stone", "thread": "cord",
"background": ["#1b2826", "#1b2826"],
},
"terminal": {
"colours": {"card": "#000000", "trim": "#33ff66", "trim_dark": "#33ff66", "thread": "#ffb000",
"thread_dark": "#ffb000", "accent": "#ffb000", "glow": "#33ff66"},
"pattern": {"kind": "scan", "p1": "#0c3a18", "op": 1.0},
"scene": {"kind": "none"},
"frame": "ascii", "thread": "dashed_amber",
"background": ["#000000", "#000000"],
},
}
from theme_colours_more import MORE_THEMES # noqa: E402 (second batch)
THEMES.update(MORE_THEMES)