Specific is a shadcn/ui theme built around a muted green primary color (#6f8d6d) with muted light green accents (#c9d5c8). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the muted green primary (#6f8d6d) on a neutral background (#010401).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf7mintcream | #010401black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #f4fbf3whitesmoke | #030802black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fdf7mintcream | #010401black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #6f8d6dgray | #6f8d6dgray |
| Primary foreground | #000000black | #000000black |
| Secondary | #c9d5c8lightgrey | #1a2419black |
| Secondary foreground | #2f3d2edarkslategray | #acc5aadarkgray |
| Muted | #e7efe6beige | #111910black |
| Muted foreground | #434743darkslategray | #b8bcb8silver |
| Accent | #c9d5c8lightgrey | #1a2419black |
| Accent foreground | #2f3d2edarkslategray | #acc5aadarkgray |
| Destructive | #b84a0asienna | #e95d0cchocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6f8d6dgray | #6f8d6dgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.31:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 5.72:1 | AA |
| Secondary button | 7.58:1 | AAA |
| Muted text | 8.04:1 | AAA |
| Accent | 7.58:1 | AAA |
| Destructive | 5.23:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 5.72:1 | AA |
| Secondary button | 8.61:1 | AAA |
| Muted text | 9.35:1 | AAA |
| Accent | 8.61:1 | AAA |
| Destructive | 3.48: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.008 143.094);
--foreground: oklch(0 0 0);
--muted: oklch(0.943 0.014 143.065);
--muted-foreground: oklch(0.393 0.008 143.034);
--popover: oklch(0.988 0.008 143.094);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.013 143.074);
--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.612 0.059 142.676);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.861 0.023 143.01);
--secondary-foreground: oklch(0.343 0.031 142.698);
--accent: oklch(0.861 0.023 143.01);
--accent-foreground: oklch(0.343 0.031 142.698);
--destructive: oklch(0.548 0.157 43.409);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.612 0.059 142.676);
--chart-1: oklch(0.612 0.059 142.676);
--chart-2: oklch(0.861 0.023 143.01);
--chart-3: oklch(0.861 0.023 143.01);
--chart-4: oklch(0.883 0.019 143.033);
--chart-5: oklch(0.618 0.072 142.579);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.019 141.389);
--foreground: oklch(0.993 0.001 143.13);
--muted: oklch(0.201 0.02 142.648);
--muted-foreground: oklch(0.792 0.007 143.093);
--popover: oklch(0.097 0.019 141.389);
--popover-foreground: oklch(0.993 0.001 143.13);
--card: oklch(0.123 0.023 141.389);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.612 0.059 142.676);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.248 0.026 142.627);
--secondary-foreground: oklch(0.798 0.046 142.859);
--accent: oklch(0.248 0.026 142.627);
--accent-foreground: oklch(0.798 0.046 142.859);
--destructive: oklch(0.65 0.189 42.942);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.612 0.059 142.676);
--chart-1: oklch(0.612 0.059 142.676);
--chart-2: oklch(0.248 0.026 142.627);
--chart-3: oklch(0.248 0.026 142.627);
--chart-4: oklch(0.282 0.032 142.596);
--chart-5: oklch(0.618 0.072 142.579);
}