Stamp is a shadcn/ui theme built around a deep orange primary color (#6f3c15) with near-white accents (#eceae9). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the deep orange primary (#6f3c15) on an orange-tinted background (#0f0a06).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfaf7snow | #0f0a06black |
| Foreground | #000000black | #f9f7f6whitesmoke |
| Card | #fdfaf7snow | #0f0a06black |
| Card foreground | #000000black | #f9f7f6whitesmoke |
| Popover | #fdfaf7snow | #0f0a06black |
| Popover foreground | #000000black | #f9f7f6whitesmoke |
| Primary | #6f3c15saddlebrown | #6f3c15saddlebrown |
| Primary foreground | #f4d8c3peachpuff | #f4d8c3peachpuff |
| Secondary | #eceae9linen | #2f2b27darkslategray |
| Secondary foreground | #56514ddarkslategray | #cac4bfsilver |
| Muted | #f5f2f0whitesmoke | #0f0c0ablack |
| Muted foreground | #685d55dimgray | #aa9f97darkgray |
| Accent | #eceae9linen | #2f2b27darkslategray |
| Accent foreground | #56514ddarkslategray | #cac4bfsilver |
| Destructive | #e13105orangered | #e63205orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6f3c15saddlebrown | #6f3c15saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.12:1 | AAA |
| Text on card | 20.12:1 | AAA |
| Primary button | 6.59:1 | AA |
| Secondary button | 6.55:1 | AA |
| Muted text | 5.72:1 | AA |
| Accent | 6.55:1 | AA |
| Destructive | 4.53:1 | AA |
| Text on background | 18.48:1 | AAA |
| Text on card | 18.48:1 | AAA |
| Primary button | 6.59:1 | AA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 7.51:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 4.36:1 | AA Large |
Paste this into your globals.css to use Stamp in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.005 60.218);
--foreground: oklch(0 0 0);
--muted: oklch(0.963 0.005 60.219);
--muted-foreground: oklch(0.486 0.019 59.743);
--popover: oklch(0.985 0.005 60.218);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.985 0.005 60.218);
--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.414 0.088 54.216);
--primary-foreground: oklch(0.9 0.042 59.633);
--secondary: oklch(0.939 0.002 60.253);
--secondary-foreground: oklch(0.439 0.01 59.968);
--accent: oklch(0.939 0.002 60.253);
--accent-foreground: oklch(0.439 0.01 59.968);
--destructive: oklch(0.591 0.216 33.033);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.414 0.088 54.216);
--chart-1: oklch(0.414 0.088 54.216);
--chart-2: oklch(0.939 0.002 60.253);
--chart-3: oklch(0.939 0.002 60.253);
--chart-4: oklch(0.962 0.001 60.265);
--chart-5: oklch(0.416 0.091 53.725);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.148 0.013 63.646);
--foreground: oklch(0.978 0.003 60.246);
--muted: oklch(0.159 0.007 59.63);
--muted-foreground: oklch(0.711 0.017 59.951);
--popover: oklch(0.148 0.013 63.646);
--popover-foreground: oklch(0.978 0.003 60.246);
--card: oklch(0.148 0.013 63.646);
--card-foreground: oklch(0.978 0.003 60.246);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.414 0.088 54.216);
--primary-foreground: oklch(0.9 0.042 59.633);
--secondary: oklch(0.292 0.009 59.863);
--secondary-foreground: oklch(0.823 0.009 60.129);
--accent: oklch(0.292 0.009 59.863);
--accent-foreground: oklch(0.823 0.009 60.129);
--destructive: oklch(0.601 0.22 33.005);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.414 0.088 54.216);
--chart-1: oklch(0.414 0.088 54.216);
--chart-2: oklch(0.292 0.009 59.863);
--chart-3: oklch(0.292 0.009 59.863);
--chart-4: oklch(0.323 0.01 59.847);
--chart-5: oklch(0.416 0.091 53.725);
}