Theming

Every colour and radius is a CSS variable. Change one line and every component follows.

apen-ui init adds the theme to your global CSS. Token names match shadcn/ui, so themes and knowledge from that ecosystem carry over. Dark mode uses a .dark class on html.

Tokens

VariableUsed forLight
--primaryMain actions, active states and focus rings#f15a29
--brand-orange / --brand-blueThe two stops of the Apen gradient#f15a29 → #00aeef
--background / --foregroundPage colour and default text#f4f5f7 / #111827
--cardSurface for cards, tables, sidebar and form fields#ffffff
--muted / --muted-foregroundQuiet fills and secondary text#eef0f2 / #5f6368
--accentHover background for ghost buttons and menu items#eef0f2
--border / --inputSeparators and form field borders#e3e6ea / #d5d9de
--success / --warning / --destructive / --infoStatus colours for badges, alerts and trends
--sidebar*Sidebar surface and hover
--radiusBase radius. Cards use 2×, menus 1.5×1rem
--font-body / --font-displayText and heading fontsPlus Jakarta Sans / Quicksand

Overriding

Redefine any variable after the theme block in your global CSS. The quickest way is the theme customizer: pick colours, radius and fonts, preview them live and copy the CSS.

app/globals.css
:root {
  --primary: #00aeef;   /* blue as the main colour */
  --radius: 0.75rem;    /* a little less round */
}

.dark {
  --primary: #33bef2;
}

Brand utilities

The theme adds bg-brand-gradient and text-brand-gradient, plus the brand variant on buttons, badges and stat card icons.

<Button variant="brand">Gradient button</Button>
<h1 className="text-brand-gradient">Gradient text</h1>
<div className="bg-brand-gradient rounded-3xl p-6 text-white">Gradient surface</div>