Amazing is a shadcn/ui theme built around a deep yellow primary color (#57550f) with deep purple accents (#550f57). The light mode uses a neutral background (#fefefb). Dark mode keeps the deep yellow primary (#57550f) on a neutral background (#080802).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #080802black |
| Foreground | #000000black | #fdfdfcwhite |
| Card | #fdfdf7snow | #0c0c03black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefefbwhite | #080802black |
| Popover foreground | #000000black | #fdfdfcwhite |
| Primary | #57550fdarkolivegreen | #57550fdarkolivegreen |
| Primary foreground | #f0eea8palegoldenrod | #f0eea8palegoldenrod |
| Secondary | #0f5755darkslategray | #0f5755darkslategray |
| Secondary foreground | #a8f0eepaleturquoise | #a8f0eepaleturquoise |
| Muted | #edf2f2whitesmoke | #0d1212black |
| Muted foreground | #4c5d5cdimgray | #a2b3b3darkgray |
| Accent | #550f57indigo | #550f57indigo |
| Accent foreground | #eea8f0plum | #eea8f0plum |
| Destructive | #7d0f07maroon | #d91a0dfirebrick |
| Destructive foreground | #fbc0bclightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #57550fdarkolivegreen | #57550fdarkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.75:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 6.49:1 | AA |
| Muted text | 6.14:1 | AA |
| Accent | 7.23:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 19.74:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 6.49:1 | AA |
| Muted text | 8.67:1 | AAA |
| Accent | 7.23:1 | AAA |
| Destructive | 5.11:1 | AA |
Paste this into your globals.css to use Amazing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 104.872);
--foreground: oklch(0 0 0);
--muted: oklch(0.958 0.005 194.688);
--muted-foreground: oklch(0.462 0.021 193.966);
--popover: oklch(0.996 0.004 104.872);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.007 104.936);
--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.438 0.087 107.44);
--primary-foreground: oklch(0.934 0.089 106.333);
--secondary: oklch(0.416 0.067 191.441);
--secondary-foreground: oklch(0.908 0.072 193.336);
--accent: oklch(0.327 0.133 326.607);
--accent-foreground: oklch(0.821 0.124 325.515);
--destructive: oklch(0.379 0.144 29.71);
--destructive-foreground: oklch(0.859 0.069 23.281);
--ring: oklch(0.438 0.087 107.44);
--chart-1: oklch(0.438 0.087 107.44);
--chart-2: oklch(0.416 0.067 191.441);
--chart-3: oklch(0.327 0.133 326.607);
--chart-4: oklch(0.458 0.074 191.387);
--chart-5: oklch(0.443 0.089 107.442);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.017 107.326);
--foreground: oklch(0.994 0.002 104.836);
--muted: oklch(0.176 0.008 193.985);
--muted-foreground: oklch(0.754 0.019 194.331);
--popover: oklch(0.13 0.017 107.326);
--popover-foreground: oklch(0.994 0.002 104.836);
--card: oklch(0.15 0.02 107.213);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.438 0.087 107.44);
--primary-foreground: oklch(0.934 0.089 106.333);
--secondary: oklch(0.416 0.067 191.441);
--secondary-foreground: oklch(0.908 0.072 193.336);
--accent: oklch(0.327 0.133 326.607);
--accent-foreground: oklch(0.821 0.124 325.515);
--destructive: oklch(0.564 0.22 29.752);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.438 0.087 107.44);
--chart-1: oklch(0.438 0.087 107.44);
--chart-2: oklch(0.416 0.067 191.441);
--chart-3: oklch(0.327 0.133 326.607);
--chart-4: oklch(0.458 0.074 191.387);
--chart-5: oklch(0.443 0.089 107.442);
}