Specific is a shadcn/ui theme built around a vivid green primary color (#04f614) with vivid red accents (#f61404). The light mode uses a neutral background (#f7fdf7). Dark mode keeps the vivid green primary (#04f614) on a green-tinted background (#070e07).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf7mintcream | #070e07black |
| Foreground | #010401black | #fcfdfcwhite |
| Card | #f7fdf7mintcream | #070e07black |
| Card foreground | #010401black | #fcfdfcwhite |
| Popover | #f7fdf7mintcream | #070e07black |
| Popover foreground | #010401black | #fcfdfcwhite |
| Primary | #04f614lime | #04f614lime |
| Primary foreground | #012d04black | #012d04black |
| Secondary | #1404f6blue | #1404f6blue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dcdbebgainsboro | #151424black |
| Muted foreground | #474747darkslategray | #b8b8b8silver |
| Accent | #f61404red | #f61404red |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #6c1d04maroon | #e63d0aorangered |
| Destructive foreground | #fbbba7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #04f614lime | #04f614lime |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.97:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 10.31:1 | AAA |
| Secondary button | 8.82:1 | AAA |
| Muted text | 6.77:1 | AA |
| Accent | 4.17:1 | AA Large |
| Destructive | 7.06:1 | AAA |
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 10.31:1 | AAA |
| Secondary button | 8.82:1 | AAA |
| Muted text | 9.16:1 | AAA |
| Accent | 4.17:1 | AA Large |
| Destructive | 4.16:1 | AA Large |
Paste this into your globals.css to use Specific in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.011 147.438);
--foreground: oklch(0.098 0.022 145.82);
--muted: oklch(0.896 0.023 288.995);
--muted-foreground: oklch(0.399 0 180);
--popover: oklch(0.988 0.011 147.438);
--popover-foreground: oklch(0.098 0.022 145.82);
--card: oklch(0.988 0.011 147.438);
--card-foreground: oklch(0.098 0.022 145.82);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.844 0.284 142.734);
--primary-foreground: oklch(0.259 0.083 143.812);
--secondary: oklch(0.445 0.302 265.671);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.616 0.247 29.767);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.356 0.116 36.063);
--destructive-foreground: oklch(0.845 0.08 37.611);
--ring: oklch(0.844 0.284 142.734);
--chart-1: oklch(0.844 0.284 142.734);
--chart-2: oklch(0.445 0.302 265.671);
--chart-3: oklch(0.616 0.247 29.767);
--chart-4: oklch(0.457 0.302 266.831);
--chart-5: oklch(0.854 0.288 142.704);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.152 0.019 146.5);
--foreground: oklch(0.993 0.002 147.521);
--muted: oklch(0.2 0.033 286.017);
--muted-foreground: oklch(0.781 0 180);
--popover: oklch(0.152 0.019 146.5);
--popover-foreground: oklch(0.993 0.002 147.521);
--card: oklch(0.152 0.019 146.5);
--card-foreground: oklch(0.993 0.002 147.521);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.844 0.284 142.734);
--primary-foreground: oklch(0.259 0.083 143.812);
--secondary: oklch(0.445 0.302 265.671);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.616 0.247 29.767);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.611 0.212 34.692);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.844 0.284 142.734);
--chart-1: oklch(0.844 0.284 142.734);
--chart-2: oklch(0.445 0.302 265.671);
--chart-3: oklch(0.616 0.247 29.767);
--chart-4: oklch(0.457 0.302 266.831);
--chart-5: oklch(0.854 0.288 142.704);
}