Easy-going is a shadcn/ui theme built around a vivid teal primary color (#0bd595) with neutral gray accents (#cacecd). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid teal primary (#0bd595) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #010403black |
| Foreground | #020806black | #f9fbfamintcream |
| Card | #f7fdfbmintcream | #030706black |
| Card foreground | #010403black | #fcfdfdwhite |
| Popover | #f7fdfbmintcream | #030706black |
| Popover foreground | #010403black | #fcfdfdwhite |
| Primary | #0bd595mediumspringgreen | #0bd595mediumspringgreen |
| Primary foreground | #01130eblack | #01130eblack |
| Secondary | #cacecdlightgrey | #141918black |
| Secondary foreground | #313534darkslategray | #a7b9b3darkgray |
| Muted | #d4e8e2gainsboro | #172b25darkslategray |
| Muted foreground | #3c4e48darkslategray | #b1c3bdsilver |
| Accent | #cacecdlightgrey | #141918black |
| Accent foreground | #313534darkslategray | #a7b9b3darkgray |
| Destructive | #cb1515firebrick | #eb4242tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0bd595mediumspringgreen | #0bd595mediumspringgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.89:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 9.97:1 | AAA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 6.91:1 | AA |
| Accent | 7.82:1 | AAA |
| Destructive | 5.73:1 | AA |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 9.97:1 | AAA |
| Secondary button | 8.62:1 | AAA |
| Muted text | 8.06:1 | AAA |
| Accent | 8.62:1 | AAA |
| Destructive | 3.89:1 | AA Large |
Paste this into your globals.css to use Easy-going in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 175.517);
--foreground: oklch(0.125 0.016 175.842);
--muted: oklch(0.914 0.023 174.848);
--muted-foreground: oklch(0.406 0.024 173.728);
--popover: oklch(0.989 0.007 175.417);
--popover-foreground: oklch(0.099 0.013 175.842);
--card: oklch(0.989 0.007 175.417);
--card-foreground: oklch(0.099 0.013 175.842);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.773 0.167 162.636);
--primary-foreground: oklch(0.169 0.031 171.838);
--secondary: oklch(0.848 0.005 175.45);
--secondary-foreground: oklch(0.325 0.006 175.062);
--accent: oklch(0.848 0.005 175.45);
--accent-foreground: oklch(0.325 0.006 175.062);
--destructive: oklch(0.536 0.21 28.256);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.773 0.167 162.636);
--chart-1: oklch(0.773 0.167 162.636);
--chart-2: oklch(0.848 0.005 175.45);
--chart-3: oklch(0.848 0.005 175.45);
--chart-4: oklch(0.871 0.004 175.48);
--chart-5: oklch(0.782 0.17 162.272);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.01 175.798);
--foreground: oklch(0.986 0.002 175.551);
--muted: oklch(0.271 0.029 171.847);
--muted-foreground: oklch(0.802 0.021 174.828);
--popover: oklch(0.123 0.013 175.798);
--popover-foreground: oklch(0.993 0.001 175.583);
--card: oklch(0.123 0.013 175.798);
--card-foreground: oklch(0.993 0.001 175.583);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.773 0.167 162.636);
--primary-foreground: oklch(0.169 0.031 171.838);
--secondary: oklch(0.21 0.008 174.417);
--secondary-foreground: oklch(0.77 0.021 174.81);
--accent: oklch(0.21 0.008 174.417);
--accent-foreground: oklch(0.77 0.021 174.81);
--destructive: oklch(0.628 0.206 25.412);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.773 0.167 162.636);
--chart-1: oklch(0.773 0.167 162.636);
--chart-2: oklch(0.21 0.008 174.417);
--chart-3: oklch(0.21 0.008 174.417);
--chart-4: oklch(0.244 0.011 174.293);
--chart-5: oklch(0.782 0.17 162.272);
}