Design & appearance
Ready-made designs, colours, light/dark mode, menu and customer panel styles, custom CSS, CSS variables and class names.
Appearance and the site editor
Admin → Appearance shows your active design, the other ready-made designs and your pages. Edit site next to the active design (or Edit on its card) opens one editor:
| Area | What you do |
|---|---|
| Left → Site | Colours, Type & corners, Site menu, Footer, Customer panel, Brand, Custom CSS. These apply to every page of your site. |
| Left → Page sections | The selected page's blocks: add, reorder, duplicate, hide, delete. |
| Centre | Live preview: menu, page blocks and footer. Click the menu, a section or the footer in the preview to open its settings on the right. With "Customer panel" selected the preview shows the panel. |
| Right | Settings of the selected item; with nothing selected, the page settings (title, address, visibility, SEO description). |
| Top bar | Page picker, language, undo/redo, desktop/tablet/phone, light/dark, Live preview window, Save draft, Publish. |
Save draft saves the site settings and the page draft; Publish also makes the page live. The live preview window opens your real site in a new tab and shows unsaved appearance changes there.
Ready-made designs
Every panel ships with fifteen designs. See them all with live demos in the design gallery.
| Design | Character | Menu | Customer panel sidebar |
|---|---|---|---|
| Standard | Centred hero, feature cards | Floating dock, glass | Glass |
| Classic | Sign-in card next to the headline, white cards | Bar, menu centred | Plain |
| Night | Dark glass and neon glow | Floating dock | Glass |
| Corporate | Calm and trustworthy, dotted texture | Bar, menu left | Plain |
| Quick Order | Gradient hero with an order form on the home page | Bar, menu centred | Plain |
| Social Pop | Vivid gradients, rounded shapes | Floating dock | Brand colour |
| Minimal | Big type, flat surfaces | Bar, menu left, transparent | Plain, flat cards |
| Reseller Pro | Dense and table-heavy for resellers | Bar, menu left, dark | Dark |
| Premium | Dark background, gold accents | Bar, menu centred, dark | Dark |
| Bento | Bright, bento card grid, packages, statistics band | Bar, menu centred, glass | Plain, shadow cards |
| Neon | Dark, glowing gradient headline, countdown, scrolling platforms | Floating dock | Dark |
| Aurora | Northern-lights gradients on a deep background, glass cards, statistics band | Floating dock | Glass |
| Brutal | Thick black outlines, hard shadows, square corners | Bar, menu left | Plain |
| Clean | Lots of white space, crisp type, product-page feel | Bar, menu centred, glass | Plain, flat cards |
| Glass | Bright frosted cards, quick order hero | Floating dock | Glass, shadow cards |
When applying a design you choose:
- Apply with home page: the design's home page is created and published (your current home draft is replaced).
- Colours and style only: your home page is left alone.
Tip: designs set layout and character; colours are yours. Change the main colour after applying a design and the design stays, only its colours change.
Colours and modes
- Main colour: buttons, links, highlights. 12 presets or any hex code.
- Second colour: the second stop of gradients and some accents. Leave it on Automatic to derive it from the main colour.
- Default mode: whether the site opens light or dark for visitors who haven't chosen. A visitor's own choice is remembered in their browser.
- Background, card and text colours: separately for light and dark mode. Empty fields are derived from the main colour. When you change the text colour, secondary text, borders and all grey tones are computed from it.
Button text colour is picked automatically: dark on light main colours such as lime or yellow, white otherwise.
Site menu
Menu layout:
| Value | Look |
|---|---|
Floating dock (dock) | A rounded pill floating below the top edge |
Bar · menu left (left) | Full-width bar; menu right after the logo |
Bar · menu centre (center) | Full-width bar; menu centred |
Bar · menu right (right) | Full-width bar; menu next to the buttons |
Logo above menu (stacked) | Logo centred on top, menu below |
Menu background: Solid (surface), Frosted glass (glass), Brand colour (brand), Dark (dark), Transparent (transparent). Automatic uses the design's default.
Language, currency & theme switchers: Separate icons (icons), Flags & codes (labels), Single capsule (segmented), One dropdown (combined, flag + "EN · USD") or Settings icon (menu). Under Show in the menu the light/dark switch, currency and language can each be hidden. On mobile every style except separate icons collapses into one settings button.
Footer
- Layout: Columns (
columns: logo and text on the left, link groups in columns), Centred (centered), Single row (minimal: headings and text hidden, links side by side). - Background: Solid (
surface), Brand colour (brand), Dark (dark), Transparent (transparent). Text switches to a readable colour automatically. - Footer text: the line under the logo (max 300 characters). Empty uses the default text of each language.
- Links: groups and links are added in Admin → Menus → Footer; the editor's "Edit footer links" button goes straight there.
Customer panel
- Sidebar: Plain, Frosted glass, Brand colour, Dark.
- Cards: Bordered, Shadow, Flat.
The customer panel's background, cards and text follow the colours from the Colours tab.
Custom CSS
Rules in Appearance → Custom CSS load on your site and customer panel and never in the admin (so a broken rule can't lock you out).
- Up to 50,000 characters.
@importand<style>tags are stripped.- Loaded after the theme CSS, so you can override the variables below.
- Try changes in the live preview window before saving.
/* Slightly darker brand tone on headings only */
.nx-h1, .nx-h2 { color: color-mix(in srgb, var(--brand-solid) 70%, var(--on-surface)); }
/* Rounder cards */
.nx-card { border-radius: 28px; }
/* Thin brand line under the menu, only in the Reseller Pro design */
html[data-design="pro"] .nx-header-bar { border-bottom: 2px solid var(--brand-solid) !important; }
/* Customer panel cards in dark mode */
html.dark .nx-dcard { background: #101418 !important; }
Some Tailwind utility classes use !important. If a rule has no effect, add !important.
CSS variables
The theme defines these on :root (light) and html.dark (dark):
| Variable | Meaning |
|---|---|
--bg, --background, --surface | Page background |
--surface-container-lowest … --surface-container-highest | Card layers |
--on-surface, --on-background | Main text colour |
--on-surface-variant | Secondary text |
--outline, --outline-variant | Borders |
--primary | Link/accent colour (lighter in dark mode) |
--brand-solid, --brand-solid-hover | Filled button background and hover |
--on-brand | Readable text colour on brand backgrounds |
--brand-solid-2 | Second gradient colour |
--secondary, --secondary-container | Second colour |
--nx-accent, --nx-accent-2 | Your raw main and second colour |
--radius-lg, --radius-xl, --radius-2xl, --radius-3xl | Corner radii |
--font-family-display, --font-family-body | Heading and body font |
--color-indigo-50 … --color-indigo-950 | 11-step scale of the main colour |
--color-violet-*, --color-purple-* | Scale of the second colour |
--color-slate-50 … --color-slate-950 | Greys derived from text and background |
Radii by corner setting (px, lg/xl/2xl/3xl): Square 0/0/0/0, Slight 4/6/8/10, Medium 6/9/12/16, Round 8/12/16/24, Extra round 12/16/22/30.
HTML attributes
The <html> tag carries your choices, so CSS can target them:
| Attribute | Values |
|---|---|
class="dark" | When dark mode is on |
data-design | standard, classic, night, corporate, quick, pop, mono, pro, premium, bento, neon, aurora, brutal, clean, glass (admin on admin pages) |
data-header | dock, left, center, right, stacked |
data-header-tone | surface, glass, brand, dark, transparent |
data-dash-sidebar | surface, glass, brand, dark |
data-dash-cards | bordered, shadow, flat |
data-footer | columns, centered, minimal |
data-footer-tone | surface, brand, dark, transparent |
Class names
Blocks and the site shell use stable nx-* classes:
| Area | Classes |
|---|---|
| Page and sections | .nx-page, .nx-public (services, API, blog), .nx-section, .nx-block-hero, .nx-block-services … |
| Section background | .nx-bg-none, .nx-bg-surface, .nx-bg-primary, .nx-bg-gradient |
| Hero | .nx-hero, .nx-hero--centered, --split-login, --split-order, --kpi, --type, --image |
| Type | .nx-h1, .nx-h2, .nx-sub, .nx-muted, .nx-eyebrow, .nx-link |
| Components | .nx-card, .nx-btn, .nx-btn-primary, .nx-btn-ghost, .nx-btn-invert, .nx-chip, .nx-badge, .nx-table, .nx-faq-item, .nx-quick-order, .nx-login-card, .nx-cta-card |
| Site menu | .nx-header, .nx-header-bar, .nx-header-brand, .nx-header-nav, .nx-header-actions, .nx-header-cta |
| Footer | .nx-footer, .nx-footer-grid, .nx-footer-brand, .nx-footer-title, .nx-footer-links, .nx-footer-bottom |
| Customer panel | .nx-dash, .nx-dash-side, .nx-dash-link, .nx-dash-link-active, .nx-dcard |
| Dialogs | .nx-dialog, .nx-dialog-title, .nx-dialog-btn-primary … |
Want full control? See Code theme to write the site entirely in your own code.