Specific is a shadcn/ui theme built around a muted light green primary color (#f7f9f6) with muted light green accents (#d8dfd3). The light mode uses a neutral background (#f9fdf7). Dark mode keeps the muted light green primary (#f7f9f6) on a green-tinted background (#070b04).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fdf7mintcream | #070b04black |
| Foreground | #000000black | #f7f8f6whitesmoke |
| Card | #f6fcf3whitesmoke | #090f05black |
| Card foreground | #000000black | #fafbf9snow |
| Popover | #f6fcf3whitesmoke | #090f05black |
| Popover foreground | #000000black | #fafbf9snow |
| Primary | #f7f9f6whitesmoke | #f7f9f6whitesmoke |
| Primary foreground | #2a3422darkslategray | #2a3422darkslategray |
| Secondary | #e8e9e7linen | #2d3229darkslategray |
| Secondary foreground | #4e544adarkslategray | #c6cdc1silver |
| Muted | #e1ecdagainsboro | #1a2513black |
| Muted foreground | #5d635adimgray | #a0a59cdarkgray |
| Accent | #d8dfd3gainsboro | #45543bdarkslategray |
| Accent foreground | #3e4a36darkslategray | #dfe6dbgainsboro |
| Destructive | #830602maroon | #e70b04red |
| Destructive foreground | #febbb9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f7f9f6whitesmoke | #f7f9f6whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.40:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 12.29:1 | AAA |
| Secondary button | 6.42:1 | AA |
| Muted text | 5.06:1 | AA |
| Accent | 6.87:1 | AA |
| Destructive | 6.55:1 | AA |
| Text on background | 18.59:1 | AAA |
| Text on card | 18.67:1 | AAA |
| Primary button | 12.29:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 6.33:1 | AA |
| Accent | 6.36:1 | AA |
| Destructive | 4.71:1 | AA |
Paste this into your globals.css to use Specific in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.008 132.423);
--foreground: oklch(0 0 0);
--muted: oklch(0.93 0.027 132.575);
--muted-foreground: oklch(0.492 0.016 132.611);
--popover: oklch(0.984 0.013 132.456);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.013 132.456);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.98 0.005 132.394);
--primary-foreground: oklch(0.311 0.035 133.282);
--secondary: oklch(0.933 0.004 132.391);
--secondary-foreground: oklch(0.437 0.017 132.654);
--accent: oklch(0.894 0.018 132.513);
--accent-foreground: oklch(0.392 0.037 133.119);
--destructive: oklch(0.385 0.154 29.599);
--destructive-foreground: oklch(0.853 0.078 21.064);
--ring: oklch(0.98 0.005 132.394);
--chart-1: oklch(0.98 0.005 132.394);
--chart-2: oklch(0.933 0.004 132.391);
--chart-3: oklch(0.894 0.018 132.513);
--chart-4: oklch(0.956 0.003 132.379);
--chart-5: oklch(0.98 0.005 132.399);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.02 131.178);
--foreground: oklch(0.979 0.003 132.379);
--muted: oklch(0.249 0.036 133.61);
--muted-foreground: oklch(0.716 0.015 132.516);
--popover: oklch(0.159 0.024 132.083);
--popover-foreground: oklch(0.986 0.002 132.372);
--card: oklch(0.159 0.024 132.083);
--card-foreground: oklch(0.986 0.002 132.372);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.98 0.005 132.394);
--primary-foreground: oklch(0.311 0.035 133.282);
--secondary: oklch(0.311 0.018 132.803);
--secondary-foreground: oklch(0.838 0.017 132.512);
--accent: oklch(0.426 0.045 133.233);
--accent-foreground: oklch(0.917 0.016 132.493);
--destructive: oklch(0.585 0.237 29.415);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.98 0.005 132.394);
--chart-1: oklch(0.98 0.005 132.394);
--chart-2: oklch(0.311 0.018 132.803);
--chart-3: oklch(0.426 0.045 133.233);
--chart-4: oklch(0.342 0.02 132.818);
--chart-5: oklch(0.98 0.005 132.399);
}