- 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>
117 lines
2.2 KiB
GDScript
117 lines
2.2 KiB
GDScript
extends RefCounted
|
|
## Built-in theme: Gothic. 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": "gothic",
|
|
"name": "Gothic",
|
|
"builtin": true,
|
|
"pattern": "none",
|
|
"logo": "fortune_teller",
|
|
"card_frame": "art",
|
|
"font_body": "imfell",
|
|
"font_display": "unifraktur",
|
|
"background": {
|
|
"kind": "radial",
|
|
"colors": [
|
|
"#223330",
|
|
"#1b2826",
|
|
"#081919"
|
|
],
|
|
"center": [
|
|
0.5,
|
|
0.4
|
|
]
|
|
},
|
|
"panel": {
|
|
"kind": "solid",
|
|
"colors": [
|
|
"#060f0f"
|
|
]
|
|
},
|
|
"mascot_colors": {
|
|
"outline": "#081919",
|
|
"cloth": "#65060e",
|
|
"trim": "#837f78",
|
|
"eye": "#ce1a1e",
|
|
"eye_glint": "#ffd6d6",
|
|
"inner_line": "#3b0f13"
|
|
},
|
|
"background_scene": {
|
|
"file": "background_scene.svg",
|
|
"anchor": "center"
|
|
},
|
|
"background_tile": {
|
|
"file": "background_tile.svg",
|
|
"opacity": 0.9,
|
|
"scale": 1.0
|
|
},
|
|
"frame": {
|
|
"corner": "frame_corner.svg",
|
|
"edge": "frame_edge.svg",
|
|
"corner_size": [
|
|
168,
|
|
168
|
|
],
|
|
"edge_size": [
|
|
112,
|
|
96
|
|
],
|
|
"side_mid": 56,
|
|
"top_mid": 56,
|
|
"edge_mid": 56,
|
|
"scale": 0.25,
|
|
"outset": 14.0,
|
|
"pad": 7,
|
|
"mid": 0.5
|
|
},
|
|
"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": "#1b2826",
|
|
"BG_DEEP": "#0f1615",
|
|
"BG_HOVER": "#3d4847",
|
|
"PANEL": "#060f0f",
|
|
"ON_BG": "#d9d4cc",
|
|
"ON_BG_MUTED": "#969892",
|
|
"CARD": "#d8d3c8",
|
|
"CARD_SOFT": "#e2ddd3",
|
|
"CARD_HOVER": "#c4beb2",
|
|
"CARD_SHADE": "#b5b3a9",
|
|
"INK": "#120d0d",
|
|
"MUTED": "#4d524b",
|
|
"FAINT": "#85867d",
|
|
"RULE": "#b6b0a4",
|
|
"DASH": "#87867c",
|
|
"HOVER_ROW": "#dfcdc4",
|
|
"STRIPE": "#120d0d0e",
|
|
"TRIM": "#837f78",
|
|
"TRIM_DARK": "#223330",
|
|
"THREAD": "#ce1a1e",
|
|
"THREAD_DARK": "#65060e",
|
|
"ACCENT": "#ce1a1e",
|
|
"ACCENT_DARK": "#5d0c0d",
|
|
"GROUP": "#ce1a1e",
|
|
"LIT": "#ecc2bd",
|
|
"FLICK": "#ce1a1e59",
|
|
"PULSE": "#f0babb",
|
|
"GLOW": "#ce1a1e",
|
|
"VALUE_BG": "#d6b2a9",
|
|
"VALUE_BORDER": "#d26d6a",
|
|
"VALUE_INK": "#670d0f",
|
|
"VALUE_INK_ON_BG": "#ce1a1e",
|
|
"REF_BG": "#d6aea6",
|
|
"REF_INK": "#670d0f",
|
|
"REF_INK_ON_BG": "#dd5f62"
|
|
}
|
|
}
|