Specific is a shadcn/ui theme built around a vivid light red primary color (#fea5b9) with vivid light blue accents (#a5b9fe). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the vivid light red primary (#fea5b9) on a neutral background (#070304).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f8snow | #070304black |
| Foreground | #100407black | #f9f5f6whitesmoke |
| Card | #fdf7f8snow | #070304black |
| Card foreground | #100407black | #f9f5f6whitesmoke |
| Popover | #fdf7f8snow | #070304black |
| Popover foreground | #100407black | #f9f5f6whitesmoke |
| Primary | #fea5b9lightpink | #fea5b9lightpink |
| Primary foreground | #6f021bmaroon | #6f021bmaroon |
| Secondary | #b9fea5palegreen | #b9fea5palegreen |
| Secondary foreground | #020a00black | #020a00black |
| Muted | #d5e8cfgainsboro | #1d3017black |
| Muted foreground | #556052dimgray | #a2ad9fdarkgray |
| Accent | #a5b9felightsteelblue | #a5b9felightsteelblue |
| Accent foreground | #021b6fmidnightblue | #021b6fmidnightblue |
| Destructive | #60260bmaroon | #e96e35tomato |
| Destructive foreground | #f5c0a8lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fea5b9lightpink | #fea5b9lightpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.99:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 16.96:1 | AAA |
| Muted text | 5.10:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 7.29:1 | AAA |
| Text on background | 18.93:1 | AAA |
| Text on card | 18.93:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 16.96:1 | AAA |
| Muted text | 6.04:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.72:1 | AA |
Paste this into your globals.css to use Specific in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 1.163);
--foreground: oklch(0.133 0.027 2.525);
--muted: oklch(0.909 0.039 138.377);
--muted-foreground: oklch(0.476 0.026 138.392);
--popover: oklch(0.981 0.007 1.163);
--popover-foreground: oklch(0.133 0.027 2.525);
--card: oklch(0.981 0.007 1.163);
--card-foreground: oklch(0.133 0.027 2.525);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.814 0.108 4.548);
--primary-foreground: oklch(0.343 0.136 18.517);
--secondary: oklch(0.929 0.135 138.564);
--secondary-foreground: oklch(0.13 0.037 135.426);
--accent: oklch(0.796 0.1 270.974);
--accent-foreground: oklch(0.28 0.145 263.862);
--destructive: oklch(0.349 0.093 42.417);
--destructive-foreground: oklch(0.85 0.07 46.091);
--ring: oklch(0.814 0.108 4.548);
--chart-1: oklch(0.814 0.108 4.548);
--chart-2: oklch(0.929 0.135 138.564);
--chart-3: oklch(0.796 0.1 270.974);
--chart-4: oklch(0.94 0.114 138.502);
--chart-5: oklch(0.813 0.111 4.67);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.01 0.97);
--foreground: oklch(0.975 0.004 1.087);
--muted: oklch(0.286 0.05 138.664);
--muted-foreground: oklch(0.734 0.024 138.365);
--popover: oklch(0.11 0.01 0.97);
--popover-foreground: oklch(0.975 0.004 1.087);
--card: oklch(0.11 0.01 0.97);
--card-foreground: oklch(0.975 0.004 1.087);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.814 0.108 4.548);
--primary-foreground: oklch(0.343 0.136 18.517);
--secondary: oklch(0.929 0.135 138.564);
--secondary-foreground: oklch(0.13 0.037 135.426);
--accent: oklch(0.796 0.1 270.974);
--accent-foreground: oklch(0.28 0.145 263.862);
--destructive: oklch(0.676 0.167 43.264);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.814 0.108 4.548);
--chart-1: oklch(0.814 0.108 4.548);
--chart-2: oklch(0.929 0.135 138.564);
--chart-3: oklch(0.796 0.1 270.974);
--chart-4: oklch(0.94 0.114 138.502);
--chart-5: oklch(0.813 0.111 4.67);
}