Styles
Every screen of the plugin (settings menu, main and pause menus, dialogs, toasts, FPS counter) is drawn from a style: a style sheet written in the recipe language. Pick one of the twenty shipped styles, recolor it, or write your own that changes only what you want.
On this page
The shipped styles






| Style | Id | Layout | For |
|---|---|---|---|
| Vanguard | vanguard | rail: pages in a numbered column on the left | tactical shooters, extraction, competitive games |
| Noir | noir (default) | cinema: the list on the left, the detail in its own column, the game between | narrative, survival, horror |
| Arcade | arcade | tabs in a chunky rounded card | casual, party, platformers |
| Holo | holo | tabs on frosted glass | science fiction, cyberpunk, racing |
| Chronicle | chronicle | frame: a centered panel with drawn ornaments | fantasy, role-playing, strategy |
| Paper | paper | tabs on a sheet of paper, a light style | puzzle, city-builder, racing, narrative, management, any bright or premium game |
| Pixel | pixel | tabs in a game window with notched corners | retro, pixel art, platformers, roguelites, metroidvanias |
| Cozy | cozy | rail read as a journal, on soft rounded pillows | farming, crafting, life sims, cozy games |
| Sport | sport | tabs on a slanted broadcast plate | sports, racing, arcade sports |
| Rebel | rebel | tabs of black shards on a red field, a white shard for the focus | stylish role-playing, social sims, turn-based adventures |
| Fathom | fathom | frame: a tall art-deco panel under three brass rules | narrative and immersive shooters, retro-futurist, art-deco and undersea worlds, period adventures |
| Phosphor | phosphor | rail: a numbered terminal menu on a green phosphor CRT | post-apocalyptic, retro-futurist, survival, role-playing |
| Retrowave | retrowave | tabs on an opaque purple plate under an 80s sunset | retro action, neon crime stories, arcade racing, synthwave |
| Sumi | sumi | cinema: an ink wash over the world, the list on the left, the detail in its own column | samurai action, mythological adventure, ink-brush fantasy, calm dark action games |
| Implant | implant | tabs on an opaque panel with one notched corner, coral hairlines and a chromatic split | cyberpunk, immersive sims, futuristic action |
| Somber | somber | tabs with no frame, centered on one axis: soot and ash, an ember line under the focus | dark fantasy, action role-playing, unforgiving adventures |
| Eerie | eerie | rail read as a case file, every text typed, a flashlight pool for the focus | survival horror, psychological horror, dark mystery |
| Frontier | frontier | tabs on a dark wood board, a leather strap with brass tacks for the focus, a paper poster for the main menu | westerns, open-range worlds, period shooters |
| Orbit | orbit | tabs on a cool white instrument panel over black space, a graphite module plate for the focus | space exploration, sims, science-fiction adventures |
| Fjord | fjord | rail: a column of cut stones, the focus a lit stone with a blood-red edge | Norse and northern action-adventure, open-world role-playing, survival |
base is the neutral style the twenty extend; a style of yours can extend any of them.
Choose one. A style tile in the Setup tab (Look › Change: pointing at a tile previews it, a click chooses it, Use style or a double click goes back to the page with it), or Project Settings > Style > Theme. Open Settings Menu and the widgets take a Theme of their own when you want one screen in another style.
Without writing a style (Project Settings > Style):
- Palette Overrides: replace colors of the palette by role, for example
accent(the accent row under the Setup tab's style tiles writesaccent, the style editor's Colours group any role). Every color derived from it follows. - Style Edits: fonts, corners, outlines, the focus highlight, the backdrop, motion, sounds and the menus' position, as the style editor sets them (The style editor).
- Font Scale: multiplies every font size of the menu (on top of the player's Interface Size).
- Menu Title: the settings menu's title (empty: "Settings").
- Audio > Menu Sound Overrides, Menu Sound Volume, Menu Sound Class: the menu's sounds.
The palette's roles, shared by every style:
| Role | Use |
|---|---|
bg, surface, raised | Backgrounds, from the deepest to the highest layer |
overlay | Veils and sheens laid over the backgrounds (white in the shipped styles; a light style sets it dark) |
line | Rules and outlines |
ink, text, muted | Text, from the strongest to the quietest |
faint | Unavailable rows |
accent, accent_hi | The signature color and its brighter step (focus, selection, values) |
on_accent | Text and marks drawn on the accent |
danger, success, warning | Reasons and errors, destructive answers; toast kinds |
The shipped styles name these roles wherever they draw (border 1 alpha(ink, 0.3), dim gradient(right, alpha(bg, 0.94), ...)), so a role you change reaches every rule, sheen and shade made from it. A style may add colors of its own (Noir's light_band, Holo's magenta).
The style editor
New style (the last style tile of the Setup tab) and the pen on its Look row open it in place of the page column (Quick Start). Nine groups of a few choices each; the preview follows every change in place, and each change is one step of Edit > Undo.
| Group | What it changes | Stored in |
|---|---|---|
| Colours | Any role of the palette, and the style's own colors. When you set Accent alone, Accent bright follows it (lighten(accent, 0.18)) and On accent is picked for contrast: the style's own when it still reads at 4.5:1 on the new accent, else black or white, whichever reads better | Palette Overrides |
| Fonts | Titles: the display and title faces; Text: body and bold, from one family (mono stays). A family is offered for text only when it has two weights; a family of one file is offered for titles only | Style Edits > Title Font, Text Font (a family name) |
| Corners | Square, Rounded or Cut, and a size of 0 to 32 units, for rows, the focus highlight, buttons, keycaps, badges, toggles and menu items; panels, the detail, dialogs, toasts and the FPS plate get 1.6 times it; a slider's track is rounded to half its height | Corners, Corner Size |
| Outlines | An edge of 0 to 4 units on rows, buttons, keycaps, badges, menu items, panels, dialogs and toasts, in the style's own edge color (else line); one-sided edges stay the style's | Outline (-1: the style's) |
| Selection | How the focused row and menu item stand out: Outline, Fill, Bar, Brackets or Underline, in the accent. The style's own marks on the focus (rules, glow, sweep, cut, shadow) are taken off, so that one mark remains | Selection |
| Backdrop | Blur of the game behind the menus, 0 to 48 units (handhelds keep their opaque plate); Shade, 60 to 120 %, multiplies the opacity of the style's shades (the backdrop's and the main and pause menus'), never past 98 % | Blur (-1: the style's), Shade (1: the style's) |
| Motion | Snappy (0.8 times) or Smooth (1.25 times) every transition of the style, kept inside the charter below; springs follow, periods (sweep, pulse) do not | Motion |
| Sounds | Another style's whole set of 15 sounds, or none. Menu Sound Overrides still win, event by event | Sounds (a style id, none; empty: the style's) |
| Menu position | Where the main and pause menus sit: the nine places of a 3 x 3 grid | Menu Position |
Text size is not a group: it is a project setting, Text size under the style tiles (Font Scale), which Save as style does not copy into the style. Neither is the layout (rail, tabs, cinema, frame: pick another style for another layout).
How the edits reach the menus. Palette Overrides and Style Edits make one more layer of the recipes, compiled after all of them (the plugin's, Project Settings', your files and your recipe assets): an override theme for every style. A value you set there wins over a palette or style line of your own files, and each style tile shows what a click on it would give. A screen opened in another style (the Theme of Open Settings Menu or of a widget) wears the edits too. A change restyles the open screens in place: no recipe is compiled again, the page and the focus stay. High Contrast Menus keeps its own colors: the variant's values of the roles it redefines win over yours, so that its 7:1 holds; the other roles take yours. Get Theme Color and Get Theme Font give what the menus draw, the edits included.
Save as style
SAVE AS STYLE turns the edits into a recipe of your own, so that they travel with the style (to another project, or as a second style of your game):
- It writes
Config/(Neo Settings/ <Name>. hset My ProjectgivesMy;Project. hset _2,_3... when the file exists): a style named by the editor's name field (empty: your project's name in words), with an id made from that name (my_project), that extends the style you started from. - Then, in one step of Undo, Theme names the new style and Style Edits and Palette Overrides are emptied (the file holds them now). Font Scale stays a project setting. Undo gives the previous style and its edits back, and leaves the file, unused.
- The notification, "Saved as MyProject.hset", has Undo and Open file.
The file is commented for hand edits: a short how-to, then the lines the Setup tab writes, between two markers,
// ---- Set in the Setup tab: Save as style rewrites these lines; your own lines further down win over them ----
palette accent #FF7A59
palette accent_hi lighten(accent, 0.18)
palette on_accent #050505
// ---- End of the Setup tab's lines ----then one section per subject (Colours, Fonts, Text size, Corners, Outlines, Selection, Main and pause menus, Behind the menus, Motion, Sounds, High Contrast), where every adjustable line is written commented, with the parent style's own value: delete the //, change the value, save, and the editor reloads the style. A line turned on without a change changes nothing, unless the Setup tab's lines set that value: your line wins over them (see below).
Saving again. From the pen (or Edit) on a style you saved (Theme names it), Save as style updates that file in place: only the lines between the two markers change, and the name of the theme line when you renamed the style (its id never changes, so that Theme stays valid). The new lines are merged into the old block: a line of the block stays unless your new edits set again everything it sets, so a second save never loses what the first one set. New style always writes a new file, which extends the chosen style, even a style of yours. Your own lines after the end marker win over the block (in a recipe, a later line wins): when one of them sets a value the block sets, the notification says so ("Accent colour is also set on line 42, which wins").
Your own style
The quickest way is the style editor and Save as style, above. You can also write a recipe file (.hset) in your project's Config/ folder yourself: the plugin reads it as it is, reloads it while you edit, and packages it with your game. State only what changes; everything else comes from the style you extend, its High Contrast variant included, and follows the plugin's updates of it.
hset 1
namespace "MyGame.Settings"
theme ember "Ember" extends noir {
palette {
accent #FF7A1A
accent_hi lighten(accent, 0.2)
}
font title "Fonts/MyTitleFace.ttf"
style mainmenu.title { size 96 }
motion { open 240ms out_cubic }
}Then pick ember in Project Settings > Style > Theme (the drop-down lists the styles of your recipes too, and the Setup tab gives it a tile). Font and sound files are looked up next to the recipe first, then in the plugin's own files: fonts/... names one of the shipped fonts, in Source/ (fonts/), and sounds/... a sound of Resources/. The shipped fonts are under the SIL Open Font License 1.1; their notices are in Source/. Recipe assets imported in the Content Browser work too (Recipes).
Your own fonts. Put .ttf or .otf files in Config/: the style editor lists their families after the shipped ones, by the family name and the weight written inside each file, never by its file name (the shipped Orbitron face is listed under its file's family name, HS Orbit). A family of one file is offered for titles only; text needs two weights, one for labels and a heavier one for values.
Change a shipped style in place with override theme:
override theme vanguard {
palette { accent #3FA7FF }
}High Contrast. Each style has a variant high_contrast { palette { … } style … } block, used while the player's High Contrast Menus setting is on: opaque plates, brighter text, a thicker focus. A style that extends another keeps the parent's variant unless it states its own.
Your HUD in the same style. Get Theme Color (a palette role) and Get Theme Font (a role: display, title, body, bold, mono) give your UMG the style's colors and faces as the menus draw them (Palette Overrides, Style Edits and High Contrast Menus included); the UMG building blocks can take them by themselves (Use Style, Your Own UI).
What every style keeps
Whatever a style says, the renderer keeps these:
- Text at least 18 units on a 1080p screen (26 pixels on a TV), never rendered under 12 pixels.
- One focus highlight, 3 to 4 units thick, that glides from row to row; D-pad, stick, keyboard and mouse on every screen; focus and hover are the same.
- Nothing shown by color alone: changed values, waiting values, unavailable rows, toast kinds and costs each have a shape, a word or an icon.
- Motion inside a charter: hover and focus 80 to 150 ms, screens open in 150 to 300 ms and close about 25 % faster, nothing over 400 ms (a longer
motionline is reported, HS611); no overshoot on navigation; under Reduce Motion, short fades only. - The FPS counter's digits keep 4.5:1 over any game behind them (its plate is made more opaque, or its text black or white, when a style falls short). The shipped styles were measured over game backgrounds from black to white: 4.5:1 or more for every text, 3:1 or more for grayed rows and items.
- A destructive item or answer is never focused first.
Reference
All lengths are units at 1080p (1 unit = 1 pixel of a 1920 × 1080 screen at Interface Size 100 %).
Values
<color>:#RRGGBB[AA], a palette role,alpha(c, a),mix(a, b, t),lighten(c, t),darken(c, t).<paint>: a color,none, orgradient(<dir>, c1, c2[, c3, c4])with<dir>=right,down,left,upor an angle (45deg).<len>: a number of units.<dur>:120msor0.12s.<font>: a role (display,title,body,bold,mono).- Tokens:
token radius_md 8names a value; a word that names a token is replaced by its value anywhere in the style (radius radius_md), and a child style's token reaches its parent's styles. - Palette: an entry may use other entries (
accent_soft alpha(accent, 0.25)); colors are resolved on the final palette, so a child style, the High Contrast variant or a Palette Override changes every color derived from it.
Box properties (any selector that draws a box)
| Property | Value | Notes |
|---|---|---|
bg | paint | Fill |
border | <len> <paint> | All edges |
border_left, border_right, border_top, border_bottom | <len> <paint> | One edge, drawn inside |
radius | <len> or <tl> <tr> <br> <bl> | Rounded corners |
chamfer | <len> [tl tr br bl] | Cut corners (default: all four) |
shadow | <dx> <dy> <blur> <color> | Soft shadow; blur 0: a hard offset shadow |
glow | <len> <color> | Outer glow |
pad | <all>, <v> <h> or <t> <r> <b> <l> | Inner padding |
height, width, min_width, max_width | <len> | |
gap | <len> | Space between children |
opacity | 0 to 1 | |
scale | number | State transitions only (hover 1.05 at most) |
offset_x, offset_y | <len> | State transitions (a focused label slides) |
Text properties
font <role>, size <len>, color <color>, case upper|none (upper case with the language's rules), tracking <em> (letter spacing), shadow <dx> <dy> <color>, align left|, outline <len> <color>. On a selector that draws a box and a text (keycap, button, toast, tab, badge), a shadow with a blur value is the box's.
Selectors
| Selector | Draws | Extra properties |
|---|---|---|
screen | The settings menu's root | font_scale |
panel | Main container (tabs, frame) | box |
header | Title zone | box, height |
title, subtitle | The menu's title, the line beside it (current page) | text |
tabs | Horizontal tab bar, with the shoulder glyphs at both ends | box, align left|center |
tab | One tab (hover, focus, selected) | box + text, icon_size |
tab.indicator | The selected tab's moving indicator | kind underline|, thickness, inset, box |
rail | Vertical page column (rail layout) | box, width |
rail.item | One rail entry (hover, focus, selected) | box + text, index true|false (01, 02...), icon_size |
list | The scrolling list | pad, gap, wrap true|false (Up on the first row goes to the last) |
section | A section header | text, height, rule <len> <paint>, pad |
row | A setting row (hover, focus, pressed, disabled, changed) | box |
row.label, row.value | Row label (states as row, offset_x), value text | text |
row.marker | The "changed from default" marker | kind dot|, size, bg |
focus | The focus highlight that moves between rows, and the ring around a focused button | kind fill|, box, width, length, color, inset, ends none|, ends_size, sweep <paint>, sweep_width |
toggle | Toggle control (on, off, focus, disabled) | kind switch|, width, height, knob, knob_bg, knob_border, track_on, track_off, text_on, text_off, shape square|, show_value, box |
choice | Choice control (focus, disabled) | kind chevrons|, chevron_size, chevron_color, dots, dot_size, dot_on, dot_off, dot_shape, segment_bg, segment_on, text_on, width |
slider | Slider control (focus, disabled) | kind bar|segments, width, track_height, track_bg, fill, radius, knob kind none|, knob_size, knob_bg, knob_border, segments, segment_gap, value_width |
keycap | A key or button cell (focus, empty, capture) | box + text, min_width |
glyph | Input glyphs on their own (prompts, tab shoulders) and controller button plates | size, stroke, fill, color, colors ink|native |
button, button., button. | Text buttons (hover, focus, pressed, disabled); the suggested answer; an answer that loses something (never focused first) | box + text |
badge | A small pill ("Restart required", pending count) | box + text |
detail | The detail panel | box, width, preview_ |
detail.title, detail.body, detail.reason | Detail texts | text |
detail.cost | Cost pips | size, on, off, gap |
prompts, prompt | The input prompt bar, one prompt | box, height, align; text, glyph_size |
modal | Dialog box | box, width, ring_color, ring_width, ring_size (countdown ring), icon_size (warning icon of a destructive question; 0: none) |
modal.dim, modal.title, modal.body | The dim behind a dialog; dialog texts | bg; text |
toast | A toast (states info, success, warning, error) | box + text, corner top_ (default bottom_right), max_width, gap |
toast.icon | The kind's icon (states as toast) | size, color |
scrollbar | Scroll thumb | width, bg, radius, track <paint> |
ornament | Frame decoration (frame layout, its dialogs, the main and pause menus' column) | kind double_, color, size, inset, rules 0..3, gap, corners none|, marks none|diamond |
mainmenu | The main menu's column | box, align left|, valign top|, width, dim <paint> (replaces the backdrop's dim while the menu shows) |
mainmenu. | The game's title | text, rule <len> <paint>, rule_width, rule_mark none|, gap |
mainmenu.logo | Title Image instead of the title | box (height) |
mainmenu.item | One item (hover, focus, pressed, disabled); its focus state is the highlight that glides between items; an item with arrows draws the choice chevrons (chevron_size) in its label's color | box + text, width, height, gap, index true|false, icon_size |
pause, pause.title, pause.item | The pause menu, as the main menu's (an undeclared one takes the mainmenu.* one) | as above |
fps | The FPS counter's plate and digits | box + text |
A selector a style leaves out takes defaults derived from its palette. States are written style row:focus { … } or nested (style row { focus { … } }); several selectors can share a block: style row.label, row.value { … }.
Backdrop
backdrop { … }: blur <len> (0: off), fallback <color> (an opaque plate where blur is unavailable, and on handhelds), dim <paint>, vignette <0..1>, grid <cell> <color>, scanlines <spacing> <color>, glow <color> <radius> <x> <y>, noise <0..1>.
Layouts
| Layout | Parameters | Giving way on small screens |
|---|---|---|
rail | rail_width, content_width, detail_width, margin, gap, header_height | margin_min, detail_min, list_min, rail_min, rail_icons, min_rows |
tabs | content_width, detail_width, tab_height, margin, gap, header_height | margin_min, detail_min, list_min, min_rows |
cinema | list_x, list_width, detail_width, detail_height, margin, gap, header_height | margin_min, detail_min, list_min, min_rows |
frame | width, height, detail_height, margin, gap, tab_height, header_height, content_width | margin_min, width_min, height_min, min_rows |
How the layouts give way is described in Screens.
Motion
motion { <name> <dur> [<easing>] … } or <name> spring <hz> [<damping>]. Names: hover, press, focus (the highlight's spring), value, tab, page, open, close, stagger, modal (dialogs), toast, marker, sweep, pulse, scroll, screen_open and screen_close (main and pause menus; the Neo Async Loading Screen reads them too). Easings: linear, in_quad, out_quad, in_out_quad, in_cubic, out_cubic, in_out_cubic, out_quart, out_quint, out_expo, in_out_sine, out_back, spring <hz> <damping>.
Sounds
sound <event> "<file., or sound <event> none. Events: hover, move, confirm, back, toggle_on, toggle_off, tick, tab, error, open, close, capture, captured, apply, reset, toast (silent unless a style binds it).
Tokens the renderer reads
| Token | Meaning | Default |
|---|---|---|
press_scale | Squash of a pressed row or button (1: none) | 0.98 |
open_distance | Slide of a screen as it opens, in units (0: fade only) | 14 |
open_scale | Scale a screen opens from (1: none) | 0.985 |
page_distance | Slide of the content when the page changes | 20 |
value_slide | Slide of a choice's text when its value changes | 14 |
stagger_cap | Rows (or menu items) that arrive one after the other | 10 |
toast_ | Slide of a toast from its screen edge (0: fade only) | 24 |
Under Reduce Motion the renderer ignores the distances, scales and squash.
Something not as described? Every code the editor shows has its own entry in Troubleshooting.