Used Bleached Silk is a shadcn/ui theme built around a muted light yellow primary color (#f6f6f4) with muted blue accents (#484b61). The light mode uses a blue-tinted background (#272935). Dark mode keeps the muted light yellow primary (#f6f6f4) on a blue-tinted background (#272935).
| Token | Light | Dark |
|---|---|---|
| Background | #272935darkslategray | #272935darkslategray |
| Foreground | #f6f6f4whitesmoke | #f6f6f4whitesmoke |
| Card | #23252fdarkslategray | #23252fdarkslategray |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #21222cdarkslategray | #21222cdarkslategray |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #f6f6f4whitesmoke | #f6f6f4whitesmoke |
| Primary foreground | #2d2d25darkslategray | #2d2d25darkslategray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #31333fdarkslategray | #31333fdarkslategray |
| Muted foreground | #afb2c0silver | #afb2c0silver |
| Accent | #484b61darkslategray | #484b61darkslategray |
| Accent foreground | #eaebf0lavender | #eaebf0lavender |
| Destructive | #ea5339tomato | #ea5339tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #38393edarkslategray | #38393edarkslategray |
| Input | #3f4046darkslategray | #3f4046darkslategray |
| Ring | #f6f6f4whitesmoke | #f6f6f4whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 13.33:1 | AAA |
| Text on card | 15.32:1 | AAA |
| Primary button | 12.80:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.90:1 | AA |
| Accent | 7.17:1 | AAA |
| Destructive | 3.61:1 | AA Large |
| Text on background | 13.33:1 | AAA |
| Text on card | 15.32:1 | AAA |
| Primary button | 12.80:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.90:1 | AA |
| Accent | 7.17:1 | AAA |
| Destructive | 3.61:1 | AA Large |
Paste this into your globals.css to use Used Bleached Silk in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.284 0.022 277.093);
--foreground: oklch(0.972 0.003 106.45);
--muted: oklch(0.325 0.02 277.326);
--muted-foreground: oklch(0.765 0.021 277.909);
--popover: oklch(0.256 0.019 277.158);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.265 0.02 277.135);
--card-foreground: oklch(1 0 180);
--border: oklch(0.344 0.009 277.939);
--input: oklch(0.373 0.01 277.93);
--primary: oklch(0.972 0.003 106.45);
--primary-foreground: oklch(0.294 0.014 107.248);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.419 0.036 276.917);
--accent-foreground: oklch(0.942 0.006 278.223);
--destructive: oklch(0.643 0.191 32.31);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.972 0.003 106.45);
--chart-1: oklch(0.972 0.003 106.45);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.419 0.036 276.917);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.973 0.004 106.465);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.284 0.022 277.093);
--foreground: oklch(0.972 0.003 106.45);
--muted: oklch(0.325 0.02 277.326);
--muted-foreground: oklch(0.765 0.021 277.909);
--popover: oklch(0.256 0.019 277.158);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.265 0.02 277.135);
--card-foreground: oklch(1 0 180);
--border: oklch(0.344 0.009 277.939);
--input: oklch(0.373 0.01 277.93);
--primary: oklch(0.972 0.003 106.45);
--primary-foreground: oklch(0.294 0.014 107.248);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.419 0.036 276.917);
--accent-foreground: oklch(0.942 0.006 278.223);
--destructive: oklch(0.643 0.191 32.31);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.972 0.003 106.45);
--chart-1: oklch(0.972 0.003 106.45);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.419 0.036 276.917);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.973 0.004 106.465);
}