shadcnpreview

Olive Treasury

Luma · Olive mono · Inter / Roboto

Preset codebLZCnForB
Open in shadcn/create
Loading preview…
Components by shadcnblocks.com, rendered in the luma style with Base UI.

Install Olive Treasury

npx shadcn@latest init --preset bLZCnForB --base base --template next
Open in shadcn/createOpen in v0

Only want the colors without the CLI? Copy the Olive Treasury palette CSS.

Olive Treasury is a Shadcn UI preset in the Luma style. It's a precise, trustworthy preset for products that handle people's money.

Best for

  • Banking and payments apps
  • Accounting software
  • Investment dashboards

Style

Luma is inspired by macOS: rounded geometry, soft elevation and breathable layouts, without the glass effect. It feels calm and modern. It uses shadcn's default radius, a balanced middle ground.

Color

The Olive base is a grey with an earthy green tint, used for backgrounds, borders and muted text. There's no separate accent color: primary buttons and highlights stay in the Olive family for a monochrome finish. Charts use a contrasting Blue ramp, so data stands out from the UI chrome.

Typography

Headings use Inter, a sans-serif face, paired with Roboto for body text. That gives headings more character while keeping paragraphs and UI labels easy to read.

Icons and menus

Remix Icon is a neutral, system-style icon set that works well in dense UIs. Menus are inverted (dark in light mode, light in dark mode), with a subtle highlight on the active item.

Color contrast

How each text and button pairing scores against WCAG. Normal text needs 4.5:1 to meet AA. 6 of 8 pairs pass in both modes.

PairTokensLightDark
Body textforeground / background19.5918.93
Muted textmuted-foreground / background4.268.43
Card textcard-foreground / card19.5916.38
Primary buttonprimary-foreground / primary16.3813.81
Secondary buttonsecondary-foreground / secondary15.3713.79
Accent / hoveraccent-foreground / accent15.3713.79
Muted surfacemuted-foreground / muted3.866.14
Destructive textdestructive / background4.916.82

CSS variables

globals.css
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.153 0.006 107.1);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.153 0.006 107.1);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.153 0.006 107.1);
  --primary: oklch(0.228 0.013 107.4);
  --primary-foreground: oklch(0.988 0.003 106.5);
  --secondary: oklch(0.966 0.005 106.5);
  --secondary-foreground: oklch(0.228 0.013 107.4);
  --muted: oklch(0.966 0.005 106.5);
  --muted-foreground: oklch(0.58 0.031 107.3);
  --accent: oklch(0.966 0.005 106.5);
  --accent-foreground: oklch(0.228 0.013 107.4);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.93 0.007 106.5);
  --input: oklch(0.93 0.007 106.5);
  --ring: oklch(0.737 0.021 106.9);
  --sidebar: oklch(0.988 0.003 106.5);
  --sidebar-foreground: oklch(0.153 0.006 107.1);
  --sidebar-primary: oklch(0.228 0.013 107.4);
  --sidebar-primary-foreground: oklch(0.988 0.003 106.5);
  --sidebar-accent: oklch(0.966 0.005 106.5);
  --sidebar-accent-foreground: oklch(0.228 0.013 107.4);
  --sidebar-border: oklch(0.93 0.007 106.5);
  --sidebar-ring: oklch(0.737 0.021 106.9);
  --chart-1: oklch(0.809 0.105 251.813);
  --chart-2: oklch(0.623 0.214 259.815);
  --chart-3: oklch(0.546 0.245 262.881);
  --chart-4: oklch(0.488 0.243 264.376);
  --chart-5: oklch(0.424 0.199 265.638);
  --radius: 0.625rem;
}

.dark {
  --background: oklch(0.153 0.006 107.1);
  --foreground: oklch(0.988 0.003 106.5);
  --card: oklch(0.228 0.013 107.4);
  --card-foreground: oklch(0.988 0.003 106.5);
  --popover: oklch(0.228 0.013 107.4);
  --popover-foreground: oklch(0.988 0.003 106.5);
  --primary: oklch(0.93 0.007 106.5);
  --primary-foreground: oklch(0.228 0.013 107.4);
  --secondary: oklch(0.286 0.016 107.4);
  --secondary-foreground: oklch(0.988 0.003 106.5);
  --muted: oklch(0.286 0.016 107.4);
  --muted-foreground: oklch(0.737 0.021 106.9);
  --accent: oklch(0.286 0.016 107.4);
  --accent-foreground: oklch(0.988 0.003 106.5);
  --destructive: oklch(0.704 0.191 22.216);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.58 0.031 107.3);
  --sidebar: oklch(0.228 0.013 107.4);
  --sidebar-foreground: oklch(0.988 0.003 106.5);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.988 0.003 106.5);
  --sidebar-accent: oklch(0.286 0.016 107.4);
  --sidebar-accent-foreground: oklch(0.988 0.003 106.5);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.58 0.031 107.3);
  --chart-1: oklch(0.809 0.105 251.813);
  --chart-2: oklch(0.623 0.214 259.815);
  --chart-3: oklch(0.546 0.245 262.881);
  --chart-4: oklch(0.488 0.243 264.376);
  --chart-5: oklch(0.424 0.199 265.638);
}

Variations

Olive Treasury with one setting changed. Each opens in the preset builder with its own code.

Similar presets

Aa
ContinueCancelNew
you@example.com

Olive Dividend

Mira · Olive mono · IBM Plex Sans / Source Sans 3

b76s3CVK7O
Aa
ContinueCancelNew
you@example.com

Emerald Library

Luma · Emerald + Olive · Instrument Serif / Lora

b8UQJPikX2
Aa
ContinueCancelNew
you@example.com

Olive Tutorial

Mira · Olive mono · Instrument Sans / Source Sans 3

b7llsy5Zl4
Aa
ContinueCancelNew
you@example.com

Stone Parcel

Luma · Stone mono · Raleway / Roboto

b1xTahKIMU