Cloudburst is a shadcn/ui theme built around a deep indigo primary color (#100b28) with deep violet accents (#1f0b28). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep indigo primary (#100b28) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #020104black | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #020104black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #020104black | #ffffffwhite |
| Primary | #100b28black | #100b28black |
| Primary foreground | #9788ddmediumpurple | #9788ddmediumpurple |
| Secondary | #0b1428black | #0b1428black |
| Secondary foreground | #88a3ddcornflowerblue | #88a3ddcornflowerblue |
| Muted | #e9eaedlavender | #121416black |
| Muted foreground | #464c58darkslategray | #a7adb9darkgray |
| Accent | #1f0b28black | #1f0b28black |
| Accent foreground | #c288ddorchid | #c288ddorchid |
| Destructive | #c53811firebrick | #eb4314orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #100b28black | #100b28black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.81:1 | AAA |
| Text on card | 20.81:1 | AAA |
| Primary button | 6.24:1 | AA |
| Secondary button | 7.26:1 | AAA |
| Muted text | 7.15:1 | AAA |
| Accent | 6.91:1 | AA |
| Destructive | 5.31:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.24:1 | AA |
| Secondary button | 7.26:1 | AAA |
| Muted text | 8.20:1 | AAA |
| Accent | 6.91:1 | AA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Cloudburst in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.079 0.015 293.693);
--muted: oklch(0.936 0.004 265.988);
--muted-foreground: oklch(0.416 0.021 265.701);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.079 0.015 293.693);
--card: oklch(1 0 180);
--card-foreground: oklch(0.079 0.015 293.693);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.177 0.056 287.68);
--primary-foreground: oklch(0.674 0.125 291.082);
--secondary: oklch(0.195 0.042 264.125);
--secondary-foreground: oklch(0.717 0.091 265.019);
--accent: oklch(0.197 0.06 313.8);
--accent-foreground: oklch(0.715 0.136 314.57);
--destructive: oklch(0.549 0.184 34.864);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.177 0.056 287.68);
--chart-1: oklch(0.177 0.056 287.68);
--chart-2: oklch(0.195 0.042 264.125);
--chart-3: oklch(0.197 0.06 313.8);
--chart-4: oklch(0.224 0.052 263.918);
--chart-5: oklch(0.176 0.059 287.128);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.189 0.006 265.835);
--muted-foreground: oklch(0.746 0.018 265.881);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.177 0.056 287.68);
--primary-foreground: oklch(0.674 0.125 291.082);
--secondary: oklch(0.195 0.042 264.125);
--secondary-foreground: oklch(0.717 0.091 265.019);
--accent: oklch(0.197 0.06 313.8);
--accent-foreground: oklch(0.715 0.136 314.57);
--destructive: oklch(0.624 0.211 34.721);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.177 0.056 287.68);
--chart-1: oklch(0.177 0.056 287.68);
--chart-2: oklch(0.195 0.042 264.125);
--chart-3: oklch(0.197 0.06 313.8);
--chart-4: oklch(0.224 0.052 263.918);
--chart-5: oklch(0.176 0.059 287.128);
}