Intelligence is a shadcn/ui theme built around a muted orange primary color (#be9f8e) with muted yellow accents (#beb78e). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted orange primary (#be9f8e) on a neutral background (#070403).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070403black |
| Foreground | #0f0905black | #fbfaf9snow |
| Card | #fcfcfcsnow | #0b0704black |
| Card foreground | #0b0704black | #fdfcfcsnow |
| Popover | #fcfcfcsnow | #0b0704black |
| Popover foreground | #0b0704black | #fdfcfcsnow |
| Primary | #be9f8erosybrown | #be9f8erosybrown |
| Primary foreground | #100c09black | #100c09black |
| Secondary | #be8e95rosybrown | #be8e95rosybrown |
| Secondary foreground | #10090ablack | #10090ablack |
| Muted | #e5d2d5gainsboro | #2d1a1dblack |
| Muted foreground | #4c4848darkslategray | #b7b3b3darkgray |
| Accent | #beb78etan | #beb78etan |
| Accent foreground | #100f09black | #100f09black |
| Destructive | #5c0a0amaroon | #ea3e3etomato |
| Destructive foreground | #f5a3a3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #be9f8erosybrown | #be9f8erosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.78:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 7.00:1 | AAA |
| Muted text | 6.22:1 | AA |
| Accent | 9.42:1 | AAA |
| Destructive | 7.09:1 | AAA |
| Text on background | 19.55:1 | AAA |
| Text on card | 19.62:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 7.00:1 | AAA |
| Muted text | 7.89:1 | AAA |
| Accent | 9.42:1 | AAA |
| Destructive | 4.00:1 | AA Large |
Paste this into your globals.css to use Intelligence in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.146 0.015 55.1);
--muted: oklch(0.88 0.021 7.191);
--muted-foreground: oklch(0.405 0.006 6.97);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.132 0.013 57.648);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.132 0.013 57.648);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.725 0.044 49.934);
--primary-foreground: oklch(0.158 0.009 50.097);
--secondary: oklch(0.694 0.059 8.728);
--secondary-foreground: oklch(0.151 0.012 8.533);
--accent: oklch(0.774 0.056 99.185);
--accent-foreground: oklch(0.168 0.012 99.181);
--destructive: oklch(0.306 0.113 27.207);
--destructive-foreground: oklch(0.796 0.097 19.443);
--ring: oklch(0.725 0.044 49.934);
--chart-1: oklch(0.725 0.044 49.934);
--chart-2: oklch(0.694 0.059 8.728);
--chart-3: oklch(0.774 0.056 99.185);
--chart-4: oklch(0.721 0.053 8.445);
--chart-5: oklch(0.725 0.049 49.857);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.115 0.01 57.279);
--foreground: oklch(0.985 0.001 50.642);
--muted: oklch(0.245 0.03 9.673);
--muted-foreground: oklch(0.77 0.005 6.763);
--popover: oklch(0.132 0.012 57.086);
--popover-foreground: oklch(0.992 0.001 50.651);
--card: oklch(0.132 0.012 57.086);
--card-foreground: oklch(0.992 0.001 50.651);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.725 0.044 49.934);
--primary-foreground: oklch(0.158 0.009 50.097);
--secondary: oklch(0.694 0.059 8.728);
--secondary-foreground: oklch(0.151 0.012 8.533);
--accent: oklch(0.774 0.056 99.185);
--accent-foreground: oklch(0.168 0.012 99.181);
--destructive: oklch(0.622 0.208 25.665);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.725 0.044 49.934);
--chart-1: oklch(0.725 0.044 49.934);
--chart-2: oklch(0.694 0.059 8.728);
--chart-3: oklch(0.774 0.056 99.185);
--chart-4: oklch(0.721 0.053 8.445);
--chart-5: oklch(0.725 0.049 49.857);
}