Xenial Blackberry Yogurt is a shadcn/ui theme built around a light blue primary color (#bbd2eb) with light blue accents (#bbd2eb). The light mode uses a neutral background (#f7f7f7). Dark mode switches to a light purple primary (#e7bfe4) on a neutral background (#0e0e0e).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f7f7whitesmoke | #0e0e0eblack |
| Foreground | #0d020bblack | #fbf9fbsnow |
| Card | #ffffffwhite | #1a1a1ablack |
| Card foreground | #0d020bblack | #fbf9fbsnow |
| Popover | #fdfcfdwhite | #1a1a1ablack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #bbd2eblightblue | #e7bfe4thistle |
| Primary foreground | #000000black | #000000black |
| Secondary | #e7bfe4thistle | #bbd2eblightblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #ddddddgainsboro | #323133darkslategray |
| Muted foreground | #7e7e7egray | #818181gray |
| Accent | #bbd2eblightblue | #e7bfe4thistle |
| Accent foreground | #020202black | #000000black |
| Destructive | #e72353crimson | #e61a1acrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #d8ebfflavender | #313131darkslategray |
| Input | #838383gray | #313131darkslategray |
| Ring | #bbd2eblightblue | #e7bfe4thistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.04:1 | AAA |
| Text on card | 20.37:1 | AAA |
| Primary button | 13.54:1 | AAA |
| Secondary button | 13.02:1 | AAA |
| Muted text | 2.97:1 | Fail |
| Accent | 13.37:1 | AAA |
| Destructive | 4.39:1 | AA Large |
| Text on background | 18.46:1 | AAA |
| Text on card | 16.69:1 | AAA |
| Primary button | 12.97:1 | AAA |
| Secondary button | 13.53:1 | AAA |
| Muted text | 3.30:1 | AA Large |
| Accent | 12.97:1 | AAA |
| Destructive | 4.66:1 | AA |
Paste this into your globals.css to use Xenial Blackberry Yogurt in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.977 0 170.538);
--foreground: oklch(0.122 0.033 333.656);
--muted: oklch(0.897 0 180);
--muted-foreground: oklch(0.592 0 164.055);
--popover: oklch(0.992 0.003 332.044);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0.122 0.033 333.656);
--border: oklch(0.932 0.034 250.412);
--input: oklch(0.611 0 180);
--primary: oklch(0.855 0.043 251.303);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.852 0.067 328.585);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.855 0.043 250.523);
--accent-foreground: oklch(0.084 0 180);
--destructive: oklch(0.602 0.224 15.184);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.855 0.043 250.523);
--chart-1: oklch(0.855 0.043 251.303);
--chart-2: oklch(0.852 0.067 328.585);
--chart-3: oklch(0.855 0.043 250.523);
--chart-4: oklch(0.878 0.055 328.433);
--chart-5: oklch(0.854 0.045 251.323);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.162 0 158.199);
--foreground: oklch(0.984 0.004 332.063);
--muted: oklch(0.316 0.003 315.984);
--muted-foreground: oklch(0.605 0 180);
--popover: oklch(0.218 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.216 0 180);
--card-foreground: oklch(0.984 0.004 332.063);
--border: oklch(0.313 0 167.471);
--input: oklch(0.313 0 180);
--primary: oklch(0.851 0.067 328.568);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.855 0.043 250.523);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.851 0.067 328.568);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.587 0.23 28.262);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.851 0.067 328.568);
--chart-1: oklch(0.851 0.067 328.568);
--chart-2: oklch(0.855 0.043 250.523);
--chart-3: oklch(0.851 0.067 328.568);
--chart-4: oklch(0.88 0.035 250.442);
--chart-5: oklch(0.85 0.071 328.617);
}