Ceiling is a shadcn/ui theme built around a vivid blue primary color (#0a6cff) with vivid indigo accents (#230aff). The light mode uses a neutral background (#f6f9fd). Dark mode keeps the vivid blue primary (#0a6cff) on a blue-tinted background (#070a0d).
| Token | Light | Dark |
|---|---|---|
| Background | #f6f9fdghostwhite | #070a0dblack |
| Foreground | #000000black | #f8fafcghostwhite |
| Card | #f6f9fdghostwhite | #070a0dblack |
| Card foreground | #000000black | #f8fafcghostwhite |
| Popover | #f6f9fdghostwhite | #070a0dblack |
| Popover foreground | #000000black | #f8fafcghostwhite |
| Primary | #0a6cffdodgerblue | #0a6cffdodgerblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #0ae7ffaqua | #0ae7ffaqua |
| Secondary foreground | #00373ddarkslategray | #00373ddarkslategray |
| Muted | #dde3e3gainsboro | #1c2122black |
| Muted foreground | #424343darkslategray | #bcbdbdsilver |
| Accent | #230affblue | #230affblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a60c07darkred | #f7413btomato |
| Destructive foreground | #fee3e2mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0a6cffdodgerblue | #0a6cffdodgerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.93:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 4.55:1 | AA |
| Secondary button | 8.57:1 | AAA |
| Muted text | 7.64:1 | AAA |
| Accent | 8.20:1 | AAA |
| Destructive | 6.43:1 | AA |
| Text on background | 18.99:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 4.55:1 | AA |
| Secondary button | 8.57:1 | AAA |
| Muted text | 8.65:1 | AAA |
| Accent | 8.20:1 | AAA |
| Destructive | 3.63:1 | AA Large |
Paste this into your globals.css to use Ceiling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 258.329);
--foreground: oklch(0 0 0);
--muted: oklch(0.911 0.006 204.94);
--muted-foreground: oklch(0.381 0.002 204.957);
--popover: oklch(0.982 0.006 258.329);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.006 258.329);
--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.576 0.233 260.349);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.848 0.145 208.459);
--secondary-foreground: oklch(0.308 0.053 206.854);
--accent: oklch(0.463 0.306 267.495);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.461 0.183 29.234);
--destructive-foreground: oklch(0.936 0.03 20.073);
--ring: oklch(0.576 0.233 260.349);
--chart-1: oklch(0.576 0.233 260.349);
--chart-2: oklch(0.848 0.145 208.459);
--chart-3: oklch(0.463 0.306 267.495);
--chart-4: oklch(0.853 0.144 207.712);
--chart-5: oklch(0.577 0.239 260.552);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.009 255.908);
--foreground: oklch(0.983 0.004 258.322);
--muted: oklch(0.243 0.008 204.775);
--muted-foreground: oklch(0.798 0.001 204.977);
--popover: oklch(0.142 0.009 255.908);
--popover-foreground: oklch(0.983 0.004 258.322);
--card: oklch(0.142 0.009 255.908);
--card-foreground: oklch(0.983 0.004 258.322);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.576 0.233 260.349);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.848 0.145 208.459);
--secondary-foreground: oklch(0.308 0.053 206.854);
--accent: oklch(0.463 0.306 267.495);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.647 0.219 27.307);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.576 0.233 260.349);
--chart-1: oklch(0.576 0.233 260.349);
--chart-2: oklch(0.848 0.145 208.459);
--chart-3: oklch(0.463 0.306 267.495);
--chart-4: oklch(0.853 0.144 207.712);
--chart-5: oklch(0.577 0.239 260.552);
}