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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 6.94:1 | AA |
| Muted text | 5.29:1 | AA |
| Accent | 6.86:1 | AA |
| Destructive | 7.08:1 | AAA |
| Text on background | 19.07:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 6.94:1 | AA |
| Muted text | 8.22:1 | AAA |
| Accent | 6.86:1 | AA |
| Destructive | 8.07:1 | AAA |
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);
}