Azure (rainglow) is a shadcn/ui theme built around a near-white primary color (#ffffff) with muted deep blue accents (#354055). The light mode uses a blue-tinted background (#181c26). Dark mode keeps the near-white primary (#ffffff) on a blue-tinted background (#181c26).
| Token | Light | Dark |
|---|---|---|
| Background | #181c26black | #181c26black |
| Foreground | #ffffffwhite | #ffffffwhite |
| Card | #14181fblack | #14181fblack |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #12151cblack | #12151cblack |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #ffffffwhite | #ffffffwhite |
| Primary foreground | #333333darkslategray | #333333darkslategray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #24272edarkslategray | #24272edarkslategray |
| Muted foreground | #9ea5b3darkgray | #9ea5b3darkgray |
| Accent | #354055darkslategray | #354055darkslategray |
| Accent foreground | #d6dce5gainsboro | #d6dce5gainsboro |
| Destructive | #fe180bred | #fe180bred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #262a31darkslategray | #262a31darkslategray |
| Input | #2c313adarkslategray | #2c313adarkslategray |
| Ring | #ffffffwhite | #ffffffwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.98:1 | AAA |
| Text on card | 17.83:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.02:1 | AA |
| Accent | 7.54:1 | AAA |
| Destructive | 3.93:1 | AA Large |
| Text on background | 16.98:1 | AAA |
| Text on card | 17.83:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.02:1 | AA |
| Accent | 7.54:1 | AAA |
| Destructive | 3.93:1 | AA Large |
Paste this into your globals.css to use Azure (rainglow) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.228 0.019 262.703);
--foreground: oklch(1 0 180);
--muted: oklch(0.273 0.013 262.906);
--muted-foreground: oklch(0.721 0.021 262.977);
--popover: oklch(0.197 0.015 262.752);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.207 0.016 262.734);
--card-foreground: oklch(1 0 180);
--border: oklch(0.283 0.015 262.883);
--input: oklch(0.312 0.017 262.873);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.371 0.039 262.584);
--accent-foreground: oklch(0.892 0.015 263.018);
--destructive: oklch(0.631 0.251 29.5);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.371 0.039 262.584);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(1 0 180);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.228 0.019 262.703);
--foreground: oklch(1 0 180);
--muted: oklch(0.273 0.013 262.906);
--muted-foreground: oklch(0.721 0.021 262.977);
--popover: oklch(0.197 0.015 262.752);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.207 0.016 262.734);
--card-foreground: oklch(1 0 180);
--border: oklch(0.283 0.015 262.883);
--input: oklch(0.312 0.017 262.873);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.371 0.039 262.584);
--accent-foreground: oklch(0.892 0.015 263.018);
--destructive: oklch(0.631 0.251 29.5);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.371 0.039 262.584);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(1 0 180);
}