Mini is a shadcn/ui theme built around a light green primary color (#b1e2b6) with light red accents (#e2b6b1). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the light green primary (#b1e2b6) on a neutral background (#040704).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #040704black |
| Foreground | #030c04black | #f6f9f6whitesmoke |
| Card | #f8fcf8mintcream | #050a06black |
| Card foreground | #020803black | #f9fbf9mintcream |
| Popover | #fcfdfcwhite | #040704black |
| Popover foreground | #030c04black | #f6f9f6whitesmoke |
| Primary | #b1e2b6silver | #b1e2b6silver |
| Primary foreground | #1a471fdarkgreen | #1a471fdarkgreen |
| Secondary | #b6b1e2lightsteelblue | #b6b1e2lightsteelblue |
| Secondary foreground | #1f1a47midnightblue | #1f1a47midnightblue |
| Muted | #edecf3lavender | #0d0c13black |
| Muted foreground | #45444bdarkslategray | #b5b4bbsilver |
| Accent | #e2b6b1lightpink | #e2b6b1lightpink |
| Accent foreground | #471f1amaroon | #471f1amaroon |
| Destructive | #940f00darkred | #ff1e05red |
| Destructive foreground | #ffcdc7pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b1e2b6silver | #b1e2b6silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.48:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 7.34:1 | AAA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 8.22:1 | AAA |
| Accent | 7.80:1 | AAA |
| Destructive | 6.37:1 | AA |
| Text on background | 19.12:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 7.34:1 | AAA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 9.46:1 | AAA |
| Accent | 7.80:1 | AAA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Mini in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 148.56);
--foreground: oklch(0.141 0.026 147.229);
--muted: oklch(0.947 0.009 290.842);
--muted-foreground: oklch(0.389 0.012 290.428);
--popover: oklch(0.993 0.003 148.56);
--popover-foreground: oklch(0.141 0.026 147.229);
--card: oklch(0.987 0.006 148.527);
--card-foreground: oklch(0.122 0.023 147.286);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.867 0.079 147.514);
--primary-foreground: oklch(0.355 0.083 145.429);
--secondary: oklch(0.781 0.07 289.258);
--secondary-foreground: oklch(0.252 0.08 283.534);
--accent: oklch(0.814 0.052 25.641);
--accent-foreground: oklch(0.294 0.063 27.98);
--destructive: oklch(0.424 0.166 30.839);
--destructive-foreground: oklch(0.889 0.058 25.656);
--ring: oklch(0.867 0.079 147.514);
--chart-1: oklch(0.867 0.079 147.514);
--chart-2: oklch(0.781 0.07 289.258);
--chart-3: oklch(0.814 0.052 25.641);
--chart-4: oklch(0.813 0.059 289.596);
--chart-5: oklch(0.869 0.084 147.444);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.012 147.921);
--foreground: oklch(0.979 0.005 148.535);
--muted: oklch(0.159 0.014 289.341);
--muted-foreground: oklch(0.773 0.01 290.768);
--popover: oklch(0.119 0.012 147.921);
--popover-foreground: oklch(0.979 0.005 148.535);
--card: oklch(0.137 0.014 147.921);
--card-foreground: oklch(0.986 0.003 148.555);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.867 0.079 147.514);
--primary-foreground: oklch(0.355 0.083 145.429);
--secondary: oklch(0.781 0.07 289.258);
--secondary-foreground: oklch(0.252 0.08 283.534);
--accent: oklch(0.814 0.052 25.641);
--accent-foreground: oklch(0.294 0.063 27.98);
--destructive: oklch(0.635 0.251 30.27);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.867 0.079 147.514);
--chart-1: oklch(0.867 0.079 147.514);
--chart-2: oklch(0.781 0.07 289.258);
--chart-3: oklch(0.814 0.052 25.641);
--chart-4: oklch(0.813 0.059 289.596);
--chart-5: oklch(0.869 0.084 147.444);
}