Skip to content

Theme Playground ​

Debug BrutxUI's core visual tokens here. Choose a built-in theme as your base, adjust colors, borders, radius, and hard shadows, confirm theme quality through product preview, component matrix, contrast check, and token coverage, then copy the generated CSS into your project.

Theme Lab

Craft Your BrutxUI Theme

Pick a base theme, tweak colors, borders, radii and hard shadows. The preview on the right reacts live, and the copied CSS can be pasted directly into any project using BrutxUI.

Live preview

Classic / light

PrimarySecondaryAccent

Launch Console

A product console preview to gauge how the theme feels in a real interface.

Online

Revenue

42.8K

+18% this week

Active

1,284

users online

Shadow

4px

hard offset

AccountStatusRisk

brutal-studio.io

hello@brutx.dev

HealthyLow

mono-labs.dev

ops@brutx.dev

TrialHigh

Component matrix

Quickly check whether common component states read clearly.

DefaultPrimarySuccessDanger

Swatches

Base

BG: #ffffff

FG: #000000

Muted

BG: #f3f4f6

FG: #4B5563

Primary

BG: #FF6B6B

FG: #000000

Secondary

BG: #4ECDC4

FG: #000000

Accent

BG: #FFE66D

FG: #000000

Destructive

BG: #EF476F

FG: #000000

Success

BG: #7FB069

FG: #000000

Info

BG: #4A90D9

FG: #000000

Status success

BG: #22c55e

FG: #000000

Status warning

BG: #FFE66D

FG: #000000

Status info

BG: #3b82f6

FG: #000000

Status error

BG: #EF476F

FG: #000000

Placeholder

BG: #ffffff

FG: #6e7788

Quality check

13/13 passed, 0 low

CSS coverage 72/72 tokens

Both light and dark outputs are fully covered.

正文

fg / bg

Pass

21.0:1

target 4.5:1

柔和文本

mutedForeground / muted

Pass

6.9:1

target 4.5:1

占位文本

placeholder / bg

Pass

4.5:1

target 4.5:1

主强调色文本

primaryForeground / primary

Pass

7.6:1

target 4.5:1

辅助色文本

secondaryForeground / secondary

Pass

10.9:1

target 4.5:1

强调色文本

accentForeground / accent

Pass

16.8:1

target 4.5:1

危险色文本

destructiveForeground / destructive

Pass

5.8:1

target 4.5:1

成功色文本

successForeground / success

Pass

8.3:1

target 4.5:1

信息色文本

infoForeground / info

Pass

6.3:1

target 4.5:1

状态成功文本

statusSuccessForeground / statusSuccess

Pass

9.2:1

target 4.5:1

状态警告文本

statusWarningForeground / statusWarning

Pass

16.8:1

target 4.5:1

状态信息文本

statusInfoForeground / statusInfo

Pass

5.7:1

target 4.5:1

状态错误文本

statusErrorForeground / statusError

Pass

5.8:1

target 4.5:1

Generated CSS

Copy into your project CSS to use `.theme-custom`.

Using the Generated CSS ​

Paste the generated .theme-custom code into your global stylesheet, then apply the class name to the root container:

html
<div class="theme-custom">
    <!-- Your app -->
</div>

If your application uses dark mode, add .dark to the same element or a parent element:

html
<html class="dark">
    <body>
        <div class="theme-custom">
            <!-- Your app -->
        </div>
    </body>
</html>

This playground only generates CSS variables and does not modify the built-in theme types of useTheme().

Brute force builds.