Sleeping is a shadcn/ui theme built around a muted deep cyan primary color (#18262a) with muted light cyan accents (#ccd4d7). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the muted deep cyan primary (#18262a) on a cyan-tinted background (#05090b).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #05090bblack |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #f7fbfdghostwhite | #05090bblack |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #f7fbfdghostwhite | #05090bblack |
| Popover foreground | #000000black | #fcfdfdwhite |
| Primary | #18262adarkslategray | #18262adarkslategray |
| Primary foreground | #a8c5cdlightsteelblue | #a8c5cdlightsteelblue |
| Secondary | #ccd4d7lightgrey | #2a2c2cdarkslategray |
| Secondary foreground | #313c3fdarkslategray | #c3c5c6silver |
| Muted | #d8e5e9gainsboro | #162427black |
| Muted foreground | #505e62dimgray | #9dabafdarkgray |
| Accent | #ccd4d7lightgrey | #2a2c2cdarkslategray |
| Accent foreground | #313c3fdarkslategray | #c3c5c6silver |
| Destructive | #d63a05orangered | #f95a24tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #18262adarkslategray | #18262adarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.22:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 8.52:1 | AAA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 5.23:1 | AA |
| Accent | 7.55:1 | AAA |
| Destructive | 4.71:1 | AA |
| Text on background | 19.60:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 8.52:1 | AAA |
| Secondary button | 8.10:1 | AAA |
| Muted text | 6.77:1 | AA |
| Accent | 8.10:1 | AAA |
| Destructive | 6.51:1 | AA |
Paste this into your globals.css to use Sleeping in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.005 216.031);
--foreground: oklch(0 0 0);
--muted: oklch(0.914 0.016 216.096);
--muted-foreground: oklch(0.473 0.018 216.262);
--popover: oklch(0.986 0.005 216.031);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.005 216.031);
--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.259 0.02 216.825);
--primary-foreground: oklch(0.803 0.033 216.288);
--secondary: oklch(0.865 0.01 216.064);
--secondary-foreground: oklch(0.347 0.015 216.302);
--accent: oklch(0.865 0.01 216.064);
--accent-foreground: oklch(0.347 0.015 216.302);
--destructive: oklch(0.579 0.199 35.241);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.259 0.02 216.825);
--chart-1: oklch(0.259 0.02 216.825);
--chart-2: oklch(0.865 0.01 216.064);
--chart-3: oklch(0.865 0.01 216.064);
--chart-4: oklch(0.888 0.008 216.052);
--chart-5: oklch(0.26 0.022 216.977);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.01 212.944);
--foreground: oklch(0.993 0.001 216.014);
--muted: oklch(0.248 0.02 216.89);
--muted-foreground: oklch(0.731 0.017 216.132);
--popover: oklch(0.136 0.01 212.944);
--popover-foreground: oklch(0.993 0.001 216.014);
--card: oklch(0.136 0.01 212.944);
--card-foreground: oklch(0.993 0.001 216.014);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.259 0.02 216.825);
--primary-foreground: oklch(0.803 0.033 216.288);
--secondary: oklch(0.291 0.002 216.042);
--secondary-foreground: oklch(0.822 0.002 216.022);
--accent: oklch(0.291 0.002 216.042);
--accent-foreground: oklch(0.822 0.002 216.022);
--destructive: oklch(0.673 0.205 37.305);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.259 0.02 216.825);
--chart-1: oklch(0.259 0.02 216.825);
--chart-2: oklch(0.291 0.002 216.042);
--chart-3: oklch(0.291 0.002 216.042);
--chart-4: oklch(0.322 0.002 216.043);
--chart-5: oklch(0.26 0.022 216.977);
}