Cloudy is a shadcn/ui theme built around a vivid blue primary color (#61a0ff) with vivid orange accents (#ffc061). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the vivid blue primary (#61a0ff) on a blue-tinted background (#06090f).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #06090fblack |
| Foreground | #03070cblack | #ffffffwhite |
| Card | #f4f7fbghostwhite | #070c12black |
| Card foreground | #020508black | #ffffffwhite |
| Popover | #f4f7fbghostwhite | #070c12black |
| Popover foreground | #020508black | #ffffffwhite |
| Primary | #61a0ffcornflowerblue | #61a0ffcornflowerblue |
| Primary foreground | #00122eblack | #00122eblack |
| Secondary | #ffc061sandybrown | #ffc061sandybrown |
| Secondary foreground | #2e1c00black | #2e1c00black |
| Muted | #f4f3f0whitesmoke | #0f0d0bblack |
| Muted foreground | #675c4cdimgray | #b3a898darkgray |
| Accent | #ffc061sandybrown | #ffc061sandybrown |
| Accent foreground | #2e1c00black | #2e1c00black |
| Destructive | #cc3405firebrick | #f94a15orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #61a0ffcornflowerblue | #61a0ffcornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.22:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 7.09:1 | AAA |
| Secondary button | 10.09:1 | AAA |
| Muted text | 5.88:1 | AA |
| Accent | 10.09:1 | AAA |
| Destructive | 5.18:1 | AA |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.64:1 | AAA |
| Primary button | 7.09:1 | AAA |
| Secondary button | 10.09:1 | AAA |
| Muted text | 8.28:1 | AAA |
| Accent | 10.09:1 | AAA |
| Destructive | 3.48:1 | AA Large |
Paste this into your globals.css to use Cloudy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 258.324);
--foreground: oklch(0.125 0.015 250.707);
--muted: oklch(0.964 0.004 78.301);
--muted-foreground: oklch(0.48 0.028 77.95);
--popover: oklch(0.974 0.006 258.329);
--popover-foreground: oklch(0.109 0.013 250.302);
--card: oklch(0.974 0.006 258.329);
--card-foreground: oklch(0.109 0.013 250.302);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.707 0.154 258.311);
--primary-foreground: oklch(0.187 0.062 255.289);
--secondary: oklch(0.847 0.133 75.31);
--secondary-foreground: oklch(0.242 0.051 74.608);
--accent: oklch(0.847 0.133 75.31);
--accent-foreground: oklch(0.242 0.051 74.608);
--destructive: oklch(0.556 0.195 34.566);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.707 0.154 258.311);
--chart-1: oklch(0.707 0.154 258.311);
--chart-2: oklch(0.847 0.133 75.31);
--chart-3: oklch(0.847 0.133 75.31);
--chart-4: oklch(0.86 0.122 76.048);
--chart-5: oklch(0.706 0.159 258.325);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.014 254.333);
--foreground: oklch(1 0 180);
--muted: oklch(0.161 0.006 78.148);
--muted-foreground: oklch(0.738 0.026 78.153);
--popover: oklch(0.151 0.017 256.92);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.151 0.017 256.92);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.707 0.154 258.311);
--primary-foreground: oklch(0.187 0.062 255.289);
--secondary: oklch(0.847 0.133 75.31);
--secondary-foreground: oklch(0.242 0.051 74.608);
--accent: oklch(0.847 0.133 75.31);
--accent-foreground: oklch(0.242 0.051 74.608);
--destructive: oklch(0.656 0.218 35.446);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.707 0.154 258.311);
--chart-1: oklch(0.707 0.154 258.311);
--chart-2: oklch(0.847 0.133 75.31);
--chart-3: oklch(0.847 0.133 75.31);
--chart-4: oklch(0.86 0.122 76.048);
--chart-5: oklch(0.706 0.159 258.325);
}