Theme Builder

Start from a look, then make it yours

Every control below writes real CSS custom properties — the same ones src/styles.css declares. Colour ramps are generated in OKLCH, so all eleven steps stay perceptually even whatever hue you pick, and step 500 is exactly the hex you typed.

Apply across the site paints this theme over every page of the showcase — components, docs, and every page template, which take your Template brand pair in place of their own — so you can click through the whole kit in your own brand before you buy. It is stored in your browser only, and a badge in the corner turns it off from anywhere.

app.yourcompany.com Light
3 AJ

Revenue overview

Last 12 months · updated 4 minutes ago

MRR

$ 48.2K

Trend line scaled to this card alone, so compare the figures, not the line heights.
12.5% vs last month

Active seats

1.3K

Trend line scaled to this card alone, so compare the figures, not the line heights.
4.2% vs last month

Churn

4 %

Trend line scaled to this card alone, so compare the figures, not the line heights.
1.1% vs last month

Recurring revenue

RevenueExpansion
Q4 target64%
64%

Card expiring

Two customers have a card expiring this month.

Invoices and dunning notices go here.

Every Monday, 09:00
BetaSyncedOverdueDraft
Sample customer list
CustomerStatusMRR
AO Amara Okaforamara@northwind.testActive$1,280
BH Ben Halvorsenben@lumenlabs.testTrial$0
CW Chen Weichen@driftbay.testActive$1,280
DE Dara Ellisdara@finchhq.testPast due$96
app.yourcompany.com Dark
3 AJ

Revenue overview

Last 12 months · updated 4 minutes ago

MRR

$ 48.2K

Trend line scaled to this card alone, so compare the figures, not the line heights.
12.5% vs last month

Active seats

1.3K

Trend line scaled to this card alone, so compare the figures, not the line heights.
4.2% vs last month

Churn

4 %

Trend line scaled to this card alone, so compare the figures, not the line heights.
1.1% vs last month

Recurring revenue

RevenueExpansion
Q4 target64%
64%

Card expiring

Two customers have a card expiring this month.

Invoices and dunning notices go here.

Every Monday, 09:00
BetaSyncedOverdueDraft
Sample customer list
CustomerStatusMRR
AO Amara Okaforamara@northwind.testActive$1,280
BH Ben Halvorsenben@lumenlabs.testTrial$0
CW Chen Weichen@driftbay.testActive$1,280
DE Dara Ellisdara@finchhq.testPast due$96

Contrast audit

WCAG 2.x ratios for 22 colour pairs this kit actually renders — not an abstract palette score. Failures are listed first, and each names the exact step that would pass. Some of them come from the stock palette rather than your choices; Auto-fix resolves every one it can in a single undo step.

All 22 pass AA
  • Label on a solid primary button bg-primary-600 text-white5.2:1 AA
  • Soft primary button and primary badges text-primary-700 on bg-primary-506.2:1 AA
  • Primary link and ghost-button text text-primary-600 on a card5.2:1 AA
  • Focus ring against the page canvas focus-visible:ring-primary-500 — every control (3:1 UI bar)3.7:1 AA Large
  • Body copy on a card text-gray-900 on bg-white17.7:1 AAA
  • Secondary text on a card text-gray-600 — secondary copy everywhere7.5:1 AAA
  • Muted text on a card text-gray-500 — captions, hints and timestamps on a card4.8:1 AA
  • Numeral inside a completed step bg-accent-700 text-white — sv-stepper, solid success button5.3:1 AA
  • Success text on a success fill text-accent-700 on bg-accent-50 — sv-accordion, sv-command-palette5.0:1 AA
  • Numeral inside a warning step bg-warning-500 text-gray-900 — sv-stepper, solid warning button8.3:1 AAA
  • Warning text on a warning fill text-warning-700 on bg-warning-50 — sv-accordion badges, sv-widget-grid4.8:1 AA
  • Numeral inside an error step bg-danger-600 text-white — sv-stepper, solid danger button4.7:1 AA
  • Error text on an error fill text-danger-700 on bg-danger-505.8:1 AA
  • Label on a solid info banner bg-info-700 text-white — sv-alert-banner (solid), sv-gantt task dialog5.8:1 AA
  • Info text on an info fill text-info-700 on bg-info-50 — the “in progress” chip, sv-accordion, sv-stat-card5.4:1 AA
  • Template link and heading accent text-brand-600 — links and headings in the page templates5.8:1 AA
  • Template button and sidebar mark bg-brand-600 text-white — template buttons and sidebar marks5.8:1 AA
  • Body copy in dark mode Darkdark:text-gray-100 on dark:bg-gray-90016.1:1 AAA
  • Secondary text in dark mode Darkdark:text-gray-400 — muted copy in dark mode6.8:1 AA
  • Primary link in dark mode Darkdark:text-primary-400 — links in dark mode6.7:1 AA
  • Template accent in dark mode Darkdark:text-brand-400 — template accents in dark mode6.2:1 AA
  • Info text in dark mode Darkdark:text-info-400 — info badges and “in progress” rows in dark mode8.1:1 AAA

Generated primary scale

Eleven steps in OKLCH from one colour. 500 is exactly what you typed; the rest keep your hue and move only lightness and chroma.

  1. 50
  2. 100
  3. 200
  4. 300
  5. 400
  6. 500
  7. 600
  8. 700
  9. 800
  10. 900
  11. 950

Take it with you

85 tokens, six formats. Start with the CSS one — paste it into src/styles.css after the kit stylesheet import; in a downloaded template, it replaces the matching lines of its @theme block.

The real artifact — drops straight into src/styles.css and rebrands the whole kit.

/**
 * Styloviz theme — generated by the Theme Builder.
 *
 * Paste this into `src/styles.css` after the kit stylesheet import
 * (`@import "@styloviz/core/styles/styloviz.css";`) — a token declared
 * later wins. In a downloaded template, whose `src/styles.css` carries
 * the `@theme { … }` block itself, replace the matching lines there.
 * Tailwind v4 reads `@theme` directly; there is no tailwind.config.js.
 *
 * Colour ramps are generated in OKLCH from the one colour you picked for
 * each family, so every step is perceptually evenly spaced. Step 500 is
 * exactly the hex you entered.
 */
@theme {
  /* ---- Typography ---- */
  /* One token. Nothing in the kit names a font anywhere else. */
  --font-sans: "Manrope", "Avenir Next", "Segoe UI", ui-sans-serif, sans-serif;

  /* ---- Primary ---- */
  /* Buttons, links, focus rings, active nav, chart series — the colour the kit reaches for by default. */
  --color-primary-50: #eff6ff;
  --color-primary-100: #dbeafe;
  --color-primary-200: #bedbff;
  --color-primary-300: #8ec5ff;
  --color-primary-400: #50a2ff;
  --color-primary-500: #2b7fff;
  --color-primary-600: #155dfc;
  --color-primary-700: #1447e6;
  --color-primary-800: #193cb8;
  --color-primary-900: #1c398e;
  --color-primary-950: #162556;

  /* ---- Accent ---- */
  /* Success states and positive deltas. */
  --color-accent-50: #ecfdf5;
  --color-accent-100: #d0fae5;
  --color-accent-200: #a4f4cf;
  --color-accent-300: #5ee9b5;
  --color-accent-400: #00d492;
  --color-accent-500: #00bc7d;
  --color-accent-600: #009966;
  --color-accent-700: #007a55;
  --color-accent-800: #006045;
  --color-accent-900: #004f3b;
  --color-accent-950: #002c22;

  /* ---- Warning ---- */
  /* Caution banners, "needs attention" badges, degraded states. */
  --color-warning-50: #fffbeb;
  --color-warning-100: #fef3c6;
  --color-warning-200: #fee685;
  --color-warning-300: #ffd230;
  --color-warning-400: #ffb900;
  --color-warning-500: #fe9a00;
  --color-warning-600: #e17100;
  --color-warning-700: #bb4d00;
  --color-warning-800: #973c00;
  --color-warning-900: #7b3306;
  --color-warning-950: #461901;

  /* ---- Danger ---- */
  /* Destructive actions, errors, negative deltas. */
  --color-danger-50: #fef2f2;
  --color-danger-100: #ffe2e2;
  --color-danger-200: #ffc9c9;
  --color-danger-300: #ffa2a2;
  --color-danger-400: #ff6467;
  --color-danger-500: #fb2c36;
  --color-danger-600: #e7000b;
  --color-danger-700: #c10007;
  --color-danger-800: #9f0712;
  --color-danger-900: #82181a;
  --color-danger-950: #460809;

  /* ---- Info ---- */
  /* Informational notices and "in progress" states — the neutral half of the status set. */
  --color-info-50: #f0f9ff;
  --color-info-100: #dff2fe;
  --color-info-200: #b8e6fe;
  --color-info-300: #74d4ff;
  --color-info-400: #00bcff;
  --color-info-500: #00a6f4;
  --color-info-600: #0084d1;
  --color-info-700: #0069a8;
  --color-info-800: #00598a;
  --color-info-900: #024a70;
  --color-info-950: #052f4a;

  /* ---- Brand (templates) ---- */
  /* The page templates accent with this instead of primary; each ships its own until you set it. */
  --color-brand-50: #f5f3ff;
  --color-brand-100: #ede9fe;
  --color-brand-200: #ddd6ff;
  --color-brand-300: #c4b4ff;
  --color-brand-400: #a684ff;
  --color-brand-500: #8e51ff;
  --color-brand-600: #7f22fe;
  --color-brand-700: #7008e7;
  --color-brand-800: #5d0ec0;
  --color-brand-900: #4d179a;
  --color-brand-950: #2f0d68;

  /* ---- Brand accent (templates) ---- */
  /* The gradient partner for brand. Set it equal to brand for a flat, single-tone accent. */
  --color-brandaccent-50: #eef2ff;
  --color-brandaccent-100: #e0e7ff;
  --color-brandaccent-200: #c6d2ff;
  --color-brandaccent-300: #a3b3ff;
  --color-brandaccent-400: #7c86ff;
  --color-brandaccent-500: #615fff;
  --color-brandaccent-600: #4f39f6;
  --color-brandaccent-700: #432dd7;
  --color-brandaccent-800: #372aac;
  --color-brandaccent-900: #312c85;
  --color-brandaccent-950: #1e1a4d;

  /* ---- Radius ---- */
  /* Four tokens drive every rounded corner in the kit. */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* ---- Shell dimensions ---- */
  /* Read by the dashboard shell — sidebar width in both states, and the topbar height everything sticky is offset against. */
  --sidebar-width: 16rem;
  --sidebar-collapsed-width: 4.5rem;
  --topbar-height: 4rem;
}