Flux Themes
Built for Flux UI v2 & Tailwind CSS v4

Craft expressive themes for Flux UI in seconds.

Design custom brand accents, synthesize perceptual 11-step OKLCH neutral ramps, preview light and dark schemes on real Flux components, import daisyUI themes, and export drop-in @theme CSS.

Start Customizing
Try a theme preset live:
Theme Generator
Edit semantic Flux UI tokens on the left and inspect real components in light and dark mode on the right.
Theme Name
Presets
Saved Themes
Stored in your browser
0

No saved themes in this browser yet — click Save Theme to bookmark custom palettes privately in local storage.

Light Dark
Dark scheme:
Accent & text
The brand colour trio for the light scheme.
Accent Buttons, links, focus rings
Accent content Accent used as text on the page
Accent foreground Text on accent buttons
Surfaces & text
The neutral ramp for the light scheme. Light steps are surfaces here, dark steps are text — and vice-versa in the other scheme.
Surfaces & borders
zinc-50
zinc-100
zinc-200
zinc-300
Mid tones
zinc-400
zinc-500
zinc-600
Text & deep surfaces
zinc-700
zinc-800
zinc-900
zinc-950
Fill ramp from tint
0°
0.000
Status colours
Optional seeds for alerts, callouts and badges. Empty = Tailwind default.
Info
Success
Warning
Danger
Shape
Corner radius in rem (0–2). Pill = 2rem.
Selectors (checkboxes, small tags)
Fields (buttons, inputs, selects)
Boxes (cards, modals, callouts)
Type
Spacing density and font family.
Spacing Density Compact Default Comfortable Font Family
Live Component Preview
Component Preview
Dashboard

Total Revenue

$45,231
+12.5%
vs last month

New Customers

+2,350
+18.2%
vs last month

Active Users

12,789
+2.1%
vs last month

Growth Rate

4.5%
+0.3%
vs last month
Name
Email
Role
Status
Revenue
Alice Johnson [email protected] Admin
Active
$12,450
Bob Smith [email protected] Editor
Active
$8,320
Clara Davis [email protected] Designer
Pending
$6,190
David Kim [email protected] Viewer
Invited
$4,080
Generated color ramps

11-step neutral and accent swatches for the light scheme.

zinc (base)

50
100
200
300
400
500
600
700
800
900
950

accent

50
100
200
300
400
500
600
700
800
900
950
Advanced · all compiled variables

Every CSS variable this theme emits, in both scopes.

Why Flux Themes

Everything Flux UI reads. Zero CSS guesswork.

Flux UI derives its entire visual identity from Tailwind CSS v4 design tokens. Flux Themes turns every token into an explicit, contrast-verified control.

Declarative Flux Token Slots

Fine-tune all three brand accent roles, every step of the 11-shade zinc neutral scale, semantic status colours, corner radii, spacing density, and Google/Bunny fonts.

Auto & Manual Dark Schemes

Synthesize balanced, contrast-checked dark schemes automatically via perceptual lightness inversion — or switch to Manual to customize any dark slot independently.

daisyUI Theme Importer

Paste any daisyUI theme-generator URL, share code, or JSON object. Surfaces, primary accents, content contrast, statuses, and radii map cleanly to Flux equivalents.

Perceptual OKLCH Ramps

Tint surfaces and borders from zinc-50 through zinc-950 in one click using hue and chroma sliders calibrated to Tailwind CSS v4 lightness curves.

Private Browser Storage & Share Links

Bookmark unlimited custom themes privately in your browser localStorage, or share any palette via a compact, zero-backend ?theme=... URL.

Tailwind v4 & Artisan CLI Export

Copy ready-to-paste @theme and .dark CSS blocks from the browser, export raw JSON tokens, or generate preset stylesheets directly via php artisan theme:export.

Quick Start

Drop into any Flux UI app in 30 seconds.

No extra runtime packages required. Your custom theme compiles down to standard Tailwind CSS v4 @theme variables.

1
Pick or customize your palette

Start from a built-in preset, import a daisyUI link, or dial in custom OKLCH ramps in the generator above.

2
Paste into resources/css/app.css

Place the exported @theme and @layer theme rules right after @import '../../vendor/livewire/flux/dist/flux.css';.

3
Or export presets via Artisan

Write any preset or share code directly to a stylesheet from your terminal:

php artisan theme:export ocean --path=resources/css/theme.css
resources/css/app.css — Flux default
/*
 * Theme: Flux default
 * Generated by Flux Themes. Paste after
 * `@import '../../vendor/livewire/flux/dist/flux.css';` in resources/css/app.css.
 */

@theme {
    --color-accent: #262626;
    --color-accent-content: #262626;
    --color-accent-foreground: #ffffff;
    --color-zinc-50: #fafafa;
    --color-zinc-100: #f5f5f5;
    --color-zinc-200: #e5e5e5;
    --color-zinc-300: #d4d4d4;
    --color-zinc-400: #a3a3a3;
    --color-zinc-500: #737373;
    --color-zinc-600: #525252;
    --color-zinc-700: #404040;
    --color-zinc-800: #262626;
    --color-zinc-900: #171717;
    --color-zinc-950: #0a0a0a;
    --radius-selector: 0.25rem;
    --radius-xs: 0.125rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --spacing: 0.25rem;
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

@layer theme {
    .dark {
        --color-accent: #ffffff;
        --color-accent-content: #ffffff;
        --color-accent-foreground: #262626;
        --color-zinc-50: #fafafa;
        --color-zinc-100: #f5f5f5;
        --color-zinc-200: #e5e5e5;
        --color-zinc-300: #d4d4d4;
        --color-zinc-400: #a3a3a3;
        --color-zinc-500: #737373;
        --color-zinc-600: #525252;
        --color-zinc-700: #404040;
        --color-zinc-800: #262626;
        --color-zinc-900: #171717;
        --color-zinc-950: #0a0a0a;
    }
}

[data-flux-checkbox-indicator] {
    border-radius: var(--radius-selector, 0.3rem);
}
Export Theme
Export for Tailwind CSS v4 or raw JSON tokens.
/*
 * Theme: Flux default
 * Generated by Flux Themes. Paste after
 * `@import '../../vendor/livewire/flux/dist/flux.css';` in resources/css/app.css.
 */

@theme {
    --color-accent: #262626;
    --color-accent-content: #262626;
    --color-accent-foreground: #ffffff;
    --color-zinc-50: #fafafa;
    --color-zinc-100: #f5f5f5;
    --color-zinc-200: #e5e5e5;
    --color-zinc-300: #d4d4d4;
    --color-zinc-400: #a3a3a3;
    --color-zinc-500: #737373;
    --color-zinc-600: #525252;
    --color-zinc-700: #404040;
    --color-zinc-800: #262626;
    --color-zinc-900: #171717;
    --color-zinc-950: #0a0a0a;
    --radius-selector: 0.25rem;
    --radius-xs: 0.125rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --spacing: 0.25rem;
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

@layer theme {
    .dark {
        --color-accent: #ffffff;
        --color-accent-content: #ffffff;
        --color-accent-foreground: #262626;
        --color-zinc-50: #fafafa;
        --color-zinc-100: #f5f5f5;
        --color-zinc-200: #e5e5e5;
        --color-zinc-300: #d4d4d4;
        --color-zinc-400: #a3a3a3;
        --color-zinc-500: #737373;
        --color-zinc-600: #525252;
        --color-zinc-700: #404040;
        --color-zinc-800: #262626;
        --color-zinc-900: #171717;
        --color-zinc-950: #0a0a0a;
    }
}

[data-flux-checkbox-indicator] {
    border-radius: var(--radius-selector, 0.3rem);
}
{
    "scheme": {
        "light": {
            "accent": "#262626",
            "accentContent": "#262626",
            "accentForeground": "#ffffff",
            "zinc": {
                "50": "#fafafa",
                "100": "#f5f5f5",
                "200": "#e5e5e5",
                "300": "#d4d4d4",
                "400": "#a3a3a3",
                "500": "#737373",
                "600": "#525252",
                "700": "#404040",
                "800": "#262626",
                "900": "#171717",
                "950": "#0a0a0a"
            },
            "status": {
                "info": null,
                "success": null,
                "warning": null,
                "danger": null
            }
        },
        "dark": {
            "accent": "#ffffff",
            "accentContent": "#ffffff",
            "accentForeground": "#262626",
            "zinc": {
                "50": "#fafafa",
                "100": "#f5f5f5",
                "200": "#e5e5e5",
                "300": "#d4d4d4",
                "400": "#a3a3a3",
                "500": "#737373",
                "600": "#525252",
                "700": "#404040",
                "800": "#262626",
                "900": "#171717",
                "950": "#0a0a0a"
            },
            "status": {
                "info": null,
                "success": null,
                "warning": null,
                "danger": null
            }
        }
    },
    "darkMode": "manual",
    "radius": {
        "selector": 0.25,
        "field": 0.5,
        "box": 0.75
    },
    "spacing": 0.25,
    "font": "instrument-sans"
}
Import Theme
Paste a daisyUI theme-generator link or code, a share code (?theme=...), or theme JSON.
Use daisyUI neutral for the dark scheme Off: the dark scheme is synthesized automatically. On: a manual dark scheme is seeded from the theme's neutral colours.