Category is a shadcn/ui theme built around a vivid light teal primary color (#dbfffe) with vivid light blue accents (#dbeeff). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid light teal primary (#dbfffe) on a teal-tinted background (#070e0e).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #070e0eblack |
| Foreground | #041111black | #f9fbfbghostwhite |
| Card | #f8fcfcmintcream | #081111black |
| Card foreground | #030d0cblack | #fcfdfdwhite |
| Popover | #f8fcfcmintcream | #081111black |
| Popover foreground | #030d0cblack | #fcfdfdwhite |
| Primary | #dbfffelightcyan | #dbfffelightcyan |
| Primary foreground | #004241darkslategray | #004241darkslategray |
| Secondary | #dbffedlightcyan | #dbffedlightcyan |
| Secondary foreground | #004220darkgreen | #004220darkgreen |
| Muted | #e6eae8lavender | #151917black |
| Muted foreground | #4b5d54darkslategray | #a2b4abdarkgray |
| Accent | #dbeefflavender | #dbeefflavender |
| Accent foreground | #0157a7teal | #0157a7teal |
| Destructive | #661405maroon | #f55538tomato |
| Destructive foreground | #fab0a3lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dbfffelightcyan | #dbfffelightcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.90:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 10.63:1 | AAA |
| Secondary button | 10.84:1 | AAA |
| Muted text | 5.77:1 | AA |
| Accent | 6.04:1 | AA |
| Destructive | 7.09:1 | AAA |
| Text on background | 18.77:1 | AAA |
| Text on card | 18.71:1 | AAA |
| Primary button | 10.63:1 | AAA |
| Secondary button | 10.84:1 | AAA |
| Muted text | 8.17:1 | AAA |
| Accent | 6.04:1 | AA |
| Destructive | 6.21:1 | AA |
Paste this into your globals.css to use Category in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 195.93);
--foreground: oklch(0.164 0.021 194.037);
--muted: oklch(0.933 0.004 164.173);
--muted-foreground: oklch(0.461 0.027 162.651);
--popover: oklch(0.988 0.005 195.886);
--popover-foreground: oklch(0.146 0.018 194.219);
--card: oklch(0.988 0.005 195.886);
--card-foreground: oklch(0.146 0.018 194.219);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.974 0.036 195.335);
--primary-foreground: oklch(0.343 0.059 192.897);
--secondary: oklch(0.969 0.044 163.066);
--secondary-foreground: oklch(0.332 0.085 153.408);
--accent: oklch(0.94 0.03 246.333);
--accent-foreground: oklch(0.461 0.147 254.265);
--destructive: oklch(0.335 0.117 32.46);
--destructive-foreground: oklch(0.824 0.09 30.242);
--ring: oklch(0.974 0.036 195.335);
--chart-1: oklch(0.974 0.036 195.335);
--chart-2: oklch(0.969 0.044 163.066);
--chart-3: oklch(0.94 0.03 246.333);
--chart-4: oklch(0.982 0.025 163.61);
--chart-5: oklch(0.975 0.037 195.317);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.012 194.747);
--foreground: oklch(0.987 0.003 195.922);
--muted: oklch(0.207 0.006 163.534);
--muted-foreground: oklch(0.753 0.025 163.419);
--popover: oklch(0.17 0.014 194.616);
--popover-foreground: oklch(0.993 0.001 195.948);
--card: oklch(0.17 0.014 194.616);
--card-foreground: oklch(0.993 0.001 195.948);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.974 0.036 195.335);
--primary-foreground: oklch(0.343 0.059 192.897);
--secondary: oklch(0.969 0.044 163.066);
--secondary-foreground: oklch(0.332 0.085 153.408);
--accent: oklch(0.94 0.03 246.333);
--accent-foreground: oklch(0.461 0.147 254.265);
--destructive: oklch(0.662 0.201 32.34);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.974 0.036 195.335);
--chart-1: oklch(0.974 0.036 195.335);
--chart-2: oklch(0.969 0.044 163.066);
--chart-3: oklch(0.94 0.03 246.333);
--chart-4: oklch(0.982 0.025 163.61);
--chart-5: oklch(0.975 0.037 195.317);
}