Skip to contentVibraUI
Palette

Modern theme

A single vivid blue on white and nothing else that isn't grey; the chart palette is the blue at five depths.

background
card
primary
chart-2
success
danger

Install

The file lands as app/vibra-modern.css. Import it after your globals and set data-preset="modern" on <html>, or on any wrapper.

npx shadcn@latest add @vibra/theme-modern

Needs the @vibra registry in your components.json — set it up once.

The stylesheet

app/vibra-modern.css
/* Modern Minimal — a single vivid blue on white, and nothing else that isn't grey.
 *
 * After tweakcn's palette (https://www.shadcnblocks.com/theme/modern-minimal), mapped onto every token
 * vibra.css defines and held to Vibra's contrast floors: where a value moved,
 * it moved the least it could — a fill that was too light to read as a word
 * is the same hue, deeper. The typefaces the original names are not carried;
 * a preset is colour, radius and elevation, and the face is the page's own.
 *
 * Generated by scripts/build-presets.ts. Edit scripts/presets/sources, not this file. */
[data-preset="modern"] {
  --radius: 0.375rem;

  /* Planes. */
  --background: oklch(1 0 0);
  --surface: oklch(0.98 0 0);
  --card: oklch(1 0 0);
  --popover: oklch(1 0 0);
  --muted: oklch(0.985 0.002 247.8);
  --secondary: oklch(0.967 0.003 264.5);
  --accent: oklch(0.951 0.025 236.8);

  /* Ink. --faint-foreground is for eyebrows, meta and axis titles at 11px/600 and up — never body copy. */
  --foreground: oklch(0.321 0 0);
  --card-foreground: var(--foreground);
  --popover-foreground: var(--foreground);
  --muted-foreground: oklch(0.511 0.023 264.4);
  --faint-foreground: oklch(0.511 0.023 264.4);
  --secondary-foreground: var(--foreground);
  --accent-foreground: var(--foreground);

  /* The accent, and the aliases that carry it. */
  --brand: oklch(0.503 0.188 259.8);
  --brand-foreground: oklch(1 0 0);
  --brand-muted: oklch(0.93 0.045 259.8);
  --primary: var(--brand);
  --primary-foreground: var(--brand-foreground);
  --ring: var(--brand);

  /* Lines. --input is the field boundary, so it carries 3:1 against the page and a card. */
  --border: oklch(0.928 0.006 264.5);
  --rule: oklch(0.798 0.006 264.5);
  --input: oklch(0.668 0.006 264.5);
  --chart-grid: oklch(0.928 0.006 264.5);

  /* Semantic tones on opaque tints. */
  --success: oklch(0.5 0.14 150);
  --success-foreground: oklch(0.99 0.003 150);
  --success-muted: oklch(0.95 0.04 150);
  --warning: oklch(0.5 0.11 75);
  --warning-foreground: oklch(0.99 0.003 75);
  --warning-muted: oklch(0.95 0.04 75);
  --danger: oklch(0.5 0.2 25.3);
  --danger-foreground: oklch(0.99 0.003 25.3);
  --danger-muted: oklch(0.95 0.04 25.3);
  --info: oklch(0.5 0.14 250);
  --info-foreground: oklch(0.99 0.003 250);
  --info-muted: oklch(0.95 0.04 250);
  --destructive: var(--danger);

  /* Chart palette: the accent first when it is a colour, then the source's hues, then three of Vibra's own. */
  --chart-1: var(--brand);
  --chart-2: oklch(0.546 0.215 262.9);
  --chart-3: oklch(0.488 0.217 294.4);
  --chart-4: oklch(0.424 0.181 265.6);
  --chart-5: oklch(0.379 0.138 265.5);
  --chart-6: oklch(0.55 0.12 19.8);
  --chart-7: oklch(0.56 0.14 139.8);
  --chart-8: oklch(0.5 0.02 0);
  --chart-positive: var(--success);
  --chart-negative: var(--danger);
  --chart-neutral: var(--muted-foreground);
  --chart-axis: var(--muted-foreground);

  /* The sidebar sits one plane below the content it frames. */
  --sidebar: oklch(0.985 0.002 247.8);
  --sidebar-foreground: var(--foreground);
  --sidebar-primary: var(--brand);
  --sidebar-primary-foreground: var(--brand-foreground);
  --sidebar-accent: oklch(0.951 0.025 236.8);
  --sidebar-accent-foreground: var(--foreground);
  --sidebar-border: oklch(0.928 0.006 264.5);
  --sidebar-ring: var(--brand);

  /* Elevation. */
  --shadow-sheet: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 1px 2px -1px hsl(0 0% 0% / 0.10);
  --shadow-float: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 4px 6px -1px hsl(0 0% 0% / 0.10);
  --shadow-modal: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 8px 10px -1px hsl(0 0% 0% / 0.10);
  --overlay: oklch(0 0 0 / 40%);
}

.dark [data-preset="modern"],
[data-preset="modern"].dark,
[data-preset="modern"] .dark {
  /* Planes. */
  --background: oklch(0.205 0 0);
  --surface: oklch(0.237 0 0);
  --card: oklch(0.269 0 0);
  --popover: oklch(0.269 0 0);
  --muted: oklch(0.239 0 0);
  --secondary: oklch(0.269 0 0);
  --accent: oklch(0.34 0 0);

  /* Ink. --faint-foreground is for eyebrows, meta and axis titles at 11px/600 and up — never body copy. */
  --foreground: oklch(0.922 0 0);
  --card-foreground: var(--foreground);
  --popover-foreground: var(--foreground);
  --muted-foreground: oklch(0.716 0 0);
  --faint-foreground: oklch(0.716 0 0);
  --secondary-foreground: var(--foreground);
  --accent-foreground: var(--foreground);

  /* The accent, and the aliases that carry it. */
  --brand: oklch(0.713 0.148 259.8);
  --brand-foreground: oklch(0.16 0 0);
  --brand-muted: oklch(0.28 0.06 259.8);
  --primary: var(--brand);
  --primary-foreground: var(--brand-foreground);
  --ring: var(--brand);

  /* Lines. --input is the field boundary, so it carries 3:1 against the page and a card. */
  --border: oklch(0.371 0 0);
  --rule: oklch(0.462 0 0);
  --input: oklch(0.552 0 0);
  --chart-grid: oklch(0.392 0 0);

  /* Semantic tones on opaque tints. */
  --success: oklch(0.8 0.14 150);
  --success-foreground: oklch(0.16 0.03 150);
  --success-muted: oklch(0.3 0.04 150);
  --warning: oklch(0.8 0.11 85);
  --warning-foreground: oklch(0.16 0.03 85);
  --warning-muted: oklch(0.3 0.04 85);
  --danger: oklch(0.8 0.14 25.3);
  --danger-foreground: oklch(0.16 0.03 25.3);
  --danger-muted: oklch(0.3 0.04 25.3);
  --info: oklch(0.8 0.14 250);
  --info-foreground: oklch(0.16 0.03 250);
  --info-muted: oklch(0.3 0.04 250);
  --destructive: var(--danger);

  /* Chart palette: the accent first when it is a colour, then the source's hues, then three of Vibra's own. */
  --chart-1: var(--brand);
  --chart-2: oklch(0.623 0.188 259.8);
  --chart-3: oklch(0.556 0.215 262.9);
  --chart-4: oklch(0.568 0.217 294.4);
  --chart-5: oklch(0.8 0.096 265.6);
  --chart-6: oklch(0.76 0.11 19.8);
  --chart-7: oklch(0.74 0.12 139.8);
  --chart-8: oklch(0.72 0.02 0);
  --chart-positive: var(--success);
  --chart-negative: var(--danger);
  --chart-neutral: var(--muted-foreground);
  --chart-axis: var(--muted-foreground);

  /* The sidebar sits one plane below the content it frames. */
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: var(--foreground);
  --sidebar-primary: var(--brand);
  --sidebar-primary-foreground: var(--brand-foreground);
  --sidebar-accent: oklch(0.3 0 0);
  --sidebar-accent-foreground: var(--foreground);
  --sidebar-border: oklch(0.371 0 0);
  --sidebar-ring: var(--brand);

  /* Elevation. */
  --shadow-sheet: inset 0 1px 0 oklch(1 0 0 / 5%);
  --shadow-float: 0 12px 32px -8px oklch(0 0 0 / 60%), inset 0 1px 0 oklch(1 0 0 / 6%);
  --shadow-modal: 0 24px 64px -12px oklch(0 0 0 / 70%);
  --overlay: oklch(0 0 0 / 60%);
}