Gorgeous is a shadcn/ui theme built around a green primary color (#20ac5d) with teal accents (#20aca3). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the green primary (#20ac5d) on a neutral background (#030705).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #030705black |
| Foreground | #000000black | #f5faf7whitesmoke |
| Card | #f4faf7whitesmoke | #040b07black |
| Card foreground | #000000black | #f8fcfamintcream |
| Popover | #f4faf7whitesmoke | #040b07black |
| Popover foreground | #000000black | #f8fcfamintcream |
| Primary | #20ac5dmediumseagreen | #20ac5dmediumseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #29ac20forestgreen | #29ac20forestgreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d2e6d1gainsboro | #1a2e19black |
| Muted foreground | #566855dimgray | #98aa97darkseagreen |
| Accent | #20aca3lightseagreen | #20aca3lightseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #8b1c04darkred | #f93b10orangered |
| Destructive foreground | #fdcec3peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #20ac5dmediumseagreen | #20ac5dmediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.28:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 2.93:1 | Fail |
| Secondary button | 2.98:1 | Fail |
| Muted text | 4.55:1 | AA |
| Accent | 7.51:1 | AAA |
| Destructive | 6.50:1 | AA |
| Text on background | 19.18:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 2.93:1 | Fail |
| Secondary button | 2.98:1 | Fail |
| Muted text | 5.85:1 | AA |
| Accent | 7.51:1 | AAA |
| Destructive | 3.71:1 | AA Large |
Paste this into your globals.css to use Gorgeous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 161.676);
--foreground: oklch(0 0 0);
--muted: oklch(0.904 0.036 143.425);
--muted-foreground: oklch(0.496 0.036 143.24);
--popover: oklch(0.981 0.008 161.608);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.008 161.608);
--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.657 0.163 152.151);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.652 0.205 142.129);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.675 0.112 187.744);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.417 0.149 33.213);
--destructive-foreground: oklch(0.89 0.056 32.816);
--ring: oklch(0.657 0.163 152.151);
--chart-1: oklch(0.657 0.163 152.151);
--chart-2: oklch(0.652 0.205 142.129);
--chart-3: oklch(0.675 0.112 187.744);
--chart-4: oklch(0.687 0.217 142.131);
--chart-5: oklch(0.664 0.168 151.793);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.013 161.793);
--foreground: oklch(0.98 0.007 161.627);
--muted: oklch(0.279 0.046 142.726);
--muted-foreground: oklch(0.719 0.033 143.388);
--popover: oklch(0.139 0.015 161.732);
--popover-foreground: oklch(0.987 0.005 161.689);
--card: oklch(0.139 0.015 161.732);
--card-foreground: oklch(0.987 0.005 161.689);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.657 0.163 152.151);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.652 0.205 142.129);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.675 0.112 187.744);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.642 0.23 32.98);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.657 0.163 152.151);
--chart-1: oklch(0.657 0.163 152.151);
--chart-2: oklch(0.652 0.205 142.129);
--chart-3: oklch(0.675 0.112 187.744);
--chart-4: oklch(0.687 0.217 142.131);
--chart-5: oklch(0.664 0.168 151.793);
}