This is a comprehensive reference for Godot's Theme system, covering everything from StyleBox manipulation to dynamic theme switching and accessibility patterns. You'll find scripts for dark mode toggling, DPI scaling, RTL support, and semantic styling with theme_type_variation. The real value is in the "NEVER" section, which addresses common pitfalls like instantiating StyleBoxFlat in loops, modifying themes during draw calls, and the subtle bugs around focus styles and garbage collection. The expert patterns section teaches proper color palette management and controller-specific UI prompts. Use this when you need consistent visual styling across your game or want to support multiple themes without duplicating scenes.

skills.sh installs
363
GitHub stars
464
last updated
Aug 21, 2026

Install

$ npx -y skills add thedivergentai/gd-agentic-skills --skill godot-ui-theming --agent claude-code

Installs into .claude/skills of the current project.

Files

UI Theming

Theme resources, StyleBox styling, font management, and override system define consistent UI visual identity.

Available Scripts

global_theme_manager.gd

Expert theme manager with dynamic switching, theme variants, and fallback handling.

ui_scale_manager.gd

Runtime theme switching and DPI/Resolution scale management.

theme_swapper.gd

Dynamic Dark/Light mode implementation using cascading theme root propagation.

danger_button_assignment.gd

Expert use of theme_type_variation for semantic UI styling without scene duplication.

dynamic_stylebox_color.gd

Safe runtime StyleBox modification. Demonstrates the critical duplicate() pattern for isolated overrides.

procedural_theme_safe.gd

Reliable theming for generated UI elements using NOTIFICATION_THEME_CHANGED.

custom_chart_drawing.gd

Pattern for reading active Theme properties (colors, fonts) in custom _draw() logic.

Sponsors

Details

Repository
github.com/thedivergentai/gd-agentic-skills
Categories
Frontend Development, AI & Agent Building, Design & UI/UX, Game Development
First seen
Jun 3, 2026

More from thedivergentai/gd-agentic-skills

All 51
1dchuk avatarcalling-rust-from-tauri-frontenddchuk/claude-code-tauri-skillsGuides the user through calling Rust backend functions from the Tauri frontend using the invoke function, defining commands with the361skills.sh installs
2schalkneethling avatarsemantic-htmlschalkneethling/webdev-agent-skillssemantic html351skills.sh installs
3cloudwego avatareino-componentcloudwego/eino-extEino component selection, configuration, and usage. Use when a user needs to choose or configure a ChatModel, AgenticModel, Embedding, Retriever, Indexer, Tool,348skills.sh installs
4alfredoperez avatarangular-best-practices-translocoalfredoperez/angular-best-practicesangular best practices transloco342skills.sh installs
5arraydude avatarreact-query-best-practicesarraydude/agent-skillsReact Query v4 (TanStack Query) best practices, patterns, and troubleshooting. Use when working with useQuery, useMutation, query invalidation, caching, WebSock339skills.sh installs
6secondsky avatarnuxt-seosecondsky/claude-skillsNuxt SEO v5 modules (robots, sitemap, og-image, schema-org, link-checker, seo-utils, site-config). Use when implementing SEO, robots.txt, sitemaps, Schema.org, 335skills.sh installs