Embellished is a shadcn/ui theme built around a pink primary color (#8f3853) with muted light pink accents (#efe7e9). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#8f3853) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #faf4f6whitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #000000black | #fcf8f9snow |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #000000black | #fcf8f9snow |
| Primary | #8f3853brown | #8f3853brown |
| Primary foreground | #fefbfcsnow | #fefbfcsnow |
| Secondary | #efe7e9linen | #231a1dblack |
| Secondary foreground | #62414cdimgray | #c2adb4silver |
| Muted | #ece9ealinen | #161314black |
| Muted foreground | #6f525cdimgray | #ad9099rosybrown |
| Accent | #efe7e9linen | #231a1dblack |
| Accent foreground | #62414cdimgray | #c2adb4silver |
| Destructive | #d01006firebrick | #f82216red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8f3853brown | #8f3853brown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 5.72:1 | AA |
| Accent | 7.23:1 | AAA |
| Destructive | 5.59:1 | AA |
| Text on background | 19.33:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 6.36:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Embellished in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.936 0.004 355.747);
--muted-foreground: oklch(0.473 0.041 358.001);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.469 0.121 3.267);
--primary-foreground: oklch(0.991 0.003 355.69);
--secondary: oklch(0.934 0.009 355.907);
--secondary-foreground: oklch(0.417 0.048 358.755);
--accent: oklch(0.934 0.009 355.907);
--accent-foreground: oklch(0.417 0.048 358.755);
--destructive: oklch(0.542 0.217 29.535);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.469 0.121 3.267);
--chart-1: oklch(0.469 0.121 3.267);
--chart-2: oklch(0.934 0.009 355.907);
--chart-3: oklch(0.934 0.009 355.907);
--chart-4: oklch(0.959 0.006 355.792);
--chart-5: oklch(0.469 0.129 3.878);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.973 0.007 355.818);
--muted: oklch(0.19 0.006 356.57);
--muted-foreground: oklch(0.681 0.037 357.136);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.982 0.005 355.749);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.982 0.005 355.749);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.469 0.121 3.267);
--primary-foreground: oklch(0.991 0.003 355.69);
--secondary: oklch(0.23 0.015 357.475);
--secondary-foreground: oklch(0.768 0.026 356.585);
--accent: oklch(0.23 0.015 357.475);
--accent-foreground: oklch(0.768 0.026 356.585);
--destructive: oklch(0.624 0.242 29.36);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.469 0.121 3.267);
--chart-1: oklch(0.469 0.121 3.267);
--chart-2: oklch(0.23 0.015 357.475);
--chart-3: oklch(0.23 0.015 357.475);
--chart-4: oklch(0.261 0.019 357.603);
--chart-5: oklch(0.469 0.129 3.878);
}