UI Theme Styler
Apply standardized project themes and layout patterns to UI scenes.
Workflow
- •Theme Inversion: Verify the root node links to
res://assets/themes/game_theme.tresviaExtResource. - •Background Setup: Apply
NinePatchRectwith standard margins from ui-specs.md. - •Control Sizing: Use
anchors_preset = 15(Full Rect) for overlays or specific containers. - •Verification: Check contrast and alignment between Title and Body elements.
Guidelines
- •No Inlines: Do not set local style overrides; modify the
.tresfile or use theme classes instead. - •Consistency: Maintain the "City Building Menu Pattern" described in
COPILOT-INSTRUCTIONS.md.
Artefacts to Update (UI changes)
- •When updating theme tokens or styles, update
res://assets/themes/game_theme.tresand add a short note to./docs/todo/master_todo.mdreferencing the affected scenes (e.g.,src/scenes/main_menu.tscn). - •If prompts or skills reference visual tokens or theme names, update the corresponding files in
./.github/prompts/and./.github/skills/respectively. - •Commit theme edits in a separate PR and include screenshot examples in the PR description where possible.