NeoSettingsDocsNeo Async Loading Screen
CustomizeStyles

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
  1. The shipped styles
  2. The style editor
  3. Save as style
  4. Your own style
  5. What every style keeps
  6. Reference
  7. Values
  8. Box properties (any selector that draws a box)
  9. Text properties
  10. Selectors
  11. Backdrop
  12. Layouts
  13. Motion
  14. Sounds
  15. Tokens the renderer reads

The shipped styles

The Vanguard style
The Arcade style
The Holo style
The Sport style
The Rebel style
The Phosphor style
Six of the 20 styles. The table below lists them all.
StyleIdLayoutFor
Vanguardvanguardrail: pages in a numbered column on the lefttactical shooters, extraction, competitive games
Noirnoir (default)cinema: the list on the left, the detail in its own column, the game betweennarrative, survival, horror
Arcadearcadetabs in a chunky rounded cardcasual, party, platformers
Holoholotabs on frosted glassscience fiction, cyberpunk, racing
Chroniclechronicleframe: a centered panel with drawn ornamentsfantasy, role-playing, strategy
Paperpapertabs on a sheet of paper, a light stylepuzzle, city-builder, racing, narrative, management, any bright or premium game
Pixelpixeltabs in a game window with notched cornersretro, pixel art, platformers, roguelites, metroidvanias
Cozycozyrail read as a journal, on soft rounded pillowsfarming, crafting, life sims, cozy games
Sportsporttabs on a slanted broadcast platesports, racing, arcade sports
Rebelrebeltabs of black shards on a red field, a white shard for the focusstylish role-playing, social sims, turn-based adventures
Fathomfathomframe: a tall art-deco panel under three brass rulesnarrative and immersive shooters, retro-futurist, art-deco and undersea worlds, period adventures
Phosphorphosphorrail: a numbered terminal menu on a green phosphor CRTpost-apocalyptic, retro-futurist, survival, role-playing
Retrowaveretrowavetabs on an opaque purple plate under an 80s sunsetretro action, neon crime stories, arcade racing, synthwave
Sumisumicinema: an ink wash over the world, the list on the left, the detail in its own columnsamurai action, mythological adventure, ink-brush fantasy, calm dark action games
Implantimplanttabs on an opaque panel with one notched corner, coral hairlines and a chromatic splitcyberpunk, immersive sims, futuristic action
Sombersombertabs with no frame, centered on one axis: soot and ash, an ember line under the focusdark fantasy, action role-playing, unforgiving adventures
Eerieeerierail read as a case file, every text typed, a flashlight pool for the focussurvival horror, psychological horror, dark mystery
Frontierfrontiertabs on a dark wood board, a leather strap with brass tacks for the focus, a paper poster for the main menuwesterns, open-range worlds, period shooters
Orbitorbittabs on a cool white instrument panel over black space, a graphite module plate for the focusspace exploration, sims, science-fiction adventures
Fjordfjordrail: a column of cut stones, the focus a lit stone with a blood-red edgeNorse 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 writes accent, 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:

RoleUse
bg, surface, raisedBackgrounds, from the deepest to the highest layer
overlayVeils and sheens laid over the backgrounds (white in the shipped styles; a light style sets it dark)
lineRules and outlines
ink, text, mutedText, from the strongest to the quietest
faintUnavailable rows
accent, accent_hiThe signature color and its brighter step (focus, selection, values)
on_accentText and marks drawn on the accent
danger, success, warningReasons 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.

GroupWhat it changesStored in
ColoursAny 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 betterPalette Overrides
FontsTitles: 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 onlyStyle Edits > Title Font, Text Font (a family name)
CornersSquare, 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 heightCorners, Corner Size
OutlinesAn 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'sOutline (-1: the style's)
SelectionHow 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 remainsSelection
BackdropBlur 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)
MotionSnappy (0.8 times) or Smooth (1.25 times) every transition of the style, kept inside the charter below; springs follow, periods (sweep, pulse) do notMotion
SoundsAnother style's whole set of 15 sounds, or none. Menu Sound Overrides still win, event by eventSounds (a style id, none; empty: the style's)
Menu positionWhere the main and pause menus sit: the nine places of a 3 x 3 gridMenu 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/NeoSettings/<Name>.hset (My Project gives MyProject.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,

Recipe
    // ---- 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/NeoSettings/ 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.

Recipe
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/ThirdParty/Fonts (fonts/Inter_Regular.ttf), and sounds/... a sound of Resources/NeoSettings/sounds. The shipped fonts are under the SIL Open Font License 1.1; their notices are in Source/ThirdParty/Fonts/LICENSES.md. Recipe assets imported in the Content Browser work too (Recipes).

Your own fonts. Put .ttf or .otf files in Config/NeoSettings/fonts/: 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:

Recipe
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 motion line 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, or gradient(<dir>, c1, c2[, c3, c4]) with <dir> = right, down, left, up or an angle (45deg).
  • <len>: a number of units. <dur>: 120ms or 0.12s. <font>: a role (display, title, body, bold, mono).
  • Tokens: token radius_md 8 names 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)

PropertyValueNotes
bgpaintFill
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
opacity0 to 1
scalenumberState 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|center|right, 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

SelectorDrawsExtra properties
screenThe settings menu's rootfont_scale
panelMain container (tabs, frame)box
headerTitle zonebox, height
title, subtitleThe menu's title, the line beside it (current page)text
tabsHorizontal tab bar, with the shoulder glyphs at both endsbox, align left|center
tabOne tab (hover, focus, selected)box + text, icon_size
tab.indicatorThe selected tab's moving indicatorkind underline|pill|block|bar|notch|none, thickness, inset, box
railVertical page column (rail layout)box, width
rail.itemOne rail entry (hover, focus, selected)box + text, index true|false (01, 02...), icon_size
listThe scrolling listpad, gap, wrap true|false (Up on the first row goes to the last)
sectionA section headertext, height, rule <len> <paint>, pad
rowA setting row (hover, focus, pressed, disabled, changed)box
row.label, row.valueRow label (states as row, offset_x), value texttext
row.markerThe "changed from default" markerkind dot|diamond|bar|none, size, bg
focusThe focus highlight that moves between rows, and the ring around a focused buttonkind fill|outline|brackets|bar|underline|ring, box, width, length, color, inset, ends none|diamond|dot, ends_size, sweep <paint>, sweep_width
toggleToggle control (on, off, focus, disabled)kind switch|checkbox|segmented|text, width, height, knob, knob_bg, knob_border, track_on, track_off, text_on, text_off, shape square|circle|diamond, show_value, box
choiceChoice control (focus, disabled)kind chevrons|segmented, chevron_size, chevron_color, dots, dot_size, dot_on, dot_off, dot_shape, segment_bg, segment_on, text_on, width
sliderSlider control (focus, disabled)kind bar|segments, width, track_height, track_bg, fill, radius, knob kind none|circle|bar|diamond, knob_size, knob_bg, knob_border, segments, segment_gap, value_width
keycapA key or button cell (focus, empty, capture)box + text, min_width
glyphInput glyphs on their own (prompts, tab shoulders) and controller button platessize, stroke, fill, color, colors ink|native
button, button.primary, button.destructiveText buttons (hover, focus, pressed, disabled); the suggested answer; an answer that loses something (never focused first)box + text
badgeA small pill ("Restart required", pending count)box + text
detailThe detail panelbox, width, preview_height
detail.title, detail.body, detail.reasonDetail textstext
detail.costCost pipssize, on, off, gap
prompts, promptThe input prompt bar, one promptbox, height, align; text, glyph_size
modalDialog boxbox, width, ring_color, ring_width, ring_size (countdown ring), icon_size (warning icon of a destructive question; 0: none)
modal.dim, modal.title, modal.bodyThe dim behind a dialog; dialog textsbg; text
toastA toast (states info, success, warning, error)box + text, corner top_left|top_right|bottom_left|bottom_right (default bottom_right), max_width, gap
toast.iconThe kind's icon (states as toast)size, color
scrollbarScroll thumbwidth, bg, radius, track <paint>
ornamentFrame decoration (frame layout, its dialogs, the main and pause menus' column)kind double_rule|corners|diamonds|none, color, size, inset, rules 0..3, gap, corners none|flourish|diamond|bracket, marks none|diamond
mainmenuThe main menu's columnbox, align left|center|right, valign top|center|bottom, width, dim <paint> (replaces the backdrop's dim while the menu shows)
mainmenu.titleThe game's titletext, rule <len> <paint>, rule_width, rule_mark none|diamond|dot, gap
mainmenu.logoTitle Image instead of the titlebox (height)
mainmenu.itemOne 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 colorbox + text, width, height, gap, index true|false, icon_size
pause, pause.title, pause.itemThe pause menu, as the main menu's (an undeclared one takes the mainmenu.* one)as above
fpsThe FPS counter's plate and digitsbox + 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

LayoutParametersGiving way on small screens
railrail_width, content_width, detail_width, margin, gap, header_heightmargin_min, detail_min, list_min, rail_min, rail_icons, min_rows
tabscontent_width, detail_width, tab_height, margin, gap, header_heightmargin_min, detail_min, list_min, min_rows
cinemalist_x, list_width, detail_width, detail_height, margin, gap, header_heightmargin_min, detail_min, list_min, min_rows
framewidth, height, detail_height, margin, gap, tab_height, header_height, content_widthmargin_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.wav>" [volume <v>] [pitch <p>] [vary <v>], 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

TokenMeaningDefault
press_scaleSquash of a pressed row or button (1: none)0.98
open_distanceSlide of a screen as it opens, in units (0: fade only)14
open_scaleScale a screen opens from (1: none)0.985
page_distanceSlide of the content when the page changes20
value_slideSlide of a choice's text when its value changes14
stagger_capRows (or menu items) that arrive one after the other10
toast_distanceSlide 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.