Bleak is a shadcn/ui theme built around a deep cyan primary color (#2c6268) with deep red accents (#68322c). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the deep cyan primary (#2c6268) on a neutral background (#020708).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcfdghostwhite | #020708black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f7fcfdghostwhite | #020708black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fcfdghostwhite | #020708black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #2c6268darkslategray | #2c6268darkslategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #68322csaddlebrown | #68322csaddlebrown |
| Secondary foreground | #eedad8gainsboro | #eedad8gainsboro |
| Muted | #e5cfcclightgrey | #331c1ablack |
| Muted foreground | #483e3ddarkslategray | #c2b8b7silver |
| Accent | #68322csaddlebrown | #68322csaddlebrown |
| Accent foreground | #eedad8gainsboro | #eedad8gainsboro |
| Destructive | #6b240amaroon | #d24614chocolate |
| Destructive foreground | #f8c3b0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2c6268darkslategray | #2c6268darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.31:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 6.90:1 | AA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 6.94:1 | AA |
| Accent | 7.52:1 | AAA |
| Destructive | 7.12:1 | AAA |
| Text on background | 20.22:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 6.90:1 | AA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 8.19:1 | AAA |
| Accent | 7.52:1 | AAA |
| Destructive | 4.53:1 | AA |
Paste this into your globals.css to use Bleak in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.005 204.948);
--foreground: oklch(0 0 0);
--muted: oklch(0.871 0.026 25.256);
--muted-foreground: oklch(0.374 0.013 25.322);
--popover: oklch(0.988 0.005 204.948);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.005 204.948);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.461 0.057 205.068);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.387 0.078 27.757);
--secondary-foreground: oklch(0.904 0.023 25.211);
--accent: oklch(0.387 0.078 27.757);
--accent-foreground: oklch(0.904 0.023 25.211);
--destructive: oklch(0.365 0.108 38.44);
--destructive-foreground: oklch(0.859 0.066 40.911);
--ring: oklch(0.461 0.057 205.068);
--chart-1: oklch(0.461 0.057 205.068);
--chart-2: oklch(0.387 0.078 27.757);
--chart-3: oklch(0.387 0.078 27.757);
--chart-4: oklch(0.414 0.084 27.812);
--chart-5: oklch(0.466 0.06 205.173);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.013 202.354);
--foreground: oklch(1 0 180);
--muted: oklch(0.257 0.037 26.754);
--muted-foreground: oklch(0.792 0.011 25.107);
--popover: oklch(0.123 0.013 202.354);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.123 0.013 202.354);
--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.461 0.057 205.068);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.387 0.078 27.757);
--secondary-foreground: oklch(0.904 0.023 25.211);
--accent: oklch(0.387 0.078 27.757);
--accent-foreground: oklch(0.904 0.023 25.211);
--destructive: oklch(0.587 0.184 37.535);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.461 0.057 205.068);
--chart-1: oklch(0.461 0.057 205.068);
--chart-2: oklch(0.387 0.078 27.757);
--chart-3: oklch(0.387 0.078 27.757);
--chart-4: oklch(0.414 0.084 27.812);
--chart-5: oklch(0.466 0.06 205.173);
}