Sky is a shadcn/ui theme built around a deep cyan primary color (#0c1f27) with neutral gray accents (#dadcdd). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep cyan primary (#0c1f27) on a neutral background (#030607).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030607black |
| Foreground | #030d11black | #f5f8f9whitesmoke |
| Card | #fcfcfcsnow | #05090ablack |
| Card foreground | #020a0dblack | #f9fafbghostwhite |
| Popover | #ffffffwhite | #030607black |
| Popover foreground | #030d11black | #f5f8f9whitesmoke |
| Primary | #0c1f27black | #0c1f27black |
| Primary foreground | #89c3dcskyblue | #89c3dcskyblue |
| Secondary | #dadcddgainsboro | #1a2123black |
| Secondary foreground | #3f4446darkslategray | #acbcc3silver |
| Muted | #e2e4e4gainsboro | #1b1d1dblack |
| Muted foreground | #4a5559darkslategray | #a6b0b5darkgray |
| Accent | #dadcddgainsboro | #1a2123black |
| Accent foreground | #3f4446darkslategray | #acbcc3silver |
| Destructive | #8d0907darkred | #f40f0bred |
| Destructive foreground | #fccac9pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0c1f27black | #0c1f27black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.63:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 8.78:1 | AAA |
| Secondary button | 7.17:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 7.17:1 | AAA |
| Destructive | 6.62:1 | AA |
| Text on background | 19.05:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 8.78:1 | AAA |
| Secondary button | 8.38:1 | AAA |
| Muted text | 7.68:1 | AAA |
| Accent | 8.38:1 | AAA |
| Destructive | 4.28:1 | AA Large |
Paste this into your globals.css to use Sky in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.15 0.02 223.152);
--muted: oklch(0.916 0.002 225.012);
--muted-foreground: oklch(0.44 0.015 225.417);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.15 0.02 223.152);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.135 0.017 219.743);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.227 0.03 228.101);
--primary-foreground: oklch(0.786 0.069 226.538);
--secondary: oklch(0.893 0.003 225.021);
--secondary-foreground: oklch(0.382 0.007 225.201);
--accent: oklch(0.893 0.003 225.021);
--accent-foreground: oklch(0.382 0.007 225.201);
--destructive: oklch(0.409 0.162 28.897);
--destructive-foreground: oklch(0.883 0.057 19.428);
--ring: oklch(0.227 0.03 228.101);
--chart-1: oklch(0.227 0.03 228.101);
--chart-2: oklch(0.893 0.003 225.021);
--chart-3: oklch(0.893 0.003 225.021);
--chart-4: oklch(0.916 0.002 225.012);
--chart-5: oklch(0.228 0.031 228.365);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.117 0.008 221.295);
--foreground: oklch(0.978 0.004 225.022);
--muted: oklch(0.227 0.003 225.156);
--muted-foreground: oklch(0.752 0.013 225.189);
--popover: oklch(0.117 0.008 221.295);
--popover-foreground: oklch(0.978 0.004 225.022);
--card: oklch(0.134 0.009 221.298);
--card-foreground: oklch(0.985 0.002 225.009);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.227 0.03 228.101);
--primary-foreground: oklch(0.786 0.069 226.538);
--secondary: oklch(0.24 0.011 225.642);
--secondary-foreground: oklch(0.786 0.02 225.298);
--accent: oklch(0.24 0.011 225.642);
--accent-foreground: oklch(0.786 0.02 225.298);
--destructive: oklch(0.61 0.246 29.079);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.227 0.03 228.101);
--chart-1: oklch(0.227 0.03 228.101);
--chart-2: oklch(0.24 0.011 225.642);
--chart-3: oklch(0.24 0.011 225.642);
--chart-4: oklch(0.273 0.014 225.696);
--chart-5: oklch(0.228 0.031 228.365);
}