Clear-cut is a shadcn/ui theme built around a muted blue primary color (#96a2c0) with muted green accents (#a2c096). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted blue primary (#96a2c0) on a blue-tinted background (#06090e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #06090eblack |
| Foreground | #000000black | #f9fafbghostwhite |
| Card | #ffffffwhite | #06090eblack |
| Card foreground | #000000black | #f9fafbghostwhite |
| Popover | #ffffffwhite | #06090eblack |
| Popover foreground | #000000black | #f9fafbghostwhite |
| Primary | #96a2c0darkgray | #96a2c0darkgray |
| Primary foreground | #0d1016black | #0d1016black |
| Secondary | #c096a2rosybrown | #c096a2rosybrown |
| Secondary foreground | #160d10black | #160d10black |
| Muted | #f1e9eclinen | #160e10black |
| Muted foreground | #5c474ddarkslategray | #b8a3a9darkgray |
| Accent | #a2c096darkseagreen | #a2c096darkseagreen |
| Accent foreground | #10160dblack | #10160dblack |
| Destructive | #9d1c10firebrick | #ec5446tomato |
| Destructive foreground | #fce5e3mistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #96a2c0darkgray | #96a2c0darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 7.48:1 | AAA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 7.15:1 | AAA |
| Accent | 9.20:1 | AAA |
| Destructive | 6.69:1 | AA |
| Text on background | 19.10:1 | AAA |
| Text on card | 19.10:1 | AAA |
| Primary button | 7.48:1 | AAA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 8.01:1 | AAA |
| Accent | 9.20:1 | AAA |
| Destructive | 5.91:1 | AA |
Paste this into your globals.css to use Clear-cut in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.941 0.009 356.933);
--muted-foreground: oklch(0.422 0.03 358.656);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.714 0.045 266.934);
--primary-foreground: oklch(0.173 0.014 266.783);
--secondary: oklch(0.715 0.053 358.709);
--secondary-foreground: oklch(0.174 0.016 359.2);
--accent: oklch(0.774 0.067 136.363);
--accent-foreground: oklch(0.192 0.02 136.448);
--destructive: oklch(0.451 0.166 29.988);
--destructive-foreground: oklch(0.941 0.025 23.859);
--ring: oklch(0.714 0.045 266.934);
--chart-1: oklch(0.714 0.045 266.934);
--chart-2: oklch(0.715 0.053 358.709);
--chart-3: oklch(0.774 0.067 136.363);
--chart-4: oklch(0.742 0.048 358.442);
--chart-5: oklch(0.711 0.051 266.857);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.014 263.598);
--foreground: oklch(0.984 0.002 267.411);
--muted: oklch(0.175 0.014 358.884);
--muted-foreground: oklch(0.735 0.026 357.664);
--popover: oklch(0.137 0.014 263.598);
--popover-foreground: oklch(0.984 0.002 267.411);
--card: oklch(0.137 0.014 263.598);
--card-foreground: oklch(0.984 0.002 267.411);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.714 0.045 266.934);
--primary-foreground: oklch(0.173 0.014 266.783);
--secondary: oklch(0.715 0.053 358.709);
--secondary-foreground: oklch(0.174 0.016 359.2);
--accent: oklch(0.774 0.067 136.363);
--accent-foreground: oklch(0.192 0.02 136.448);
--destructive: oklch(0.648 0.189 28.572);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.714 0.045 266.934);
--chart-1: oklch(0.714 0.045 266.934);
--chart-2: oklch(0.715 0.053 358.709);
--chart-3: oklch(0.774 0.067 136.363);
--chart-4: oklch(0.742 0.048 358.442);
--chart-5: oklch(0.711 0.051 266.857);
}