Opening is a shadcn/ui theme built around a vivid teal primary color (#13966a) with muted teal accents (#bac5c1). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the vivid teal primary (#13966a) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfbmintcream | #010403black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f8fcfbmintcream | #010403black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fcfbmintcream | #010403black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #13966aseagreen | #13966aseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #cbcdcclightgrey | #141515black |
| Secondary foreground | #323433darkslategray | #aab1aedarkgray |
| Muted | #dce9e5gainsboro | #16231eblack |
| Muted foreground | #3d524bdarkslategray | #adc2bbsilver |
| Accent | #bac5c1silver | #26312ddarkslategray |
| Accent foreground | #232a27darkslategray | #bdccc7silver |
| Destructive | #8f290fsaddlebrown | #d43c16firebrick |
| Destructive foreground | #fbddd5antiquewhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #13966aseagreen | #13966aseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.31:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 3.76:1 | AA Large |
| Secondary button | 7.85:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 8.26:1 | AAA |
| Destructive | 6.59:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 3.76:1 | AA Large |
| Secondary button | 8.36:1 | AAA |
| Muted text | 8.71:1 | AAA |
| Accent | 8.10:1 | AAA |
| Destructive | 4.69:1 | AA |
Paste this into your globals.css to use Opening in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.005 174.429);
--foreground: oklch(0 0 0);
--muted: oklch(0.924 0.015 174.111);
--muted-foreground: oklch(0.419 0.029 172.379);
--popover: oklch(0.988 0.005 174.429);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.005 174.429);
--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.597 0.124 163.37);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.847 0.002 174.504);
--secondary-foreground: oklch(0.323 0.003 174.308);
--accent: oklch(0.813 0.014 174.09);
--accent-foreground: oklch(0.276 0.011 173.421);
--destructive: oklch(0.437 0.142 34.525);
--destructive-foreground: oklch(0.92 0.035 34.31);
--ring: oklch(0.597 0.124 163.37);
--chart-1: oklch(0.597 0.124 163.37);
--chart-2: oklch(0.847 0.002 174.504);
--chart-3: oklch(0.813 0.014 174.09);
--chart-4: oklch(0.87 0.002 174.519);
--chart-5: oklch(0.604 0.127 162.984);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.009 174.775);
--foreground: oklch(1 0 180);
--muted: oklch(0.24 0.02 171.893);
--muted-foreground: oklch(0.797 0.025 173.626);
--popover: oklch(0.097 0.009 174.775);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.097 0.009 174.775);
--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.597 0.124 163.37);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.195 0.003 174.166);
--secondary-foreground: oklch(0.753 0.008 174.277);
--accent: oklch(0.301 0.017 172.853);
--accent-foreground: oklch(0.832 0.018 173.943);
--destructive: oklch(0.58 0.195 34.258);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.597 0.124 163.37);
--chart-1: oklch(0.597 0.124 163.37);
--chart-2: oklch(0.195 0.003 174.166);
--chart-3: oklch(0.301 0.017 172.853);
--chart-4: oklch(0.229 0.004 174.113);
--chart-5: oklch(0.604 0.127 162.984);
}