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: Terminal. 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": "terminal",
|
|
|
|
|
"name": "Terminal",
|
|
|
|
|
"builtin": true,
|
|
|
|
|
"pattern": "none",
|
|
|
|
|
"logo": "fortune_teller",
|
|
|
|
|
"card_frame": "art",
|
|
|
|
|
"font_body": "vt323",
|
|
|
|
|
"font_display": "vt323",
|
|
|
|
|
"background": {
|
|
|
|
|
"kind": "solid",
|
|
|
|
|
"colors": [
|
|
|
|
|
"#000000"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"panel": {
|
|
|
|
|
"kind": "solid",
|
|
|
|
|
"colors": [
|
|
|
|
|
"#000000"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"mascot_colors": {
|
|
|
|
|
"outline": "#33ff66",
|
|
|
|
|
"cloth": "#000000",
|
|
|
|
|
"trim": "#33ff66",
|
|
|
|
|
"eye": "#ffb000",
|
|
|
|
|
"eye_glint": "#ffffff",
|
|
|
|
|
"inner_line": "#0b3d18"
|
|
|
|
|
},
|
|
|
|
|
"background_tile": {
|
|
|
|
|
"file": "background_tile.svg",
|
|
|
|
|
"opacity": 1.0,
|
|
|
|
|
"scale": 1.0
|
|
|
|
|
},
|
|
|
|
|
"frame": {
|
|
|
|
|
"corner": "frame_corner.svg",
|
|
|
|
|
"edge": "frame_edge.svg",
|
|
|
|
|
"corner_size": [
|
|
|
|
|
128,
|
|
|
|
|
128
|
|
|
|
|
],
|
|
|
|
|
"edge_size": [
|
|
|
|
|
68,
|
|
|
|
|
32
|
|
|
|
|
],
|
|
|
|
|
"side_mid": 34,
|
|
|
|
|
"top_mid": 34,
|
|
|
|
|
"edge_mid": 34,
|
|
|
|
|
"scale": 0.25,
|
|
|
|
|
"outset": 8.5,
|
|
|
|
|
"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": [
|
|
|
|
|
40,
|
2026-11-11 15:40:10 -06:00
|
|
|
10
|
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": 6.2
|
|
|
|
|
},
|
|
|
|
|
"sounds": {
|
|
|
|
|
"roll": "sounds/roll.ogg",
|
|
|
|
|
"card_turn": "sounds/card_turn.ogg"
|
|
|
|
|
},
|
|
|
|
|
"colors": {
|
|
|
|
|
"BG": "#000000",
|
|
|
|
|
"BG_DEEP": "#000000",
|
|
|
|
|
"BG_HOVER": "#0d4d1f",
|
|
|
|
|
"PANEL": "#000000",
|
|
|
|
|
"ON_BG": "#33ff66",
|
|
|
|
|
"ON_BG_MUTED": "#21a642",
|
|
|
|
|
"CARD": "#000000",
|
|
|
|
|
"CARD_SOFT": "#031a09",
|
|
|
|
|
"CARD_HOVER": "#115c26",
|
|
|
|
|
"CARD_SHADE": "#2a4030",
|
|
|
|
|
"INK": "#33ff66",
|
|
|
|
|
"MUTED": "#a6ffbf",
|
|
|
|
|
"FAINT": "#5fd47f",
|
|
|
|
|
"RULE": "#1d9940",
|
|
|
|
|
"DASH": "#1d9940",
|
|
|
|
|
"HOVER_ROW": "#051b0b",
|
|
|
|
|
"STRIPE": "#33ff6610",
|
|
|
|
|
"TRIM": "#33ff66",
|
|
|
|
|
"TRIM_DARK": "#0b3d18",
|
|
|
|
|
"THREAD": "#ffb000",
|
|
|
|
|
"THREAD_DARK": "#4d3500",
|
|
|
|
|
"ACCENT": "#ffb000",
|
|
|
|
|
"ACCENT_DARK": "#734f00",
|
|
|
|
|
"GROUP": "#ffb000",
|
|
|
|
|
"LIT": "#0d4d1f",
|
|
|
|
|
"FLICK": "#ffb00059",
|
|
|
|
|
"PULSE": "#ffe7b2",
|
|
|
|
|
"GLOW": "#33ff66",
|
|
|
|
|
"VALUE_BG": "#2e2000",
|
|
|
|
|
"VALUE_BORDER": "#8c6100",
|
|
|
|
|
"VALUE_INK": "#ffc033",
|
|
|
|
|
"VALUE_INK_ON_BG": "#ffb000",
|
|
|
|
|
"REF_BG": "#0a3314",
|
|
|
|
|
"REF_INK": "#70ff94",
|
|
|
|
|
"REF_INK_ON_BG": "#70ff94",
|
|
|
|
|
"WARN_BG": "#431a16",
|
|
|
|
|
"WARN_INK": "#ffb1a3",
|
|
|
|
|
"DANGER_INK": "#ff8a7a",
|
|
|
|
|
"OK_INK": "#7fe0a0",
|
|
|
|
|
"NO_INK": "#ff8a7a"
|
|
|
|
|
}
|
|
|
|
|
}
|