Brilliant Pistachio Mousse for shadcn/ui

Brilliant Pistachio Mousse is a shadcn/ui theme built around a vivid light green primary color (#caf995) with vivid light green accents (#98f995). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#caf995) on a green-tinted background (#0a0e06).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0e06black
Foreground
#000000black
#fdfdfcwhite
Card
#ffffffwhite
#0a0e06black
Card foreground
#000000black
#fdfdfcwhite
Popover
#ffffffwhite
#0a0e06black
Popover foreground
#000000black
#fdfdfcwhite
Primary
#caf995khaki
#caf995khaki
Primary foreground
#315705darkgreen
#315705darkgreen
Secondary
#f9f695khaki
#f9f695khaki
Secondary foreground
#575405darkolivegreen
#575405darkolivegreen
Muted
#eaeae1beige
#1e1e15black
Muted foreground
#616048darkolivegreen
#b7b79edarkgray
Accent
#98f995palegreen
#98f995palegreen
Accent foreground
#085705darkgreen
#085705darkgreen
Destructive
#973c07saddlebrown
#f6803ccoral
Destructive foreground
#ffffffwhite
#000000black
Border
#ebebealinen
#242423black
Input
#ebebealinen
#242423black
Ring
#caf995khaki
#caf995khaki

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button7.00:1AAA
Secondary button6.94:1AA
Muted text5.29:1AA
Accent6.86:1AA
Destructive7.08:1AAA
Dark mode
Text on background19.07:1AAA
Text on card19.07:1AAA
Primary button7.00:1AAA
Secondary button6.94:1AA
Muted text8.22:1AAA
Accent6.86:1AA
Destructive8.07:1AAA

CSS variables

Paste this into your globals.css to use Brilliant Pistachio Mousse in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.934 0.012 105.028);
  --muted-foreground: oklch(0.483 0.037 106.064);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.94 0.001 127.127);
  --input: oklch(0.94 0.001 127.127);
  --primary: oklch(0.927 0.136 129.152);
  --primary-foreground: oklch(0.411 0.113 133.011);
  --secondary: oklch(0.954 0.119 106.73);
  --secondary-foreground: oklch(0.435 0.091 107.422);
  --accent: oklch(0.898 0.162 143.374);
  --accent-foreground: oklch(0.397 0.13 142.344);
  --destructive: oklch(0.475 0.135 43.738);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.927 0.136 129.152);
  --chart-1: oklch(0.927 0.136 129.152);
  --chart-2: oklch(0.954 0.119 106.73);
  --chart-3: oklch(0.898 0.162 143.374);
  --chart-4: oklch(0.959 0.104 106.518);
  --chart-5: oklch(0.93 0.14 129.219);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.158 0.02 127.579);
  --foreground: oklch(0.994 0.002 127.139);
  --muted: oklch(0.231 0.016 105.965);
  --muted-foreground: oklch(0.772 0.034 105.543);
  --popover: oklch(0.158 0.02 127.579);
  --popover-foreground: oklch(0.994 0.002 127.139);
  --card: oklch(0.158 0.02 127.579);
  --card-foreground: oklch(0.994 0.002 127.139);
  --border: oklch(0.261 0.003 127.244);
  --input: oklch(0.261 0.003 127.244);
  --primary: oklch(0.927 0.136 129.152);
  --primary-foreground: oklch(0.411 0.113 133.011);
  --secondary: oklch(0.954 0.119 106.73);
  --secondary-foreground: oklch(0.435 0.091 107.422);
  --accent: oklch(0.898 0.162 143.374);
  --accent-foreground: oklch(0.397 0.13 142.344);
  --destructive: oklch(0.722 0.165 47.824);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.927 0.136 129.152);
  --chart-1: oklch(0.927 0.136 129.152);
  --chart-2: oklch(0.954 0.119 106.73);
  --chart-3: oklch(0.898 0.162 143.374);
  --chart-4: oklch(0.959 0.104 106.518);
  --chart-5: oklch(0.93 0.14 129.219);
}