Cloudy is a shadcn/ui theme built around a muted light cyan primary color (#cbd4d8) with muted light blue accents (#cbced8). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted light cyan primary (#cbd4d8) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #000000black |
| Foreground | #010304black | #f6f8f8whitesmoke |
| Card | #f7fbfdghostwhite | #030303black |
| Card foreground | #000000black | #f9fafbghostwhite |
| Popover | #fbfdfewhite | #000000black |
| Popover foreground | #010304black | #f6f8f8whitesmoke |
| Primary | #cbd4d8lightgrey | #cbd4d8lightgrey |
| Primary foreground | #303c40darkslategray | #303c40darkslategray |
| Secondary | #cbd8d5lightgrey | #cbd8d5lightgrey |
| Secondary foreground | #30403cdarkslategray | #30403cdarkslategray |
| Muted | #dae2e0gainsboro | #1d2523black |
| Muted foreground | #5c5c5cdimgray | #a3a3a3darkgray |
| Accent | #cbced8lightgrey | #cbced8lightgrey |
| Accent foreground | #303440darkslategray | #303440darkslategray |
| Destructive | #7a1d00maroon | #ff430aorangered |
| Destructive foreground | #ffc0adlightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cbd4d8lightgrey | #cbd4d8lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.27:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 7.55:1 | AAA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 5.07:1 | AA |
| Accent | 7.87:1 | AAA |
| Destructive | 6.68:1 | AA |
| Text on background | 19.70:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 7.55:1 | AAA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 6.18:1 | AA |
| Accent | 7.87:1 | AAA |
| Destructive | 3.46:1 | AA Large |
Paste this into your globals.css to use Cloudy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 221.327);
--foreground: oklch(0.094 0.009 216.314);
--muted: oklch(0.906 0.01 180.659);
--muted-foreground: oklch(0.474 0 198.435);
--popover: oklch(0.993 0.003 221.327);
--popover-foreground: oklch(0.094 0.009 216.314);
--card: oklch(0.986 0.005 221.351);
--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.864 0.011 221.424);
--primary-foreground: oklch(0.347 0.017 221.877);
--secondary: oklch(0.87 0.014 180.487);
--secondary-foreground: oklch(0.356 0.021 179.158);
--accent: oklch(0.851 0.014 272.482);
--accent-foreground: oklch(0.326 0.022 271.842);
--destructive: oklch(0.384 0.133 35.579);
--destructive-foreground: oklch(0.861 0.077 37.605);
--ring: oklch(0.864 0.011 221.424);
--chart-1: oklch(0.864 0.011 221.424);
--chart-2: oklch(0.87 0.014 180.487);
--chart-3: oklch(0.851 0.014 272.482);
--chart-4: oklch(0.892 0.012 180.578);
--chart-5: oklch(0.865 0.014 221.452);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.978 0.002 221.322);
--muted: oklch(0.257 0.013 179.483);
--muted-foreground: oklch(0.716 0 165.964);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.978 0.002 221.322);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.985 0.001 221.316);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.864 0.011 221.424);
--primary-foreground: oklch(0.347 0.017 221.877);
--secondary: oklch(0.87 0.014 180.487);
--secondary-foreground: oklch(0.356 0.021 179.158);
--accent: oklch(0.851 0.014 272.482);
--accent-foreground: oklch(0.326 0.022 271.842);
--destructive: oklch(0.659 0.23 34.545);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.864 0.011 221.424);
--chart-1: oklch(0.864 0.011 221.424);
--chart-2: oklch(0.87 0.014 180.487);
--chart-3: oklch(0.851 0.014 272.482);
--chart-4: oklch(0.892 0.012 180.578);
--chart-5: oklch(0.865 0.014 221.452);
}