Gorgeous is a shadcn/ui theme built around a muted green primary color (#99b2a0) with muted teal accents (#99b2ad). The light mode uses a neutral background (#fbfefc). Dark mode keeps the muted green primary (#99b2a0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #000000black |
| Foreground | #030c06black | #fcfdfcwhite |
| Card | #f8fcf9mintcream | #030303black |
| Card foreground | #020804black | #ffffffwhite |
| Popover | #f8fcf9mintcream | #030303black |
| Popover foreground | #020804black | #ffffffwhite |
| Primary | #99b2a0darkgray | #99b2a0darkgray |
| Primary foreground | #0b0f0cblack | #0b0f0cblack |
| Secondary | #9fb299darkgray | #9fb299darkgray |
| Secondary foreground | #0c0f0bblack | #0c0f0bblack |
| Muted | #ecf0ealinen | #10150fblack |
| Muted foreground | #505b4ddarkolivegreen | #a7b2a4darkgray |
| Accent | #99b2addarkgray | #99b2addarkgray |
| Accent foreground | #0b0f0eblack | #0b0f0eblack |
| Destructive | #781708maroon | #f13a1eorangered |
| Destructive foreground | #fac0b7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #99b2a0darkgray | #99b2a0darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.48:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 8.50:1 | AAA |
| Secondary button | 8.55:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 8.58:1 | AAA |
| Destructive | 6.92:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.50:1 | AAA |
| Secondary button | 8.55:1 | AAA |
| Muted text | 8.42:1 | AAA |
| Accent | 8.58:1 | AAA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Gorgeous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 155.135);
--foreground: oklch(0.141 0.022 154.523);
--muted: oklch(0.95 0.008 138.894);
--muted-foreground: oklch(0.457 0.025 138.916);
--popover: oklch(0.987 0.006 155.079);
--popover-foreground: oklch(0.123 0.019 154.667);
--card: oklch(0.987 0.006 155.079);
--card-foreground: oklch(0.123 0.019 154.667);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.74 0.038 154.224);
--primary-foreground: oklch(0.161 0.008 154.263);
--secondary: oklch(0.742 0.041 138.916);
--secondary-foreground: oklch(0.162 0.009 138.915);
--accent: oklch(0.744 0.029 180.961);
--accent-foreground: oklch(0.162 0.006 181.005);
--destructive: oklch(0.374 0.134 31.63);
--destructive-foreground: oklch(0.858 0.069 28.556);
--ring: oklch(0.74 0.038 154.224);
--chart-1: oklch(0.74 0.038 154.224);
--chart-2: oklch(0.742 0.041 138.916);
--chart-3: oklch(0.744 0.029 180.961);
--chart-4: oklch(0.765 0.038 138.912);
--chart-5: oklch(0.744 0.045 154.016);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 155.175);
--muted: oklch(0.187 0.013 138.923);
--muted-foreground: oklch(0.75 0.022 138.903);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.74 0.038 154.224);
--primary-foreground: oklch(0.161 0.008 154.263);
--secondary: oklch(0.742 0.041 138.916);
--secondary-foreground: oklch(0.162 0.009 138.915);
--accent: oklch(0.744 0.029 180.961);
--accent-foreground: oklch(0.162 0.006 181.005);
--destructive: oklch(0.627 0.222 31.616);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.74 0.038 154.224);
--chart-1: oklch(0.74 0.038 154.224);
--chart-2: oklch(0.742 0.041 138.916);
--chart-3: oklch(0.744 0.029 180.961);
--chart-4: oklch(0.765 0.038 138.912);
--chart-5: oklch(0.744 0.045 154.016);
}