Spilled Cappuccino Xerinae is a shadcn/ui theme built around a muted light orange primary color (#e6e3e0) with muted light violet accents (#e3e0e6). The light mode uses a neutral background (#fbfaf8). Dark mode keeps the muted light orange primary (#e6e3e0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfaf8snow | #000000black |
| Foreground | #110a03black | #f9f7f6whitesmoke |
| Card | #faf7f5whitesmoke | #030303black |
| Card foreground | #0d0703black | #fbfaf9snow |
| Popover | #fbfaf8snow | #000000black |
| Popover foreground | #110a03black | #f9f7f6whitesmoke |
| Primary | #e6e3e0gainsboro | #e6e3e0gainsboro |
| Primary foreground | #534941darkolivegreen | #534941darkolivegreen |
| Secondary | #e0e6e3gainsboro | #e0e6e3gainsboro |
| Secondary foreground | #415349darkslategray | #415349darkslategray |
| Muted | #f1f3f2whitesmoke | #0c0e0dblack |
| Muted foreground | #3f5549darkslategray | #aac0b4silver |
| Accent | #e3e0e6gainsboro | #e3e0e6gainsboro |
| Accent foreground | #494153darkslategray | #494153darkslategray |
| Destructive | #670404maroon | #eb0a0ared |
| Destructive foreground | #fba2a2lightpink | #ffffffwhite |
| Border | #e9e8e7linen | #1a1919black |
| Input | #e9e8e7linen | #1a1919black |
| Ring | #e6e3e0gainsboro | #e6e3e0gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.83:1 | AAA |
| Text on card | 18.77:1 | AAA |
| Primary button | 6.83:1 | AA |
| Secondary button | 6.49:1 | AA |
| Muted text | 7.24:1 | AAA |
| Accent | 7.40:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 19.66:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 6.83:1 | AA |
| Secondary button | 6.49:1 | AA |
| Muted text | 10.07:1 | AAA |
| Accent | 7.40:1 | AAA |
| Destructive | 4.58:1 | AA |
Paste this into your globals.css to use Spilled Cappuccino Xerinae in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.003 62.158);
--foreground: oklch(0.15 0.021 67.791);
--muted: oklch(0.963 0.003 162.551);
--muted-foreground: oklch(0.427 0.034 160.479);
--popover: oklch(0.985 0.003 62.158);
--popover-foreground: oklch(0.15 0.021 67.791);
--card: oklch(0.978 0.004 62.14);
--card-foreground: oklch(0.135 0.018 71.281);
--border: oklch(0.931 0.001 62.177);
--input: oklch(0.931 0.001 62.177);
--primary: oklch(0.917 0.006 62.11);
--primary-foreground: oklch(0.413 0.019 61.573);
--secondary: oklch(0.92 0.009 162.382);
--secondary-foreground: oklch(0.423 0.027 160.908);
--accent: oklch(0.91 0.01 306.293);
--accent-foreground: oklch(0.391 0.031 305.405);
--destructive: oklch(0.325 0.129 28.486);
--destructive-foreground: oklch(0.801 0.106 19.673);
--ring: oklch(0.917 0.006 62.11);
--chart-1: oklch(0.917 0.006 62.11);
--chart-2: oklch(0.92 0.009 162.382);
--chart-3: oklch(0.91 0.01 306.293);
--chart-4: oklch(0.942 0.006 162.452);
--chart-5: oklch(0.917 0.007 62.09);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.978 0.003 62.154);
--muted: oklch(0.16 0.004 161.974);
--muted-foreground: oklch(0.788 0.03 161.656);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.978 0.003 62.154);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.985 0.002 62.167);
--border: oklch(0.216 0.002 62.078);
--input: oklch(0.216 0.002 62.078);
--primary: oklch(0.917 0.006 62.11);
--primary-foreground: oklch(0.413 0.019 61.573);
--secondary: oklch(0.92 0.009 162.382);
--secondary-foreground: oklch(0.423 0.027 160.908);
--accent: oklch(0.91 0.01 306.293);
--accent-foreground: oklch(0.391 0.031 305.405);
--destructive: oklch(0.593 0.24 28.945);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.917 0.006 62.11);
--chart-1: oklch(0.917 0.006 62.11);
--chart-2: oklch(0.92 0.009 162.382);
--chart-3: oklch(0.91 0.01 306.293);
--chart-4: oklch(0.942 0.006 162.452);
--chart-5: oklch(0.917 0.007 62.09);
}