Chops is a shadcn/ui theme built around a near-black primary color (#010402) with near-black accents (#010404). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the near-black primary (#010402) on a green-tinted background (#060e09).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #060e09black |
| Foreground | #040c07black | #fcfdfcwhite |
| Card | #fcfdfcwhite | #060e09black |
| Card foreground | #040c07black | #fcfdfcwhite |
| Popover | #fcfdfcwhite | #060e09black |
| Popover foreground | #040c07black | #fcfdfcwhite |
| Primary | #010402black | #010402black |
| Primary foreground | #1db454mediumseagreen | #1db454mediumseagreen |
| Secondary | #010401black | #010401black |
| Secondary foreground | #31b41dlimegreen | #31b41dlimegreen |
| Muted | #f1f3f1whitesmoke | #0c0e0cblack |
| Muted foreground | #536850darkolivegreen | #9aaf97darkseagreen |
| Accent | #010404black | #010404black |
| Accent foreground | #1db4a0lightseagreen | #1db4a0lightseagreen |
| Destructive | #b62602firebrick | #fd3d0dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #010402black | #010402black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 7.55:1 | AAA |
| Secondary button | 7.51:1 | AAA |
| Muted text | 5.45:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.44:1 | AA |
| Text on background | 19.15:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 7.55:1 | AAA |
| Secondary button | 7.51:1 | AAA |
| Muted text | 8.26:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Chops in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 158.664);
--foreground: oklch(0.141 0.02 158.312);
--muted: oklch(0.963 0.004 141.582);
--muted-foreground: oklch(0.492 0.045 141.337);
--popover: oklch(0.993 0.003 158.664);
--popover-foreground: oklch(0.141 0.02 158.312);
--card: oklch(0.993 0.003 158.664);
--card-foreground: oklch(0.141 0.02 158.312);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.099 0.018 158.431);
--primary-foreground: oklch(0.675 0.18 149.467);
--secondary: oklch(0.099 0.023 139.364);
--secondary-foreground: oklch(0.673 0.212 141.427);
--accent: oklch(0.101 0.014 187.113);
--accent-foreground: oklch(0.692 0.12 180.706);
--destructive: oklch(0.505 0.184 33.248);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.099 0.018 158.431);
--chart-1: oklch(0.099 0.018 158.431);
--chart-2: oklch(0.099 0.023 139.364);
--chart-3: oklch(0.101 0.014 187.113);
--chart-4: oklch(0.162 0.039 139.731);
--chart-5: oklch(0.1 0.018 158.42);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.016 157.578);
--foreground: oklch(0.993 0.003 158.664);
--muted: oklch(0.16 0.006 141.491);
--muted-foreground: oklch(0.732 0.041 141.435);
--popover: oklch(0.153 0.016 157.578);
--popover-foreground: oklch(0.993 0.003 158.664);
--card: oklch(0.153 0.016 157.578);
--card-foreground: oklch(0.993 0.003 158.664);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.099 0.018 158.431);
--primary-foreground: oklch(0.675 0.18 149.467);
--secondary: oklch(0.099 0.023 139.364);
--secondary-foreground: oklch(0.673 0.212 141.427);
--accent: oklch(0.101 0.014 187.113);
--accent-foreground: oklch(0.692 0.12 180.706);
--destructive: oklch(0.649 0.232 33.373);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.099 0.018 158.431);
--chart-1: oklch(0.099 0.018 158.431);
--chart-2: oklch(0.099 0.023 139.364);
--chart-3: oklch(0.101 0.014 187.113);
--chart-4: oklch(0.162 0.039 139.731);
--chart-5: oklch(0.1 0.018 158.42);
}