Cutting is a shadcn/ui theme built around a deep green primary color (#102314) with deep purple accents (#23101f). The light mode uses a neutral background (#f7fdf8). Dark mode keeps the deep green primary (#102314) on a green-tinted background (#040b06).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf8mintcream | #040b06black |
| Foreground | #041508black | #f9fafaghostwhite |
| Card | #f7fdf8mintcream | #040b06black |
| Card foreground | #041508black | #f9fafaghostwhite |
| Popover | #f7fdf8mintcream | #040b06black |
| Popover foreground | #041508black | #f9fafaghostwhite |
| Primary | #102314black | #102314black |
| Primary foreground | #4fb064mediumseagreen | #4fb064mediumseagreen |
| Secondary | #23101fblack | #23101fblack |
| Secondary foreground | #d095c3plum | #d095c3plum |
| Muted | #f6eaf3lavenderblush | #150913black |
| Muted foreground | #574c55dimgray | #b3a8b1darkgray |
| Accent | #23101fblack | #23101fblack |
| Accent foreground | #d095c3plum | #d095c3plum |
| Destructive | #682808saddlebrown | #ed621dchocolate |
| Destructive foreground | #f8c4aanavajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #102314black | #102314black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.21:1 | AAA |
| Text on card | 18.21:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 6.97:1 | AA |
| Accent | 7.52:1 | AAA |
| Destructive | 7.10:1 | AAA |
| Text on background | 18.99:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 8.45:1 | AAA |
| Accent | 7.52:1 | AAA |
| Destructive | 6.34:1 | AA |
Paste this into your globals.css to use Cutting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.008 152.488);
--foreground: oklch(0.177 0.037 149.942);
--muted: oklch(0.948 0.018 332.913);
--muted-foreground: oklch(0.431 0.021 333.345);
--popover: oklch(0.988 0.008 152.488);
--popover-foreground: oklch(0.177 0.037 149.942);
--card: oklch(0.988 0.008 152.488);
--card-foreground: oklch(0.177 0.037 149.942);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.235 0.039 149.605);
--primary-foreground: oklch(0.68 0.144 148.485);
--secondary: oklch(0.207 0.041 335.479);
--secondary-foreground: oklch(0.741 0.092 334.424);
--accent: oklch(0.207 0.041 335.479);
--accent-foreground: oklch(0.741 0.092 334.424);
--destructive: oklch(0.365 0.1 42.977);
--destructive-foreground: oklch(0.86 0.069 47.894);
--ring: oklch(0.235 0.039 149.605);
--chart-1: oklch(0.235 0.039 149.605);
--chart-2: oklch(0.207 0.041 335.479);
--chart-3: oklch(0.207 0.041 335.479);
--chart-4: oklch(0.239 0.052 335.714);
--chart-5: oklch(0.237 0.041 149.377);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.02 151.855);
--foreground: oklch(0.985 0.002 152.593);
--muted: oklch(0.164 0.028 335.068);
--muted-foreground: oklch(0.743 0.018 332.99);
--popover: oklch(0.14 0.02 151.855);
--popover-foreground: oklch(0.985 0.002 152.593);
--card: oklch(0.14 0.02 151.855);
--card-foreground: oklch(0.985 0.002 152.593);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.235 0.039 149.605);
--primary-foreground: oklch(0.68 0.144 148.485);
--secondary: oklch(0.207 0.041 335.479);
--secondary-foreground: oklch(0.741 0.092 334.424);
--accent: oklch(0.207 0.041 335.479);
--accent-foreground: oklch(0.741 0.092 334.424);
--destructive: oklch(0.663 0.187 42.426);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.235 0.039 149.605);
--chart-1: oklch(0.235 0.039 149.605);
--chart-2: oklch(0.207 0.041 335.479);
--chart-3: oklch(0.207 0.041 335.479);
--chart-4: oklch(0.239 0.052 335.714);
--chart-5: oklch(0.237 0.041 149.377);
}