Embassy is a shadcn/ui theme built around a vivid orange primary color (#dc5a09) with vivid violet accents (#5a09dc). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid orange primary (#dc5a09) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #040201black |
| Foreground | #0d0602black | #ffffffwhite |
| Card | #fdf9f7snow | #080402black |
| Card foreground | #090401black | #ffffffwhite |
| Popover | #fdf9f7snow | #080402black |
| Popover foreground | #090401black | #ffffffwhite |
| Primary | #dc5a09chocolate | #dc5a09chocolate |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #09dc5aspringgreen | #09dc5aspringgreen |
| Secondary foreground | #01180ablack | #01180ablack |
| Muted | #dbebe1gainsboro | #14241ablack |
| Muted foreground | #3e423fdarkslategray | #bdc1bfsilver |
| Accent | #5a09dcblueviolet | #5a09dcblueviolet |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8e1101darkred | #fe2306orangered |
| Destructive foreground | #ffc9c2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dc5a09chocolate | #dc5a09chocolate |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.67:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 3.80:1 | AA Large |
| Secondary button | 10.05:1 | AAA |
| Muted text | 8.26:1 | AAA |
| Accent | 8.35:1 | AAA |
| Destructive | 6.44:1 | AA |
| Text on background | 20.68:1 | AAA |
| Text on card | 20.37:1 | AAA |
| Primary button | 3.80:1 | AA Large |
| Secondary button | 10.05:1 | AAA |
| Muted text | 8.88:1 | AAA |
| Accent | 8.35:1 | AAA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Embassy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 54.469);
--foreground: oklch(0.133 0.02 65.169);
--muted: oklch(0.925 0.022 158.933);
--muted-foreground: oklch(0.373 0.006 159.079);
--popover: oklch(0.985 0.005 54.431);
--popover-foreground: oklch(0.116 0.018 66.295);
--card: oklch(0.985 0.005 54.431);
--card-foreground: oklch(0.116 0.018 66.295);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.627 0.18 43.957);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.781 0.225 147.924);
--secondary-foreground: oklch(0.186 0.044 155.1);
--accent: oklch(0.457 0.26 286.315);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.414 0.16 31.221);
--destructive-foreground: oklch(0.882 0.062 27.07);
--ring: oklch(0.627 0.18 43.957);
--chart-1: oklch(0.627 0.18 43.957);
--chart-2: oklch(0.781 0.225 147.924);
--chart-3: oklch(0.457 0.26 286.315);
--chart-4: oklch(0.82 0.237 147.867);
--chart-5: oklch(0.632 0.184 43.37);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.092 0.009 62.229);
--foreground: oklch(1 0 180);
--muted: oklch(0.243 0.029 156.387);
--muted-foreground: oklch(0.808 0.005 159.321);
--popover: oklch(0.116 0.012 62.229);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.116 0.012 62.229);
--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.627 0.18 43.957);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.781 0.225 147.924);
--secondary-foreground: oklch(0.186 0.044 155.1);
--accent: oklch(0.457 0.26 286.315);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.635 0.247 30.619);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.627 0.18 43.957);
--chart-1: oklch(0.627 0.18 43.957);
--chart-2: oklch(0.781 0.225 147.924);
--chart-3: oklch(0.457 0.26 286.315);
--chart-4: oklch(0.82 0.237 147.867);
--chart-5: oklch(0.632 0.184 43.37);
}