diff --git a/themes/gothic/background_scene.svg b/themes/gothic/background_scene.svg index 1a8d206..8e6c529 100644 --- a/themes/gothic/background_scene.svg +++ b/themes/gothic/background_scene.svg @@ -1 +1 @@ - + diff --git a/themes/gothic/theme.gd b/themes/gothic/theme.gd index 2c7d70d..ff737f7 100644 --- a/themes/gothic/theme.gd +++ b/themes/gothic/theme.gd @@ -10,7 +10,7 @@ const DATA := { "logo": "fortune_teller", "card_frame": "art", "font_body": "imfell", - "font_display": "unifraktur", + "font_display": "imfellsc", "background": { "kind": "radial", "colors": [ diff --git a/themes/map/theme.gd b/themes/map/theme.gd index 6d5f922..bafae6c 100644 --- a/themes/map/theme.gd +++ b/themes/map/theme.gd @@ -10,7 +10,7 @@ const DATA := { "logo": "fortune_teller", "card_frame": "art", "font_body": "imfell", - "font_display": "uncial", + "font_display": "alegreya", "background": { "kind": "radial", "colors": [ diff --git a/tools/theme_art/scenes.py b/tools/theme_art/scenes.py index 7daf98b..bcdb499 100644 --- a/tools/theme_art/scenes.py +++ b/tools/theme_art/scenes.py @@ -96,7 +96,7 @@ def aero_scene(scene): f'stroke-width="3" opacity=".45"/>') return defs, in_spread_space(body, 180), "bottom" - + """Dark edges (a vignette).""" def vignette_scene(scene): """Dark edges and a faint red arched window glow at the top.""" # CSS radial-gradient(70% 80% at 50% 40%, transparent 40%, s1): radii are 70% / 80% of the scene. @@ -104,8 +104,8 @@ def vignette_scene(scene): defs = radial_gradient("gothic_vignette", [(0.4, scene["s1"], 0), (1, scene["s1"], 1)]) body = (f'') - defs += vertical_gradient("gothic_window", [(0, scene["s2"], 1), (1, scene["s2"], 0)]) - body += '' + # The red arch "window glow" read as a stray red patch (playtest 2026-11-14), + # so the stand-in is the vignette alone; a real window is the user's art. return defs, body, "center" diff --git a/tools/theme_defs/palettes.py b/tools/theme_defs/palettes.py index fd51423..8bebcbf 100644 --- a/tools/theme_defs/palettes.py +++ b/tools/theme_defs/palettes.py @@ -88,7 +88,7 @@ THEMES = { "overrides": {"ON_BG_MUTED": "#3e6688"}, }, "gothic": { - "name": "Gothic", "fonts": ("imfell", "unifraktur"), + "name": "Gothic", "fonts": ("imfell", "imfellsc"), "background": {"kind": "radial", "colors": ["#223330", "#1b2826", "#081919"], "center": [0.5, 0.4]}, "panel": {"kind": "solid", "colors": ["#060f0f"]}, "colors": {"bg": "#1b2826", "onp": "#d9d4cc", "onpm": "#8f8a82", "card": "#d8d3c8", "card2": "#e2ddd3", @@ -180,7 +180,7 @@ THEMES = { "overrides": {}, }, "map": { - "name": "Cartographer", "fonts": ("imfell", "uncial"), + "name": "Cartographer", "fonts": ("imfell", "alegreya"), "background": {"kind": "radial", "colors": ["#f0e2bf", "#dcc391"], "center": [0.5, 0.4]}, # Deeper parchment, so the dark ink text reads on it and on the page. "panel": {"kind": "linear", "colors": ["#e3cf9f", "#cdb47e"], "angle": 90}, diff --git a/ui/font_catalog.gd b/ui/font_catalog.gd index a13ef5f..1ff6784 100644 --- a/ui/font_catalog.gd +++ b/ui/font_catalog.gd @@ -39,7 +39,7 @@ const FAMILIES := { "cinzel": {"name": "Cinzel (classical)", "group": "Themed", "roles": ["display"], "regular": "Cinzel-Variable.ttf", "variable": true}, "imfell": {"name": "IM Fell English (old book)", "group": "Themed", "roles": ["body", "display"], - "regular": "IMFellEnglish-Regular.ttf", "italic": "IMFellEnglish-Italic.ttf"}, + "regular": "IMFellEnglish-Regular.ttf", "italic": "IMFellEnglish-Italic.ttf", "fake_bold": false}, "uncial": {"name": "Uncial Antiqua (Celtic)", "group": "Themed", "roles": ["display"], "regular": "UncialAntiqua-Regular.ttf", "fake_bold": false}, "orbitron": {"name": "Orbitron (sci-fi)", "group": "Themed", "roles": ["display"], diff --git a/ui/list_tree.gd b/ui/list_tree.gd index a20a35d..59d1522 100644 --- a/ui/list_tree.gd +++ b/ui/list_tree.gd @@ -33,6 +33,13 @@ func _init(p_main: Main) -> void: add_theme_stylebox_override("selected", Style.box(Style.LIT, 4)) add_theme_stylebox_override("selected_focus", Style.box(Style.LIT, 4)) add_theme_stylebox_override("focus", StyleBoxEmpty.new()) + # Hover from the theme too: the engine's default hover (dark, with light + # text) made rows unreadable on light cards (Tarot, playtest 2026-11-14). + var hover := Style.box(Color(Style.LIT, 0.55), 4) + for box_name in ["hovered", "hovered_dimmed", "hovered_selected", "hovered_selected_focus"]: + add_theme_stylebox_override(box_name, hover if not box_name.begins_with("hovered_selected") else Style.box(Style.LIT, 4)) + for colour_name in ["font_hovered_color", "font_hovered_dimmed_color", "font_hovered_selected_color"]: + add_theme_color_override(colour_name, Style.INK) item_mouse_selected.connect(_on_click) item_activated.connect(_on_activated) item_collapsed.connect(_on_folder_toggled) diff --git a/ui/table_card_header.gd b/ui/table_card_header.gd index 67c2dd9..a57301c 100644 --- a/ui/table_card_header.gd +++ b/ui/table_card_header.gd @@ -77,7 +77,7 @@ func make(build: bool, ranged: bool) -> Control: titles.size_flags_vertical = Control.SIZE_SHRINK_CENTER titles.mouse_filter = Control.MOUSE_FILTER_IGNORE var title := Style.make_label(Formatter.strip_tags(table.name), Style.display(true), 20, Style.INK) - title.autowrap_mode = TextServer.AUTOWRAP_WORD + title.autowrap_mode = TextServer.AUTOWRAP_WORD_SMART if table.details.strip_edges() != "": # A small ⓘ after the name says hovering shows the table's details. var name_row := TableCard.hbox(4)