Ceiling is a shadcn/ui theme built around a muted deep red primary color (#463434) with muted light red accents (#d7bcbc). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep red primary (#463434) on a red-tinted background (#0b0404).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0404black |
| Foreground | #080202black | #f9f5f5whitesmoke |
| Card | #fcfcfcsnow | #0f0606black |
| Card foreground | #040101black | #fbf9f9snow |
| Popover | #fcfcfcsnow | #0f0606black |
| Popover foreground | #040101black | #fbf9f9snow |
| Primary | #463434darkslategray | #463434darkslategray |
| Primary foreground | #dcd0d0lightgrey | #dcd0d0lightgrey |
| Secondary | #e0d1d1lightgrey | #241e1eblack |
| Secondary foreground | #4d3333darkslategray | #c0b5b5silver |
| Muted | #dfd3d3lightgrey | #2c2020black |
| Muted foreground | #575757dimgray | #a8a8a8darkgray |
| Accent | #d7bcbcsilver | #3f2c2cdarkslategray |
| Accent foreground | #3d2424darkslategray | #d7c6c6lightgrey |
| Destructive | #d53307orangered | #f84312orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #463434darkslategray | #463434darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.59:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 4.93:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 4.88:1 | AA |
| Text on background | 18.75:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 6.60:1 | AA |
| Accent | 7.95:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Ceiling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.103 0.019 20.998);
--muted: oklch(0.876 0.014 17.416);
--muted-foreground: oklch(0.456 0 180);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.082 0.015 20.998);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.082 0.015 20.998);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.346 0.027 18.522);
--primary-foreground: oklch(0.868 0.014 17.419);
--secondary: oklch(0.873 0.017 17.484);
--secondary-foreground: oklch(0.351 0.037 19.099);
--accent: oklch(0.817 0.032 17.823);
--accent-foreground: oklch(0.292 0.039 19.666);
--destructive: oklch(0.572 0.203 33.888);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.346 0.027 18.522);
--chart-1: oklch(0.346 0.027 18.522);
--chart-2: oklch(0.873 0.017 17.484);
--chart-3: oklch(0.817 0.032 17.823);
--chart-4: oklch(0.899 0.013 17.407);
--chart-5: oklch(0.343 0.032 18.851);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.016 19.559);
--foreground: oklch(0.974 0.004 17.23);
--muted: oklch(0.259 0.019 18.457);
--muted-foreground: oklch(0.733 0 180);
--popover: oklch(0.135 0.018 19.686);
--popover-foreground: oklch(0.983 0.003 17.206);
--card: oklch(0.135 0.018 19.686);
--card-foreground: oklch(0.983 0.003 17.206);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.346 0.027 18.522);
--primary-foreground: oklch(0.868 0.014 17.419);
--secondary: oklch(0.243 0.008 17.729);
--secondary-foreground: oklch(0.781 0.013 17.426);
--accent: oklch(0.315 0.029 18.799);
--accent-foreground: oklch(0.84 0.02 17.55);
--destructive: oklch(0.647 0.223 34.421);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.346 0.027 18.522);
--chart-1: oklch(0.346 0.027 18.522);
--chart-2: oklch(0.243 0.008 17.729);
--chart-3: oklch(0.315 0.029 18.799);
--chart-4: oklch(0.274 0.01 17.766);
--chart-5: oklch(0.343 0.032 18.851);
}