2 is a shadcn/ui theme built around a vivid light orange primary color (#f6ccbb) with vivid light cyan accents (#bbe6f6). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the vivid light orange primary (#f6ccbb) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf9f7snow | #000000black |
| Foreground | #0d0502black | #f9f7f6whitesmoke |
| Card | #fcf5f3seashell | #030303black |
| Card foreground | #090401black | #fbf9f9snow |
| Popover | #fdf9f7snow | #000000black |
| Popover foreground | #0d0502black | #f9f7f6whitesmoke |
| Primary | #f6ccbbpeachpuff | #f6ccbbpeachpuff |
| Primary foreground | #712a0fsaddlebrown | #712a0fsaddlebrown |
| Secondary | #bbe6f6paleturquoise | #bbe6f6paleturquoise |
| Secondary foreground | #0f5571darkslategray | #0f5571darkslategray |
| Muted | #f1f3f4whitesmoke | #0b0d0eblack |
| Muted foreground | #4f5a5fdimgray | #a0acb0darkgray |
| Accent | #bbe6f6paleturquoise | #bbe6f6paleturquoise |
| Accent foreground | #0f5571darkslategray | #0f5571darkslategray |
| Destructive | #620e09maroon | #ed443btomato |
| Destructive foreground | #f7aaa6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f6ccbbpeachpuff | #f6ccbbpeachpuff |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.25:1 | AAA |
| Text on card | 18.97:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 6.14:1 | AA |
| Muted text | 6.36:1 | AA |
| Accent | 6.14:1 | AA |
| Destructive | 7.10:1 | AAA |
| Text on background | 19.66:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 6.14:1 | AA |
| Muted text | 8.34:1 | AAA |
| Accent | 6.14:1 | AA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use 2 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.005 43.082);
--foreground: oklch(0.129 0.02 53.001);
--muted: oklch(0.963 0.003 223.16);
--muted-foreground: oklch(0.46 0.016 223.534);
--popover: oklch(0.984 0.005 43.082);
--popover-foreground: oklch(0.129 0.02 53.001);
--card: oklch(0.976 0.008 43.058);
--card-foreground: oklch(0.112 0.017 53.74);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.877 0.053 42.703);
--primary-foreground: oklch(0.385 0.107 40.017);
--secondary: oklch(0.899 0.049 223.87);
--secondary-foreground: oklch(0.423 0.079 230.738);
--accent: oklch(0.899 0.049 223.87);
--accent-foreground: oklch(0.423 0.079 230.738);
--destructive: oklch(0.322 0.118 28.841);
--destructive-foreground: oklch(0.811 0.091 22.605);
--ring: oklch(0.877 0.053 42.703);
--chart-1: oklch(0.877 0.053 42.703);
--chart-2: oklch(0.899 0.049 223.87);
--chart-3: oklch(0.899 0.049 223.87);
--chart-4: oklch(0.919 0.04 223.67);
--chart-5: oklch(0.877 0.055 42.69);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.977 0.003 43.1);
--muted: oklch(0.159 0.004 223.442);
--muted-foreground: oklch(0.736 0.014 223.337);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.977 0.003 43.1);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.984 0.002 43.111);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.877 0.053 42.703);
--primary-foreground: oklch(0.385 0.107 40.017);
--secondary: oklch(0.899 0.049 223.87);
--secondary-foreground: oklch(0.423 0.079 230.738);
--accent: oklch(0.899 0.049 223.87);
--accent-foreground: oklch(0.423 0.079 230.738);
--destructive: oklch(0.632 0.207 27.752);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.877 0.053 42.703);
--chart-1: oklch(0.877 0.053 42.703);
--chart-2: oklch(0.899 0.049 223.87);
--chart-3: oklch(0.899 0.049 223.87);
--chart-4: oklch(0.919 0.04 223.67);
--chart-5: oklch(0.877 0.055 42.69);
}