August - In Bed By 7pm is a shadcn/ui theme built around a muted blue primary color (#a7adcd) with muted blue accents (#474e6b). The light mode uses a blue-tinted background (#292d3d). Dark mode keeps the muted blue primary (#a7adcd) on a blue-tinted background (#292d3d).
| Token | Light | Dark |
|---|---|---|
| Background | #292d3ddarkslategray | #292d3ddarkslategray |
| Foreground | #a7adcdlightsteelblue | #a7adcdlightsteelblue |
| Card | #252837darkslategray | #252837darkslategray |
| Card foreground | #b7bcd7lightsteelblue | #b7bcd7lightsteelblue |
| Popover | #232634darkslategray | #232634darkslategray |
| Popover foreground | #c8cbe0lightgrey | #c8cbe0lightgrey |
| Primary | #a7adcdlightsteelblue | #a7adcdlightsteelblue |
| Primary foreground | #181b2ablack | #181b2ablack |
| Secondary | #34384bdarkslategray | #34384bdarkslategray |
| Secondary foreground | #d2d4e0lightgrey | #d2d4e0lightgrey |
| Muted | #363945darkslategray | #363945darkslategray |
| Muted foreground | #b5b8c5silver | #b5b8c5silver |
| Accent | #474e6bdarkslateblue | #474e6bdarkslateblue |
| Accent foreground | #f0f1f5whitesmoke | #f0f1f5whitesmoke |
| Destructive | #e73623crimson | #e73623crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #393c46darkslategray | #393c46darkslategray |
| Input | #40434fdarkslategray | #40434fdarkslategray |
| Ring | #a7adcdlightsteelblue | #a7adcdlightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.21:1 | AA |
| Text on card | 7.78:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 5.84:1 | AA |
| Accent | 7.23:1 | AAA |
| Destructive | 4.25:1 | AA Large |
| Text on background | 6.21:1 | AA |
| Text on card | 7.78:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 5.84:1 | AA |
| Accent | 7.23:1 | AAA |
| Destructive | 4.25:1 | AA Large |
Paste this into your globals.css to use August - In Bed By 7pm in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.299 0.031 274.589);
--foreground: oklch(0.753 0.047 277.322);
--muted: oklch(0.345 0.021 275.276);
--muted-foreground: oklch(0.783 0.019 275.845);
--popover: oklch(0.271 0.027 274.661);
--popover-foreground: oklch(0.846 0.029 277.801);
--card: oklch(0.281 0.028 274.635);
--card-foreground: oklch(0.8 0.038 277.584);
--border: oklch(0.357 0.018 275.439);
--input: oklch(0.384 0.02 275.423);
--primary: oklch(0.753 0.047 277.322);
--primary-foreground: oklch(0.226 0.031 275.943);
--secondary: oklch(0.345 0.034 276.662);
--secondary-foreground: oklch(0.872 0.016 278.043);
--accent: oklch(0.43 0.049 274.385);
--accent-foreground: oklch(0.958 0.006 276.089);
--destructive: oklch(0.607 0.215 30.434);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.753 0.047 277.322);
--chart-1: oklch(0.753 0.047 277.322);
--chart-2: oklch(0.345 0.034 276.662);
--chart-3: oklch(0.43 0.049 274.385);
--chart-4: oklch(0.371 0.038 276.622);
--chart-5: oklch(0.749 0.053 277.197);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.299 0.031 274.589);
--foreground: oklch(0.753 0.047 277.322);
--muted: oklch(0.345 0.021 275.276);
--muted-foreground: oklch(0.783 0.019 275.845);
--popover: oklch(0.271 0.027 274.661);
--popover-foreground: oklch(0.846 0.029 277.801);
--card: oklch(0.281 0.028 274.635);
--card-foreground: oklch(0.8 0.038 277.584);
--border: oklch(0.357 0.018 275.439);
--input: oklch(0.384 0.02 275.423);
--primary: oklch(0.753 0.047 277.322);
--primary-foreground: oklch(0.226 0.031 275.943);
--secondary: oklch(0.345 0.034 276.662);
--secondary-foreground: oklch(0.872 0.016 278.043);
--accent: oklch(0.43 0.049 274.385);
--accent-foreground: oklch(0.958 0.006 276.089);
--destructive: oklch(0.607 0.215 30.434);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.753 0.047 277.322);
--chart-1: oklch(0.753 0.047 277.322);
--chart-2: oklch(0.345 0.034 276.662);
--chart-3: oklch(0.43 0.049 274.385);
--chart-4: oklch(0.371 0.038 276.622);
--chart-5: oklch(0.749 0.053 277.197);
}