Beautiful is a shadcn/ui theme built around a muted orange primary color (#b39475) with muted violet accents (#9475b3). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the muted orange primary (#b39475) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf8snow | #030302black |
| Foreground | #000000black | #fcfaf8snow |
| Card | #fcfaf8snow | #030302black |
| Card foreground | #000000black | #fcfaf8snow |
| Popover | #fcfaf8snow | #030302black |
| Popover foreground | #000000black | #fcfaf8snow |
| Primary | #b39475rosybrown | #b39475rosybrown |
| Primary foreground | #000000black | #000000black |
| Secondary | #75b394darkseagreen | #75b394darkseagreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #dceae3gainsboro | #15231cblack |
| Muted foreground | #506259dimgray | #9dafa6darkgray |
| Accent | #9475b3mediumpurple | #9475b3mediumpurple |
| Accent foreground | #000000black | #000000black |
| Destructive | #862404darkred | #e43e07orangered |
| Destructive foreground | #fdcebfpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b39475rosybrown | #b39475rosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.15:1 | AAA |
| Text on card | 20.15:1 | AAA |
| Primary button | 7.40:1 | AAA |
| Secondary button | 8.62:1 | AAA |
| Muted text | 5.24:1 | AA |
| Accent | 5.44:1 | AA |
| Destructive | 6.51:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 7.40:1 | AAA |
| Secondary button | 8.62:1 | AAA |
| Muted text | 7.05:1 | AAA |
| Accent | 5.44:1 | AA |
| Destructive | 4.21:1 | AA Large |
Paste this into your globals.css to use Beautiful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.004 67.782);
--foreground: oklch(0 0 0);
--muted: oklch(0.925 0.018 164.615);
--muted-foreground: oklch(0.479 0.026 163.631);
--popover: oklch(0.986 0.004 67.782);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.004 67.782);
--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.687 0.057 66.633);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.715 0.079 161.783);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.615 0.098 306.657);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.414 0.137 36.276);
--destructive-foreground: oklch(0.889 0.057 39.255);
--ring: oklch(0.687 0.057 66.633);
--chart-1: oklch(0.687 0.057 66.633);
--chart-2: oklch(0.715 0.079 161.783);
--chart-3: oklch(0.615 0.098 306.657);
--chart-4: oklch(0.736 0.073 162.164);
--chart-5: oklch(0.689 0.063 66.468);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.094 0.006 72.906);
--foreground: oklch(0.986 0.003 67.789);
--muted: oklch(0.242 0.025 162.107);
--muted-foreground: oklch(0.736 0.024 164.275);
--popover: oklch(0.094 0.006 72.906);
--popover-foreground: oklch(0.986 0.003 67.789);
--card: oklch(0.094 0.006 72.906);
--card-foreground: oklch(0.986 0.003 67.789);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.687 0.057 66.633);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.715 0.079 161.783);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.615 0.098 306.657);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.607 0.209 35.251);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.687 0.057 66.633);
--chart-1: oklch(0.687 0.057 66.633);
--chart-2: oklch(0.715 0.079 161.783);
--chart-3: oklch(0.615 0.098 306.657);
--chart-4: oklch(0.736 0.073 162.164);
--chart-5: oklch(0.689 0.063 66.468);
}