Amazing is a shadcn/ui theme built around a teal primary color (#38a5ad) with blue accents (#386bad). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#38a5ad) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #010404black | #f4fafamintcream |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #000000black | #f8fcfcmintcream |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #010404black | #f4fafamintcream |
| Primary | #38a5adlightseagreen | #38a5adlightseagreen |
| Primary foreground | #061213black | #061213black |
| Secondary | #38ad7bmediumseagreen | #38ad7bmediumseagreen |
| Secondary foreground | #06130eblack | #06130eblack |
| Muted | #e6efeblavender | #101915black |
| Muted foreground | #474847darkslategray | #b7b8b8silver |
| Accent | #386badsteelblue | #386badsteelblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #7a0501maroon | #fe0f06red |
| Destructive foreground | #ffb1aelightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #38a5adlightseagreen | #38a5adlightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.57:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.51:1 | AA |
| Secondary button | 6.72:1 | AA |
| Muted text | 7.83:1 | AAA |
| Accent | 5.41:1 | AA |
| Destructive | 6.58:1 | AA |
| Text on background | 19.90:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 6.51:1 | AA |
| Secondary button | 6.72:1 | AA |
| Muted text | 9.03:1 | AAA |
| Accent | 5.41:1 | AA |
| Destructive | 3.98:1 | AA Large |
Paste this into your globals.css to use Amazing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.099 0.012 199.693);
--muted: oklch(0.944 0.01 168.424);
--muted-foreground: oklch(0.401 0.002 168.583);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.099 0.012 199.693);
--card: oklch(0.992 0 161.565);
--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.666 0.097 201.936);
--primary-foreground: oklch(0.173 0.018 201.314);
--secondary: oklch(0.67 0.129 160.72);
--secondary-foreground: oklch(0.173 0.023 165.111);
--accent: oklch(0.525 0.119 255.963);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.366 0.147 29.792);
--destructive-foreground: oklch(0.832 0.092 21.42);
--ring: oklch(0.666 0.097 201.936);
--chart-1: oklch(0.666 0.097 201.936);
--chart-2: oklch(0.67 0.129 160.72);
--chart-3: oklch(0.525 0.119 255.963);
--chart-4: oklch(0.703 0.136 160.667);
--chart-5: oklch(0.674 0.101 202.026);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.981 0.006 202.15);
--muted: oklch(0.202 0.015 166.504);
--muted-foreground: oklch(0.782 0.002 168.669);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.981 0.006 202.15);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.987 0.004 202.171);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.666 0.097 201.936);
--primary-foreground: oklch(0.173 0.018 201.314);
--secondary: oklch(0.67 0.129 160.72);
--secondary-foreground: oklch(0.173 0.023 165.111);
--accent: oklch(0.525 0.119 255.963);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.628 0.254 29.349);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.666 0.097 201.936);
--chart-1: oklch(0.666 0.097 201.936);
--chart-2: oklch(0.67 0.129 160.72);
--chart-3: oklch(0.525 0.119 255.963);
--chart-4: oklch(0.703 0.136 160.667);
--chart-5: oklch(0.674 0.101 202.026);
}