Aide is a shadcn/ui theme built around a vivid deep blue primary color (#03263a) with vivid deep orange accents (#3a1703). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep blue primary (#03263a) on a neutral background (#030608).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030608black |
| Foreground | #000000black | #f9fafaghostwhite |
| Card | #fcfcfcsnow | #04090bblack |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #ffffffwhite | #030608black |
| Popover foreground | #000000black | #f9fafaghostwhite |
| Primary | #03263amidnightblue | #03263amidnightblue |
| Primary foreground | #77c9f8lightskyblue | #77c9f8lightskyblue |
| Secondary | #3a1703black | #3a1703black |
| Secondary foreground | #f8a677lightsalmon | #f8a677lightsalmon |
| Muted | #ebdad1gainsboro | #2e1e14black |
| Muted foreground | #443f3cdarkslategray | #c3bebbsilver |
| Accent | #3a1703black | #3a1703black |
| Accent foreground | #f8a677lightsalmon | #f8a677lightsalmon |
| Destructive | #7d180cmaroon | #da2916firebrick |
| Destructive foreground | #f9c8c3pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #03263amidnightblue | #03263amidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 8.56:1 | AAA |
| Secondary button | 8.19:1 | AAA |
| Muted text | 7.67:1 | AAA |
| Accent | 8.19:1 | AAA |
| Destructive | 7.00:1 | AAA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.67:1 | AAA |
| Primary button | 8.56:1 | AAA |
| Secondary button | 8.19:1 | AAA |
| Muted text | 8.70:1 | AAA |
| Accent | 8.19:1 | AAA |
| Destructive | 4.86:1 | AA |
Paste this into your globals.css to use Aide in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.9 0.022 52.255);
--muted-foreground: oklch(0.371 0.008 52.287);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.256 0.054 239.31);
--primary-foreground: oklch(0.801 0.104 235.507);
--secondary: oklch(0.254 0.063 48.302);
--secondary-foreground: oklch(0.796 0.115 50.538);
--accent: oklch(0.254 0.063 48.302);
--accent-foreground: oklch(0.796 0.115 50.538);
--destructive: oklch(0.386 0.138 30.466);
--destructive-foreground: oklch(0.874 0.057 25.648);
--ring: oklch(0.256 0.054 239.31);
--chart-1: oklch(0.256 0.054 239.31);
--chart-2: oklch(0.254 0.063 48.302);
--chart-3: oklch(0.254 0.063 48.302);
--chart-4: oklch(0.291 0.075 46.824);
--chart-5: oklch(0.257 0.056 239.493);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.116 0.01 226.763);
--foreground: oklch(0.985 0.001 232.592);
--muted: oklch(0.252 0.031 50.933);
--muted-foreground: oklch(0.805 0.007 52.467);
--popover: oklch(0.116 0.01 226.763);
--popover-foreground: oklch(0.985 0.001 232.592);
--card: oklch(0.133 0.012 227.207);
--card-foreground: oklch(0.992 0 232.586);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.256 0.054 239.31);
--primary-foreground: oklch(0.801 0.104 235.507);
--secondary: oklch(0.254 0.063 48.302);
--secondary-foreground: oklch(0.796 0.115 50.538);
--accent: oklch(0.254 0.063 48.302);
--accent-foreground: oklch(0.796 0.115 50.538);
--destructive: oklch(0.575 0.213 30.52);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.256 0.054 239.31);
--chart-1: oklch(0.256 0.054 239.31);
--chart-2: oklch(0.254 0.063 48.302);
--chart-3: oklch(0.254 0.063 48.302);
--chart-4: oklch(0.291 0.075 46.824);
--chart-5: oklch(0.257 0.056 239.493);
}