Themes & Layouts
Change how the Dialogue Box looks, make your own theme, and let players adjust it.
Two settings decide how the Dialogue Box looks. The theme styles each part: fonts, colors, the panel, choice buttons, animations, and sounds. The layout places the parts on screen: where the box sits, where the portrait, name, and choices go. Every theme works with every layout, so you can change one without touching the other.
Built-in themes#
The SDK comes with six themes, each with its own fonts, art, motion, and sounds:
- Modern Minimal (the default): a dark rounded panel with an accent-colored name and soft click sounds.
- Fantasy Parchment: parchment in a wooden frame, a ribbon banner for the name, Roman-numbered choices, and page-turn sounds.
- Retro Pixel: a classic RPG text box with a pixel border, a cursor on the highlighted choice, and 8-bit blips.
- Sci-Fi HUD: a cyan outline panel with cut corners, a grid behind the box, and synth sounds.
- Comic Pop: thick ink outlines, a tilted name banner, halftone dots, and bouncy motion.
- High Contrast: a black panel with a yellow border, larger text, and every text at a 7:1 contrast ratio or better, for players who need it most.

Choosing a theme#
Select the Dialogue Box, open the Theme menu, and pick one. The Scene view and the Inspector's preview update right away, and you can undo the change. None removes the theme and shows the box's plain look.
Each theme is designed for one layout. When your box uses a different one, the Inspector says which and offers Use It to switch. You don't have to: the theme works with any layout.
Making your own theme#
- Pick the built-in theme closest to what you want, and click Customize next to the Theme menu. A copy is saved in
Assets/Poetix/Themes/, and the box switches to it. - Click Edit to select your copy. Its Inspector starts with a live preview: a long name, a long line, four choices with one locked and one highlighted, and a sample portrait.
- Change what you need. Every Dialogue Box using the theme updates in the Scene view as you edit.
The built-in themes themselves can't be edited, work on your saved copy. To start from nothing instead, use Create > Poetix > Dialogue Theme.

The theme's settings are grouped by part: text, panel, name plate, portrait, choices, continue prompt, the dimmer behind the box, motion, and sounds. Each setting explains itself when you hover over it, and the preview shows the result. A few tips:
- Fonts: drop a
.ttfor.otffile into a text style's Font File. The theme makes the TextMesh Pro font for you, with letters added as text needs them, so names in any language work. - Sprites: use 9-slice sprites for panels and buttons so their corners stay crisp at any size. Draw them white and color them with the theme's tint, so one sprite serves many color schemes.
- Pixel art: set the texture's Filter Mode to Point, and raise the part's Border Scale to 3 or 4 so each pixel stays sharp.
- Ready-made pieces: Show Style Library in the theme Inspector opens extra panels, frames, choice markers, continue prompts, and sounds, including typing voices, to mix into your theme.
Deleting a theme you made switches the boxes that used it back to Modern Minimal.
Layouts#
The Dialogue Box's Layout section starts with a Preset:
- Classic: the box at the bottom, the portrait on the left, the name above the line, choices above the box.
- Side Choices: like Classic, with the name on the box's top edge and choices in a list at the right.
- Storybook: like Classic, with the name centered on the box's top edge.
- JRPG: a full-width box, the name on its top edge, and choices at the right.
- Visual Novel: a large portrait standing on a full-width box, with choices in the middle of the screen.
- Subtitles: centered text at the bottom of the screen, with no panel or portrait.

Below the preset, each part has its own setting, such as Box Position (bottom, top, or center), Box Width, Choices, Portrait, and Speaker Name. Changing any of them makes the preset Custom. Turning off Show Panel hides the panel and outlines the text so it reads over the game, for remarks in passing.
For full control, turn on Arrange Pieces by Hand and move the parts yourself in the scene. See Changing the box itself.
Switching at runtime#
Themes and layouts can change while the game runs, for example a dream theme during a flashback, or subtitles during a cutscene:
using PoetixSDK.UI;
using PoetixSDK.Core.Layout;
DialogueBox.Instance.ActiveTheme = dreamTheme; // a DialogueTheme asset
DialogueBox.Instance.ActiveTheme = null; // the box's plain look
DialogueBox.Instance.ApplyLayout(LayoutPreset.Subtitles);Switching never leaves styling from the previous theme behind.
Player settings#
Two settings are for your players rather than for you. Offer them in your game's options menu and save them with your other settings:
DialogueBox.TextScale = 1.25f; // 0.75 to 2, where 1 is the theme's size
DialogueBox.ReduceMotion = true; // no open, close, choice, or highlight animationsBoth apply to every Dialogue Box and update open ones right away.