Crop is a shadcn/ui theme built around a vivid orange primary color (#ce8312) with muted light orange accents (#d8d4d0). The light mode uses a neutral background (#fefdfb). Dark mode keeps the vivid orange primary (#ce8312) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #000000black |
| Foreground | #0d0902black | #faf8f5whitesmoke |
| Card | #fcfaf8snow | #030303black |
| Card foreground | #090601black | #fbfaf8snow |
| Popover | #fcfaf8snow | #030303black |
| Popover foreground | #090601black | #fbfaf8snow |
| Primary | #ce8312darkgoldenrod | #ce8312darkgoldenrod |
| Primary foreground | #130c02black | #130c02black |
| Secondary | #e8e8e8lavender | #1e1a15black |
| Secondary foreground | #504f4edarkslategray | #c0b5a5darkgray |
| Muted | #f4f1eblinen | #14100bblack |
| Muted foreground | #5e564adarkolivegreen | #b5ada1darkgray |
| Accent | #d8d4d0lightgrey | #362e21darkslategray |
| Accent foreground | #403c35darkslategray | #d3c7b6silver |
| Destructive | #cd2c04firebrick | #fa3e0forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ce8312darkgoldenrod | #ce8312darkgoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.49:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 6.67:1 | AA |
| Muted text | 6.39:1 | AA |
| Accent | 7.45:1 | AAA |
| Destructive | 5.30:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 8.53:1 | AAA |
| Muted text | 8.52:1 | AAA |
| Accent | 8.07:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Crop in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 78.306);
--foreground: oklch(0.142 0.021 85.878);
--muted: oklch(0.958 0.008 78.285);
--muted-foreground: oklch(0.458 0.022 78.058);
--popover: oklch(0.987 0.004 78.3);
--popover-foreground: oklch(0.123 0.018 87.114);
--card: oklch(0.987 0.004 78.3);
--card-foreground: oklch(0.123 0.018 87.114);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.673 0.143 68.535);
--primary-foreground: oklch(0.159 0.027 83.118);
--secondary: oklch(0.931 0 78.311);
--secondary-foreground: oklch(0.429 0.002 78.3);
--accent: oklch(0.872 0.007 78.286);
--accent-foreground: oklch(0.357 0.012 78.158);
--destructive: oklch(0.552 0.201 33.156);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.673 0.143 68.535);
--chart-1: oklch(0.673 0.143 68.535);
--chart-2: oklch(0.931 0 78.311);
--chart-3: oklch(0.872 0.007 78.286);
--chart-4: oklch(0.954 0 78.311);
--chart-5: oklch(0.679 0.146 67.851);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.979 0.004 78.299);
--muted: oklch(0.176 0.012 77.847);
--muted-foreground: oklch(0.751 0.019 78.207);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.986 0.003 78.304);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.986 0.003 78.304);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.673 0.143 68.535);
--primary-foreground: oklch(0.159 0.027 83.118);
--secondary: oklch(0.222 0.012 78.007);
--secondary-foreground: oklch(0.779 0.026 78.161);
--accent: oklch(0.305 0.025 77.636);
--accent-foreground: oklch(0.835 0.027 78.167);
--destructive: oklch(0.646 0.229 33.545);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.673 0.143 68.535);
--chart-1: oklch(0.673 0.143 68.535);
--chart-2: oklch(0.222 0.012 78.007);
--chart-3: oklch(0.305 0.025 77.636);
--chart-4: oklch(0.256 0.015 77.964);
--chart-5: oklch(0.679 0.146 67.851);
}