Deep is a shadcn/ui theme built around a near-black primary color (#060208) with near-black accents (#020806). The light mode uses a neutral background (#faf8fc). Dark mode keeps the near-black primary (#060208) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #faf8fcghostwhite | #030203black |
| Foreground | #000000black | #f8f5fawhitesmoke |
| Card | #f8f4fbghostwhite | #050307black |
| Card foreground | #000000black | #faf8fcghostwhite |
| Popover | #faf8fcghostwhite | #030203black |
| Popover foreground | #000000black | #f8f5fawhitesmoke |
| Primary | #060208black | #060208black |
| Primary foreground | #d6b4eethistle | #d6b4eethistle |
| Secondary | #080602black | #080602black |
| Secondary foreground | #dba861sandybrown | #dba861sandybrown |
| Muted | #e7e4dfgainsboro | #201d18black |
| Muted foreground | #5f5a54dimgray | #aba7a0darkgray |
| Accent | #020806black | #020806black |
| Accent foreground | #28af76mediumseagreen | #28af76mediumseagreen |
| Destructive | #790301maroon | #fd0c08red |
| Destructive foreground | #feb0aelightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #060208black | #060208black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 11.40:1 | AAA |
| Secondary button | 9.44:1 | AAA |
| Muted text | 5.37:1 | AA |
| Accent | 7.18:1 | AAA |
| Destructive | 6.57:1 | AA |
| Text on background | 19.19:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 11.40:1 | AAA |
| Secondary button | 9.44:1 | AAA |
| Muted text | 7.02:1 | AAA |
| Accent | 7.18:1 | AAA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Deep in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 311.668);
--foreground: oklch(0 0 0);
--muted: oklch(0.919 0.008 76.613);
--muted-foreground: oklch(0.47 0.011 76.521);
--popover: oklch(0.981 0.007 311.668);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.972 0.01 311.639);
--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.101 0.026 313.818);
--primary-foreground: oklch(0.819 0.087 310.862);
--secondary: oklch(0.122 0.015 84.564);
--secondary-foreground: oklch(0.765 0.107 74.297);
--accent: oklch(0.125 0.017 169.954);
--accent-foreground: oklch(0.669 0.14 159.953);
--destructive: oklch(0.364 0.147 29.394);
--destructive-foreground: oklch(0.83 0.093 20.312);
--ring: oklch(0.101 0.026 313.818);
--chart-1: oklch(0.101 0.026 313.818);
--chart-2: oklch(0.122 0.015 84.564);
--chart-3: oklch(0.125 0.017 169.954);
--chart-4: oklch(0.17 0.023 77.691);
--chart-5: oklch(0.101 0.027 313.941);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.01 312.691);
--foreground: oklch(0.973 0.008 311.656);
--muted: oklch(0.232 0.011 76.348);
--muted-foreground: oklch(0.729 0.01 76.583);
--popover: oklch(0.086 0.01 312.691);
--popover-foreground: oklch(0.973 0.008 311.656);
--card: oklch(0.109 0.012 312.691);
--card-foreground: oklch(0.982 0.005 311.679);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.101 0.026 313.818);
--primary-foreground: oklch(0.819 0.087 310.862);
--secondary: oklch(0.122 0.015 84.564);
--secondary-foreground: oklch(0.765 0.107 74.297);
--accent: oklch(0.125 0.017 169.954);
--accent-foreground: oklch(0.669 0.14 159.953);
--destructive: oklch(0.626 0.254 29.172);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.101 0.026 313.818);
--chart-1: oklch(0.101 0.026 313.818);
--chart-2: oklch(0.122 0.015 84.564);
--chart-3: oklch(0.125 0.017 169.954);
--chart-4: oklch(0.17 0.023 77.691);
--chart-5: oklch(0.101 0.027 313.941);
}