In Bed by 7pm is a shadcn/ui theme built around a vivid light blue primary color (#ebf7ff) with muted blue accents (#474d6b). The light mode uses a blue-tinted background (#292c3d). Dark mode keeps the vivid light blue primary (#ebf7ff) on a blue-tinted background (#292c3d).
| Token | Light | Dark |
|---|---|---|
| Background | #292c3ddarkslategray | #292c3ddarkslategray |
| Foreground | #eaebf0lavender | #eaebf0lavender |
| Card | #252737darkslategray | #252737darkslategray |
| Card foreground | #f9f9fbghostwhite | #f9f9fbghostwhite |
| Popover | #232534darkslategray | #232534darkslategray |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #ebf7ffaliceblue | #ebf7ffaliceblue |
| Primary foreground | #003152midnightblue | #003152midnightblue |
| Secondary | #2d4453darkslategray | #2d4453darkslategray |
| Secondary foreground | #cddbe4gainsboro | #cddbe4gainsboro |
| Muted | #363845darkslategray | #363845darkslategray |
| Muted foreground | #b5b7c5silver | #b5b7c5silver |
| Accent | #474d6bdarkslateblue | #474d6bdarkslateblue |
| Accent foreground | #f0f0f5whitesmoke | #f0f0f5whitesmoke |
| Destructive | #fd3c35tomato | #fd3c35tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #393b46darkslategray | #393b46darkslategray |
| Input | #40424fdarkslategray | #40424fdarkslategray |
| Ring | #ebf7ffaliceblue | #ebf7ffaliceblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.60:1 | AAA |
| Text on card | 13.97:1 | AAA |
| Primary button | 12.32:1 | AAA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 5.83:1 | AA |
| Accent | 7.28:1 | AAA |
| Destructive | 3.57:1 | AA Large |
| Text on background | 11.60:1 | AAA |
| Text on card | 13.97:1 | AAA |
| Primary button | 12.32:1 | AAA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 5.83:1 | AA |
| Accent | 7.28:1 | AAA |
| Destructive | 3.57:1 | AA Large |
Paste this into your globals.css to use In Bed by 7pm in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.297 0.032 276.532);
--foreground: oklch(0.941 0.007 277.153);
--muted: oklch(0.344 0.022 277.307);
--muted-foreground: oklch(0.782 0.019 277.951);
--popover: oklch(0.27 0.028 276.613);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.279 0.029 276.584);
--card-foreground: oklch(0.983 0.002 277.231);
--border: oklch(0.356 0.019 277.491);
--input: oklch(0.383 0.021 277.472);
--primary: oklch(0.969 0.017 236.69);
--primary-foreground: oklch(0.302 0.076 244.942);
--secondary: oklch(0.373 0.039 238.365);
--secondary-foreground: oklch(0.884 0.02 236.759);
--accent: oklch(0.427 0.051 276.303);
--accent-foreground: oklch(0.957 0.006 278.229);
--destructive: oklch(0.652 0.229 27.764);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.969 0.017 236.69);
--chart-1: oklch(0.969 0.017 236.69);
--chart-2: oklch(0.373 0.039 238.365);
--chart-3: oklch(0.427 0.051 276.303);
--chart-4: oklch(0.402 0.043 238.414);
--chart-5: oklch(0.969 0.017 236.698);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.297 0.032 276.532);
--foreground: oklch(0.941 0.007 277.153);
--muted: oklch(0.344 0.022 277.307);
--muted-foreground: oklch(0.782 0.019 277.951);
--popover: oklch(0.27 0.028 276.613);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.279 0.029 276.584);
--card-foreground: oklch(0.983 0.002 277.231);
--border: oklch(0.356 0.019 277.491);
--input: oklch(0.383 0.021 277.472);
--primary: oklch(0.969 0.017 236.69);
--primary-foreground: oklch(0.302 0.076 244.942);
--secondary: oklch(0.373 0.039 238.365);
--secondary-foreground: oklch(0.884 0.02 236.759);
--accent: oklch(0.427 0.051 276.303);
--accent-foreground: oklch(0.957 0.006 278.229);
--destructive: oklch(0.652 0.229 27.764);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.969 0.017 236.69);
--chart-1: oklch(0.969 0.017 236.69);
--chart-2: oklch(0.373 0.039 238.365);
--chart-3: oklch(0.427 0.051 276.303);
--chart-4: oklch(0.402 0.043 238.414);
--chart-5: oklch(0.969 0.017 236.698);
}