Promising Delicious Mandarin is a shadcn/ui theme built around a vivid orange primary color (#ffab19) with vivid blue accents (#196eff). The light mode uses a neutral background (#fdfbf7). Dark mode keeps the vivid orange primary (#ffab19) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbf7snow | #040301black |
| Foreground | #080603black | #ffffffwhite |
| Card | #fcf9f3floralwhite | #080602black |
| Card foreground | #040301black | #ffffffwhite |
| Popover | #fdfbf7snow | #040301black |
| Popover foreground | #080603black | #ffffffwhite |
| Primary | #ffab19orange | #ffab19orange |
| Primary foreground | #4d3000saddlebrown | #4d3000saddlebrown |
| Secondary | #196effdodgerblue | #196effdodgerblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dfe6f1lavender | #0e1520black |
| Muted foreground | #5a616ddimgray | #9299a5darkgray |
| Accent | #196effdodgerblue | #196effdodgerblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a72c06firebrick | #f75322orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e8e6e3gainsboro | #1c1a17black |
| Input | #e8e6e3gainsboro | #1c1a17black |
| Ring | #ffab19orange | #ffab19orange |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.55:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 4.46:1 | AA Large |
| Muted text | 4.95:1 | AA |
| Accent | 4.46:1 | AA Large |
| Destructive | 6.97:1 | AA |
| Text on background | 20.62:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 4.46:1 | AA Large |
| Muted text | 6.40:1 | AA |
| Accent | 4.46:1 | AA Large |
| Destructive | 3.37:1 | AA Large |
Paste this into your globals.css to use Promising Delicious Mandarin in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 81.513);
--foreground: oklch(0.122 0.012 87.317);
--muted: oklch(0.922 0.017 261.5);
--muted-foreground: oklch(0.49 0.022 261.439);
--popover: oklch(0.988 0.006 81.513);
--popover-foreground: oklch(0.122 0.012 87.317);
--card: oklch(0.982 0.009 81.511);
--card-foreground: oklch(0.097 0.01 87.317);
--border: oklch(0.926 0.004 81.513);
--input: oklch(0.926 0.004 81.513);
--primary: oklch(0.804 0.167 72.697);
--primary-foreground: oklch(0.337 0.071 74.121);
--secondary: oklch(0.581 0.23 261.017);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.581 0.23 261.017);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.484 0.165 35.05);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.804 0.167 72.697);
--chart-1: oklch(0.804 0.167 72.697);
--chart-2: oklch(0.581 0.23 261.017);
--chart-3: oklch(0.581 0.23 261.017);
--chart-4: oklch(0.603 0.216 260.707);
--chart-5: oklch(0.809 0.169 72.16);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.01 87.53);
--foreground: oklch(1 0 180);
--muted: oklch(0.193 0.025 261.07);
--muted-foreground: oklch(0.681 0.02 261.479);
--popover: oklch(0.097 0.01 87.53);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.122 0.013 87.53);
--card-foreground: oklch(1 0 180);
--border: oklch(0.219 0.005 81.485);
--input: oklch(0.219 0.005 81.485);
--primary: oklch(0.804 0.167 72.697);
--primary-foreground: oklch(0.337 0.071 74.121);
--secondary: oklch(0.581 0.23 261.017);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.581 0.23 261.017);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.662 0.208 36.227);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.804 0.167 72.697);
--chart-1: oklch(0.804 0.167 72.697);
--chart-2: oklch(0.581 0.23 261.017);
--chart-3: oklch(0.581 0.23 261.017);
--chart-4: oklch(0.603 0.216 260.707);
--chart-5: oklch(0.809 0.169 72.16);
}