Individual is a shadcn/ui theme built around a muted light green primary color (#cfdccb) with muted light red accents (#dccbcf). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#cfdccb) on a neutral background (#040703).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040703black |
| Foreground | #061103black | #f6f9f5whitesmoke |
| Card | #ffffffwhite | #040703black |
| Card foreground | #061103black | #f6f9f5whitesmoke |
| Popover | #ffffffwhite | #040703black |
| Popover foreground | #061103black | #f6f9f5whitesmoke |
| Primary | #cfdccblightgrey | #cfdccblightgrey |
| Primary foreground | #344630darkslategray | #344630darkslategray |
| Secondary | #cbcfdclightgrey | #cbcfdclightgrey |
| Secondary foreground | #303446darkslategray | #303446darkslategray |
| Muted | #ecedeewhitesmoke | #111113black |
| Muted foreground | #5c5c5cdimgray | #a3a3a3darkgray |
| Accent | #dccbcflightgrey | #dccbcflightgrey |
| Accent foreground | #463034darkslategray | #463034darkslategray |
| Destructive | #641007maroon | #ea2610orangered |
| Destructive foreground | #f9ada4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cfdccblightgrey | #cfdccblightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.27:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 7.13:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 5.68:1 | AA |
| Accent | 7.80:1 | AAA |
| Destructive | 7.11:1 | AAA |
| Text on background | 19.08:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 7.13:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 7.47:1 | AAA |
| Accent | 7.80:1 | AAA |
| Destructive | 4.40:1 | AA Large |
Paste this into your globals.css to use Individual in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.162 0.036 137.91);
--muted: oklch(0.945 0.002 275.004);
--muted-foreground: oklch(0.474 0 198.435);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.162 0.036 137.91);
--card: oklch(1 0 180);
--card-foreground: oklch(0.162 0.036 137.91);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.88 0.026 139.437);
--primary-foreground: oklch(0.371 0.044 139.445);
--secondary: oklch(0.855 0.019 274.76);
--secondary-foreground: oklch(0.328 0.032 273.609);
--accent: oklch(0.858 0.019 3.774);
--accent-foreground: oklch(0.335 0.033 5.806);
--destructive: oklch(0.328 0.118 30.589);
--destructive-foreground: oklch(0.817 0.091 26.271);
--ring: oklch(0.88 0.026 139.437);
--chart-1: oklch(0.88 0.026 139.437);
--chart-2: oklch(0.855 0.019 274.76);
--chart-3: oklch(0.858 0.019 3.774);
--chart-4: oklch(0.881 0.015 274.819);
--chart-5: oklch(0.881 0.031 139.436);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.015 138.266);
--foreground: oklch(0.98 0.006 139.443);
--muted: oklch(0.179 0.004 274.783);
--muted-foreground: oklch(0.716 0 165.964);
--popover: oklch(0.121 0.015 138.266);
--popover-foreground: oklch(0.98 0.006 139.443);
--card: oklch(0.121 0.015 138.266);
--card-foreground: oklch(0.98 0.006 139.443);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.88 0.026 139.437);
--primary-foreground: oklch(0.371 0.044 139.445);
--secondary: oklch(0.855 0.019 274.76);
--secondary-foreground: oklch(0.328 0.032 273.609);
--accent: oklch(0.858 0.019 3.774);
--accent-foreground: oklch(0.335 0.033 5.806);
--destructive: oklch(0.601 0.229 30.478);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.88 0.026 139.437);
--chart-1: oklch(0.88 0.026 139.437);
--chart-2: oklch(0.855 0.019 274.76);
--chart-3: oklch(0.858 0.019 3.774);
--chart-4: oklch(0.881 0.015 274.819);
--chart-5: oklch(0.881 0.031 139.436);
}