Alamo Studio Logo
Theming

Color Scheme

Recolor the whole UI from variables.css.

The entire NUI is colored from a single file:

html/assets/css/variables.css

It defines CSS custom properties under :root. Every other stylesheet reads from these variables, so changing one value recolors the whole interface consistently.

This file stays editable in the protected release, so you can always retheme the UI.

How it's organized

The file has one active :root block at the top (the live theme), followed by several commented-out preset blocks (Yellow, Green, Blue, Red). To switch presets, see Presets.

variables.css
:root {
    /* Main Accent (Yellow / Gold) */
    --accent: #FFEF1F;
    --accent-rgb: 255, 239, 31;
    --accent-light: #FFFC65;
    --accent-dark: #885D0B;
    --accent-deep: #998F13;
    /* ... derived colors, gradients, panel styles ... */
}

The two values you must keep in sync

The single most important rule:

--accent (hex) and --accent-rgb (comma-separated RGB) must describe the same color. Many derived colors use --accent-rgb inside rgba(...), so if they don't match, transparencies will look wrong.
variables.css
--accent: #FFEF1F;        /* hex */
--accent-rgb: 255, 239, 31; /* same color as r, g, b */

Core accent variables

VariableExampleUsed for
--accent#FFEF1FPrimary accent (buttons, highlights).
--accent-rgb255, 239, 31RGB form of --accent for rgba() usage.
--accent-light#FFFC65Lighter accent (icon gradients, hovers).
--accent-dark#885D0BDarker accent (text gradients).
--accent-deep#998F13Deepest accent shade.

Derived accent variables

These are built from --accent-rgb at different opacities — usually you don't need to edit them, they follow your accent automatically.

VariableMeaning
--accent-mutedAccent at 35% opacity.
--accent-glowAccent at 75% (glows).
--accent-softAccent at 25%.
--accent-faintAccent at 55%.
--accent-65Accent at 65%.

Radial background variables

Used for soft radial backgrounds behind panels.

VariableMeaning
--accent-radial-fromRGB start color of the radial.
--accent-radial-toRGB end color of the radial.
--accent-radial-05/12/14Pre-built radial gradients at 5% / 12% / 14% opacity.

Inset glow & border

VariableMeaning
--accent-inset-rgb / --accent-insetInner glow color.
--accent-border-rgb / --accent-borderAccent border color.

Gradients

VariableMeaning
--accent-gradientHorizontal accent fade.
--accent-gradient-textVertical accent → dark (text fills).
--accent-gradient-iconVertical accent → light (icon fills).
--accent-gradient-borderBorder gradient.

Danger / Close colors

The orange-red used for close buttons and errors. It is separate from the accent so it stays red regardless of your theme.

VariableExampleUsed for
--danger#FF5E1FClose / destructive actions.
--danger-rgb255, 94, 31RGB form.
--danger-dark#993515Darker danger.
--danger-softDanger at 45%.
--danger-bg / --danger-bg-hoverDanger button backgrounds.
--danger-glowDanger glow.
--danger-gradient-borderDanger border gradient.

Panel & layout

VariableExampleMeaning
--hue-rotate0degGlobal hue shift applied to certain elements.
--panel-border-rgb / --panel-borderOuter container border color.
--panel-radius0.521vwCorner radius of panels.
--panel-border-width0.26vwPanel border thickness.
vw units keep the UI scaling proportional across resolutions — prefer keeping these as vw.

Continue to Presets or Custom Colors.

Copyright © 2026