Anyone is a shadcn/ui theme built around a teal primary color (#4cd6bf) with red accents (#d64c63). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#4cd6bf) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #010403black |
| Foreground | #010404black | #ffffffwhite |
| Card | #fbfefdwhite | #010403black |
| Card foreground | #010404black | #ffffffwhite |
| Popover | #fbfefdwhite | #010403black |
| Popover foreground | #010404black | #ffffffwhite |
| Primary | #4cd6bfmediumturquoise | #4cd6bfmediumturquoise |
| Primary foreground | #000000black | #000000black |
| Secondary | #d64c63indianred | #d64c63indianred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f5eaeclinen | #150a0cblack |
| Muted foreground | #4c4345darkslategray | #bcb3b5silver |
| Accent | #d64c63indianred | #d64c63indianred |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ba130dfirebrick | #e51710red |
| Destructive foreground | #fffafasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4cd6bfmediumturquoise | #4cd6bfmediumturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.28:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 4.12:1 | AA Large |
| Muted text | 8.14:1 | AAA |
| Accent | 4.12:1 | AA Large |
| Destructive | 6.37:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 4.12:1 | AA Large |
| Muted text | 9.50:1 | AAA |
| Accent | 4.12:1 | AA Large |
| Destructive | 4.71:1 | AA |
Paste this into your globals.css to use Anyone in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 185.364);
--foreground: oklch(0.1 0.012 185.106);
--muted: oklch(0.947 0.012 5.79);
--muted-foreground: oklch(0.392 0.012 6.226);
--popover: oklch(0.994 0.003 185.364);
--popover-foreground: oklch(0.1 0.012 185.106);
--card: oklch(0.994 0.003 185.364);
--card-foreground: oklch(0.1 0.012 185.106);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.797 0.123 179.792);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.611 0.173 14);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.611 0.173 14);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.502 0.197 29.086);
--destructive-foreground: oklch(0.989 0.005 19.67);
--ring: oklch(0.797 0.123 179.792);
--chart-1: oklch(0.797 0.123 179.792);
--chart-2: oklch(0.611 0.173 14);
--chart-3: oklch(0.611 0.173 14);
--chart-4: oklch(0.633 0.162 12.817);
--chart-5: oklch(0.805 0.127 179.548);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.01 185.147);
--foreground: oklch(1 0 180);
--muted: oklch(0.16 0.02 8.703);
--muted-foreground: oklch(0.775 0.01 5.78);
--popover: oklch(0.098 0.01 185.147);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.098 0.01 185.147);
--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.797 0.123 179.792);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.611 0.173 14);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.611 0.173 14);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.585 0.231 29.158);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.797 0.123 179.792);
--chart-1: oklch(0.797 0.123 179.792);
--chart-2: oklch(0.611 0.173 14);
--chart-3: oklch(0.611 0.173 14);
--chart-4: oklch(0.633 0.162 12.817);
--chart-5: oklch(0.805 0.127 179.548);
}