fix(shell): readable ink prose + uniform consumable tiles
The narration RichTextLabel had no theme styling, so it rendered near-white
and was unreadable on parchment. Add a base RichTextLabel style to the theme
(dark INK_BODY serif at 20px, italic face wired) — systemic and previews in
the editor; every parchment prose surface now reads as dark ink. Also clip
the consumable slot labels so a long name ("Antidote") can't stretch its tile
wider than the empty ones — all 8 stay a uniform 62px.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -176,6 +176,8 @@ theme_type_variation = &"ItemTile"
|
||||
layout_mode = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
clip_text = true
|
||||
theme_override_font_sizes/font_size = 11
|
||||
theme_type_variation = &"Mono"
|
||||
text = "Salve"
|
||||
|
||||
@@ -189,6 +191,8 @@ theme_type_variation = &"ItemTile"
|
||||
layout_mode = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
clip_text = true
|
||||
theme_override_font_sizes/font_size = 11
|
||||
theme_type_variation = &"Mono"
|
||||
text = "Draught"
|
||||
|
||||
@@ -202,6 +206,8 @@ theme_type_variation = &"ItemTile"
|
||||
layout_mode = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
clip_text = true
|
||||
theme_override_font_sizes/font_size = 11
|
||||
theme_type_variation = &"Mono"
|
||||
text = "Bomb"
|
||||
|
||||
@@ -215,6 +221,8 @@ theme_type_variation = &"ItemTile"
|
||||
layout_mode = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
clip_text = true
|
||||
theme_override_font_sizes/font_size = 11
|
||||
theme_type_variation = &"Mono"
|
||||
text = "Antidote"
|
||||
|
||||
@@ -228,6 +236,8 @@ theme_type_variation = &"ItemTile"
|
||||
layout_mode = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
clip_text = true
|
||||
theme_override_font_sizes/font_size = 11
|
||||
theme_type_variation = &"Mono"
|
||||
text = "Ration"
|
||||
|
||||
@@ -241,6 +251,8 @@ theme_type_variation = &"ItemTile"
|
||||
layout_mode = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
clip_text = true
|
||||
theme_override_font_sizes/font_size = 11
|
||||
theme_type_variation = &"Mono"
|
||||
text = "Torch"
|
||||
|
||||
@@ -254,6 +266,8 @@ theme_type_variation = &"ItemTileEmpty"
|
||||
layout_mode = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
clip_text = true
|
||||
theme_override_font_sizes/font_size = 11
|
||||
theme_type_variation = &"Mono"
|
||||
|
||||
[node name="Slot8" type="PanelContainer" parent="Split/World/CommandBar/Consumables"]
|
||||
@@ -266,6 +280,8 @@ theme_type_variation = &"ItemTileEmpty"
|
||||
layout_mode = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
clip_text = true
|
||||
theme_override_font_sizes/font_size = 11
|
||||
theme_type_variation = &"Mono"
|
||||
|
||||
[node name="EndTurn" type="Button" parent="Split/World/CommandBar"]
|
||||
|
||||
Reference in New Issue
Block a user