Catch is a shadcn/ui theme built around a near-black primary color (#000504) with near-black accents (#000305). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#000504) on a teal-tinted background (#05100e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #05100eblack |
| Foreground | #03110fblack | #f6f9f8whitesmoke |
| Card | #ffffffwhite | #05100eblack |
| Card foreground | #03110fblack | #f6f9f8whitesmoke |
| Popover | #ffffffwhite | #05100eblack |
| Popover foreground | #03110fblack | #f6f9f8whitesmoke |
| Primary | #000504black | #000504black |
| Primary foreground | #0dc5aclightseagreen | #0dc5aclightseagreen |
| Secondary | #000502black | #000502black |
| Secondary foreground | #0dc550limegreen | #0dc550limegreen |
| Muted | #e3eee7lavender | #111c15black |
| Muted foreground | #576b5edimgray | #94a89cdarkseagreen |
| Accent | #000305black | #000305black |
| Accent foreground | #44b3f3cornflowerblue | #44b3f3cornflowerblue |
| Destructive | #972002darkred | #fd3d0dorangered |
| Destructive foreground | #fed7cdbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #000504black | #000504black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.24:1 | AAA |
| Text on card | 19.24:1 | AAA |
| Primary button | 9.38:1 | AAA |
| Secondary button | 8.92:1 | AAA |
| Muted text | 4.78:1 | AA |
| Accent | 8.84:1 | AAA |
| Destructive | 6.25:1 | AA |
| Text on background | 18.28:1 | AAA |
| Text on card | 18.28:1 | AAA |
| Primary button | 9.38:1 | AAA |
| Secondary button | 8.92:1 | AAA |
| Muted text | 6.91:1 | AA |
| Accent | 8.84:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Catch in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.163 0.021 185.196);
--muted: oklch(0.938 0.015 158.371);
--muted-foreground: oklch(0.507 0.03 157.355);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.163 0.021 185.196);
--card: oklch(1 0 180);
--card-foreground: oklch(0.163 0.021 185.196);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.103 0.016 187.016);
--primary-foreground: oklch(0.737 0.133 179.399);
--secondary: oklch(0.101 0.021 158.374);
--secondary-foreground: oklch(0.718 0.206 147.897);
--accent: oklch(0.092 0.015 222.806);
--accent-foreground: oklch(0.731 0.136 238.333);
--destructive: oklch(0.443 0.159 33.614);
--destructive-foreground: oklch(0.909 0.047 34.339);
--ring: oklch(0.103 0.016 187.016);
--chart-1: oklch(0.103 0.016 187.016);
--chart-2: oklch(0.101 0.021 158.374);
--chart-3: oklch(0.092 0.015 222.806);
--chart-4: oklch(0.166 0.037 156.137);
--chart-5: oklch(0.103 0.017 186.999);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.018 185.62);
--foreground: oklch(0.979 0.003 187.683);
--muted: oklch(0.215 0.021 156.389);
--muted-foreground: oklch(0.712 0.028 157.842);
--popover: oklch(0.159 0.018 185.62);
--popover-foreground: oklch(0.979 0.003 187.683);
--card: oklch(0.159 0.018 185.62);
--card-foreground: oklch(0.979 0.003 187.683);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.103 0.016 187.016);
--primary-foreground: oklch(0.737 0.133 179.399);
--secondary: oklch(0.101 0.021 158.374);
--secondary-foreground: oklch(0.718 0.206 147.897);
--accent: oklch(0.092 0.015 222.806);
--accent-foreground: oklch(0.731 0.136 238.333);
--destructive: oklch(0.649 0.232 33.373);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.103 0.016 187.016);
--chart-1: oklch(0.103 0.016 187.016);
--chart-2: oklch(0.101 0.021 158.374);
--chart-3: oklch(0.092 0.015 222.806);
--chart-4: oklch(0.166 0.037 156.137);
--chart-5: oklch(0.103 0.017 186.999);
}