autogenerated coffee-ish theme is a shadcn/ui theme built around an orange primary color (#784636) with cyan accents (#366778). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#784636) on an orange-tinted background (#0a0605).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0605black |
| Foreground | #120603black | #faf6f4whitesmoke |
| Card | #fcfcfcsnow | #0e0807black |
| Card foreground | #0d0502black | #fcf9f8snow |
| Popover | #ffffffwhite | #0a0605black |
| Popover foreground | #120603black | #faf6f4whitesmoke |
| Primary | #784636saddlebrown | #784636saddlebrown |
| Primary foreground | #f6edealinen | #f6edealinen |
| Secondary | #366778darkslategray | #366778darkslategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dde2e4gainsboro | #1b2022black |
| Muted foreground | #516167dimgray | #98a9aedarkgray |
| Accent | #366778darkslategray | #366778darkslategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d2320ffirebrick | #ea3810orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #efeceblinen | #1d1816black |
| Input | #efeceblinen | #1d1816black |
| Ring | #784636saddlebrown | #784636saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.94:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 6.67:1 | AA |
| Secondary button | 6.22:1 | AA |
| Muted text | 4.94:1 | AA |
| Accent | 6.22:1 | AA |
| Destructive | 4.99:1 | AA |
| Text on background | 18.75:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 6.67:1 | AA |
| Secondary button | 6.22:1 | AA |
| Muted text | 6.72:1 | AA |
| Accent | 6.22:1 | AA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use autogenerated coffee-ish theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.142 0.025 47.744);
--muted: oklch(0.91 0.006 219.56);
--muted-foreground: oklch(0.482 0.022 219.97);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.142 0.025 47.744);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.127 0.022 49.81);
--border: oklch(0.946 0.004 39.481);
--input: oklch(0.946 0.004 39.481);
--primary: oklch(0.449 0.073 39.163);
--primary-foreground: oklch(0.951 0.01 39.441);
--secondary: oklch(0.487 0.059 221.931);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.487 0.059 221.931);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.566 0.2 33.145);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.449 0.073 39.163);
--chart-1: oklch(0.449 0.073 39.163);
--chart-2: oklch(0.487 0.059 221.931);
--chart-3: oklch(0.487 0.059 221.931);
--chart-4: oklch(0.516 0.064 221.976);
--chart-5: oklch(0.45 0.079 39.137);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.01 43.829);
--foreground: oklch(0.976 0.005 39.472);
--muted: oklch(0.241 0.009 219.851);
--muted-foreground: oklch(0.723 0.02 219.751);
--popover: oklch(0.13 0.01 43.829);
--popover-foreground: oklch(0.976 0.005 39.472);
--card: oklch(0.143 0.011 42.4);
--card-foreground: oklch(0.984 0.004 39.484);
--border: oklch(0.214 0.008 39.323);
--input: oklch(0.214 0.008 39.323);
--primary: oklch(0.449 0.073 39.163);
--primary-foreground: oklch(0.951 0.01 39.441);
--secondary: oklch(0.487 0.059 221.931);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.487 0.059 221.931);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.613 0.218 33.072);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.449 0.073 39.163);
--chart-1: oklch(0.449 0.073 39.163);
--chart-2: oklch(0.487 0.059 221.931);
--chart-3: oklch(0.487 0.059 221.931);
--chart-4: oklch(0.516 0.064 221.976);
--chart-5: oklch(0.45 0.079 39.137);
}