Wide is a shadcn/ui theme built around a blue primary color (#4288ae) with orange accents (#ae6842). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the blue primary (#4288ae) on a blue-tinted background (#05080a).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #05080ablack |
| Foreground | #000000black | #ffffffwhite |
| Card | #fbfdfewhite | #05080ablack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfdfewhite | #05080ablack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #4288aesteelblue | #4288aesteelblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ae6842sienna | #ae6842sienna |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f4ebe6linen | #19100bblack |
| Muted foreground | #423f3edarkslategray | #c1bfbdsilver |
| Accent | #ae6842sienna | #ae6842sienna |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #5d1e09maroon | #d54515chocolate |
| Destructive foreground | #f6b7a2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4288aesteelblue | #4288aesteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.56:1 | AAA |
| Text on card | 20.56:1 | AAA |
| Primary button | 3.91:1 | AA Large |
| Secondary button | 4.33:1 | AA Large |
| Muted text | 8.88:1 | AAA |
| Accent | 4.33:1 | AA Large |
| Destructive | 7.38:1 | AAA |
| Text on background | 20.04:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 3.91:1 | AA Large |
| Secondary button | 4.33:1 | AA Large |
| Muted text | 10.24:1 | AAA |
| Accent | 4.33:1 | AA Large |
| Destructive | 4.45:1 | AA Large |
Paste this into your globals.css to use Wide in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 230.696);
--foreground: oklch(0 0 0);
--muted: oklch(0.946 0.012 50.495);
--muted-foreground: oklch(0.37 0.004 50.517);
--popover: oklch(0.993 0.003 230.696);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.993 0.003 230.696);
--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.597 0.091 234.678);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.586 0.104 48.146);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.586 0.104 48.146);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.33 0.097 37.69);
--destructive-foreground: oklch(0.832 0.079 39.219);
--ring: oklch(0.597 0.091 234.678);
--chart-1: oklch(0.597 0.091 234.678);
--chart-2: oklch(0.586 0.104 48.146);
--chart-3: oklch(0.586 0.104 48.146);
--chart-4: oklch(0.613 0.11 48.122);
--chart-5: oklch(0.6 0.096 235.082);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.008 226.86);
--foreground: oklch(1 0 180);
--muted: oklch(0.182 0.019 49.453);
--muted-foreground: oklch(0.805 0.003 50.605);
--popover: oklch(0.133 0.008 226.86);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.133 0.008 226.86);
--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.597 0.091 234.678);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.586 0.104 48.146);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.586 0.104 48.146);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.591 0.189 36.689);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.597 0.091 234.678);
--chart-1: oklch(0.597 0.091 234.678);
--chart-2: oklch(0.586 0.104 48.146);
--chart-3: oklch(0.586 0.104 48.146);
--chart-4: oklch(0.613 0.11 48.122);
--chart-5: oklch(0.6 0.096 235.082);
}