ArekUI
Docs

Theming

Every colour, radius, shadow and border in ArekUI is a CSS custom property. Override the tokens in your own stylesheet - no rebuild, no config.

Override tokens

Your stylesheet
html[data-theme="light"] {
  --ar-primary: oklch(65% 0.2 250);
  --ar-radius-box: 1rem;
}

Each theme is one html[data-theme="..."] block - light dark neo pixel brutalist - remapping the same token set. Components read the --ar-* variables, so a single override restyles everything.

Pick a bundle

data-themeCSS fileRuntime switching
light darkarekui.min.csslight ↔ dark; the default when the attribute is unset
neoarekui.base.min.css + arekui.neo.min.csshardcode it — no fallback
pixelarekui.base.min.css + arekui.pixel.min.csshardcode it — no fallback
brutalistarekui.base.min.css + arekui.brutalist.min.csshardcode it — no fallback
all fivearekui.full.min.cssany value, switch at runtime

npm, CDN and bundler file names, plus the arekui.css + arekui.js pair: Quick Start.

Override a theme

Neo theme tokens
html[data-theme="neo"] {
  --ar-shadow-md: 4px 4px 0px 0px #1e293b;
  --ar-border-width: 3px;
  --ar-primary: #00AEEF;
}

Scoped to that theme only - light and dark keep their own tokens. Swap the palette (--ar-primary) or the geometry (--ar-shadow-*, --ar-border-width, --ar-radius-*).

Theme utilities on any theme

ar-neo-* utilities
<div class="ar-neo-shadow-lg ar-neo-border">Bold</div>
<div class="ar-pixel-press ar-pixel-border">Press</div>
<div class="ar-brutalist-frame">Frame</div>

The ar-neo-*, ar-pixel-* and ar-brutalist-* helpers hard-code their palette, so they work on top of light, dark or their own theme.

Dark mode

Set data-theme="dark" manually or leave it unset and ArekUI follows prefers-color-scheme on its own. Both paths - plus live toggles for all five themes - are on Choose Theme.