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: Rustic. 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": "rustic",
|
|
|
|
|
"name": "Rustic",
|
|
|
|
|
"builtin": true,
|
|
|
|
|
"pattern": "none",
|
|
|
|
|
"logo": "fortune_teller",
|
|
|
|
|
"card_frame": "art",
|
|
|
|
|
"font_body": "atkinson",
|
|
|
|
|
"font_display": "zillaslab",
|
|
|
|
|
"background": {
|
|
|
|
|
"kind": "radial",
|
|
|
|
|
"colors": [
|
|
|
|
|
"#6a2a12",
|
|
|
|
|
"#4e1c0d",
|
|
|
|
|
"#2a0f06"
|
|
|
|
|
],
|
|
|
|
|
"center": [
|
|
|
|
|
0.4,
|
|
|
|
|
0.3
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"panel": {
|
|
|
|
|
"kind": "solid",
|
|
|
|
|
"colors": [
|
|
|
|
|
"#1c2321"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"mascot_colors": {
|
|
|
|
|
"outline": "#0f1111",
|
|
|
|
|
"cloth": "#8c2e0f",
|
|
|
|
|
"trim": "#dd8838",
|
|
|
|
|
"eye": "#f2a65a",
|
|
|
|
|
"eye_glint": "#ffe1b0",
|
|
|
|
|
"inner_line": "#542110"
|
|
|
|
|
},
|
|
|
|
|
"background_tile": {
|
|
|
|
|
"file": "background_tile.svg",
|
|
|
|
|
"opacity": 0.92,
|
|
|
|
|
"scale": 1.0
|
|
|
|
|
},
|
|
|
|
|
"frame": {
|
|
|
|
|
"corner": "frame_corner.svg",
|
|
|
|
|
"edge": "frame_edge.svg",
|
|
|
|
|
"corner_fixed": "frame_corner_fixed.svg",
|
|
|
|
|
"corner_size": [
|
|
|
|
|
112,
|
|
|
|
|
112
|
|
|
|
|
],
|
|
|
|
|
"edge_size": [
|
|
|
|
|
80,
|
|
|
|
|
128
|
|
|
|
|
],
|
|
|
|
|
"side_mid": 40,
|
|
|
|
|
"top_mid": 40,
|
|
|
|
|
"edge_mid": 40,
|
|
|
|
|
"scale": 0.25,
|
|
|
|
|
"outset": 7.0,
|
|
|
|
|
"pad": 10,
|
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": [
|
|
|
|
|
24,
|
2026-11-11 15:40:10 -06:00
|
|
|
22
|
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
|
|
|
],
|
|
|
|
|
"width": 13.8
|
|
|
|
|
},
|
|
|
|
|
"sounds": {
|
|
|
|
|
"roll": "sounds/roll.ogg",
|
|
|
|
|
"card_turn": "sounds/card_turn.ogg"
|
|
|
|
|
},
|
|
|
|
|
"colors": {
|
|
|
|
|
"BG": "#4e1c0d",
|
|
|
|
|
"BG_DEEP": "#2b0f07",
|
|
|
|
|
"BG_HOVER": "#693e31",
|
|
|
|
|
"PANEL": "#1c2321",
|
|
|
|
|
"ON_BG": "#f3dfc2",
|
|
|
|
|
"ON_BG_MUTED": "#b99b83",
|
|
|
|
|
"CARD": "#f1e2c8",
|
|
|
|
|
"CARD_SOFT": "#f7ecd9",
|
|
|
|
|
"CARD_HOVER": "#e4d0b1",
|
|
|
|
|
"CARD_SHADE": "#d0bea6",
|
|
|
|
|
"INK": "#1c1310",
|
|
|
|
|
"MUTED": "#6e5040",
|
|
|
|
|
"FAINT": "#a28a76",
|
|
|
|
|
"RULE": "#dcc4a2",
|
|
|
|
|
"DASH": "#ab9076",
|
|
|
|
|
"HOVER_ROW": "#f3d9b3",
|
|
|
|
|
"STRIPE": "#1c13100e",
|
|
|
|
|
"TRIM": "#8c2e0f",
|
|
|
|
|
"TRIM_DARK": "#4e1c0d",
|
|
|
|
|
"THREAD": "#dd8838",
|
|
|
|
|
"THREAD_DARK": "#6b3a12",
|
|
|
|
|
"ACCENT": "#dd8838",
|
|
|
|
|
"ACCENT_DARK": "#633d19",
|
|
|
|
|
"GROUP": "#dd8838",
|
|
|
|
|
"LIT": "#f6c98d",
|
|
|
|
|
"FLICK": "#dd883859",
|
|
|
|
|
"PULSE": "#f5dbc3",
|
|
|
|
|
"GLOW": "#c24f1d",
|
|
|
|
|
"VALUE_BG": "#edd2ae",
|
|
|
|
|
"VALUE_BORDER": "#e6b079",
|
|
|
|
|
"VALUE_INK": "#6e441c",
|
|
|
|
|
"VALUE_INK_ON_BG": "#dd8838",
|
|
|
|
|
"REF_BG": "#e8c5a6",
|
|
|
|
|
"REF_INK": "#61280e",
|
|
|
|
|
"REF_INK_ON_BG": "#d48461"
|
|
|
|
|
}
|
|
|
|
|
}
|