Theme tiers 1-2: theme folders, mascot recolour, background scene and tile, frame sets, picture threads, sounds; nine new built-in themes
- ThemeAssets loads a theme's files; FrameSet + GradientMap (3-stop) generalise the card frame;
ThreadStrip draws threads from a picture; BoardBackdrop draws scene and tile; MascotArt
recolours Morgan by role (logo SVG now uses the Keep File importer); SoundBoard plays
roll / card turn / thread / click / ambient with View > Sound levels.
- Vaporwave, Synthwave, Cozy Autumn, Rustic, Woodsy, Sky Blue, Frutiger Aero, Gothic, Terminal:
generated art (tools/theme_art), sounds (tools/theme_sounds), settings (tools/theme_defs).
- Ten OFL fonts; --theme=<id> flag; docs/THEMES.md format spec; test_theme_assets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:05:40 -06:00
|
|
|
extends RefCounted
|
|
|
|
|
## Built-in theme: Cozy Autumn. Written by tools/theme_defs/make_theme_defs.py:
|
|
|
|
|
## change tools/theme_defs/palettes.py and re-run it rather than editing this file.
|
|
|
|
|
|
|
|
|
|
const DATA := {
|
|
|
|
|
"id": "autumn",
|
|
|
|
|
"name": "Cozy Autumn",
|
|
|
|
|
"builtin": true,
|
|
|
|
|
"pattern": "none",
|
|
|
|
|
"logo": "fortune_teller",
|
|
|
|
|
"card_frame": "art",
|
|
|
|
|
"font_body": "lora",
|
|
|
|
|
"font_display": "fraunces",
|
|
|
|
|
"background": {
|
|
|
|
|
"kind": "radial",
|
|
|
|
|
"colors": [
|
|
|
|
|
"#cf6811",
|
|
|
|
|
"#8f3d0c",
|
|
|
|
|
"#421a05"
|
|
|
|
|
],
|
|
|
|
|
"center": [
|
|
|
|
|
0.35,
|
|
|
|
|
0.25
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"panel": {
|
|
|
|
|
"kind": "solid",
|
|
|
|
|
"colors": [
|
|
|
|
|
"#3a1704"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"mascot_colors": {
|
|
|
|
|
"outline": "#2c1204",
|
|
|
|
|
"cloth": "#a43108",
|
|
|
|
|
"trim": "#d59f3f",
|
|
|
|
|
"eye": "#8a7424",
|
|
|
|
|
"eye_glint": "#ebd48f",
|
|
|
|
|
"inner_line": "#6e2306"
|
|
|
|
|
},
|
|
|
|
|
"background_tile": {
|
|
|
|
|
"file": "background_tile.svg",
|
|
|
|
|
"opacity": 0.55,
|
|
|
|
|
"scale": 1.0
|
|
|
|
|
},
|
|
|
|
|
"frame": {
|
|
|
|
|
"corner": "frame_corner.svg",
|
|
|
|
|
"edge": "frame_edge.svg",
|
|
|
|
|
"corner_fixed": "frame_corner_fixed.svg",
|
|
|
|
|
"corner_size": [
|
|
|
|
|
176,
|
|
|
|
|
176
|
|
|
|
|
],
|
|
|
|
|
"edge_size": [
|
|
|
|
|
128,
|
|
|
|
|
64
|
|
|
|
|
],
|
|
|
|
|
"side_mid": 64,
|
|
|
|
|
"top_mid": 64,
|
|
|
|
|
"edge_mid": 64,
|
|
|
|
|
"scale": 0.25,
|
|
|
|
|
"outset": 16.0,
|
|
|
|
|
"pad": 4,
|
2026-11-11 15:40:10 -06:00
|
|
|
"mid": 0.5,
|
|
|
|
|
"highlight": 0.45
|
Theme tiers 1-2: theme folders, mascot recolour, background scene and tile, frame sets, picture threads, sounds; nine new built-in themes
- ThemeAssets loads a theme's files; FrameSet + GradientMap (3-stop) generalise the card frame;
ThreadStrip draws threads from a picture; BoardBackdrop draws scene and tile; MascotArt
recolours Morgan by role (logo SVG now uses the Keep File importer); SoundBoard plays
roll / card turn / thread / click / ambient with View > Sound levels.
- Vaporwave, Synthwave, Cozy Autumn, Rustic, Woodsy, Sky Blue, Frutiger Aero, Gothic, Terminal:
generated art (tools/theme_art), sounds (tools/theme_sounds), settings (tools/theme_defs).
- Ten OFL fonts; --theme=<id> flag; docs/THEMES.md format spec; test_theme_assets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:05:40 -06:00
|
|
|
},
|
|
|
|
|
"thread": {
|
|
|
|
|
"strip": "thread_strip.svg",
|
|
|
|
|
"strip_size": [
|
|
|
|
|
32,
|
|
|
|
|
16
|
|
|
|
|
],
|
|
|
|
|
"width": 10.0
|
|
|
|
|
},
|
|
|
|
|
"sounds": {
|
|
|
|
|
"roll": "sounds/roll.ogg",
|
|
|
|
|
"card_turn": "sounds/card_turn.ogg"
|
|
|
|
|
},
|
|
|
|
|
"colors": {
|
|
|
|
|
"BG": "#8f3d0c",
|
|
|
|
|
"BG_DEEP": "#4f2207",
|
|
|
|
|
"BG_HOVER": "#a05a30",
|
|
|
|
|
"PANEL": "#3a1704",
|
|
|
|
|
"ON_BG": "#fbefc8",
|
|
|
|
|
"ON_BG_MUTED": "#d5b186",
|
|
|
|
|
"CARD": "#f8ebc6",
|
|
|
|
|
"CARD_SOFT": "#fbf2d9",
|
|
|
|
|
"CARD_HOVER": "#ebd8a9",
|
|
|
|
|
"CARD_SHADE": "#d8c79f",
|
|
|
|
|
"INK": "#3a1a06",
|
|
|
|
|
"MUTED": "#7a5a2a",
|
|
|
|
|
"FAINT": "#ac9468",
|
|
|
|
|
"RULE": "#e2cc95",
|
|
|
|
|
"DASH": "#b39965",
|
|
|
|
|
"HOVER_ROW": "#f5e1ab",
|
|
|
|
|
"STRIPE": "#3a1a060e",
|
|
|
|
|
"TRIM": "#a43108",
|
|
|
|
|
"TRIM_DARK": "#5c2004",
|
|
|
|
|
"THREAD": "#d59f3f",
|
|
|
|
|
"THREAD_DARK": "#5c5011",
|
|
|
|
|
"ACCENT": "#f0a040",
|
|
|
|
|
"ACCENT_DARK": "#5d2f08",
|
|
|
|
|
"GROUP": "#cf6811",
|
|
|
|
|
"LIT": "#f0cf7a",
|
|
|
|
|
"FLICK": "#cf681159",
|
|
|
|
|
"PULSE": "#f1d2b8",
|
|
|
|
|
"GLOW": "#8a7424",
|
|
|
|
|
"VALUE_BG": "#f1d3a5",
|
|
|
|
|
"VALUE_BORDER": "#e1a362",
|
|
|
|
|
"VALUE_INK": "#683408",
|
|
|
|
|
"VALUE_INK_ON_BG": "#cf6811",
|
|
|
|
|
"REF_BG": "#e2d3a6",
|
|
|
|
|
"REF_INK": "#453a12",
|
|
|
|
|
"REF_INK_ON_BG": "#ad9e66"
|
|
|
|
|
}
|
|
|
|
|
}
|