Intellect is a shadcn/ui theme built around a deep purple primary color (#2e1631) with deep pink accents (#311627). The light mode uses a neutral background (#fcf7fd). Dark mode keeps the deep purple primary (#2e1631) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7fdghostwhite | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #faf3fbghostwhite | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #faf3fbghostwhite | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #2e1631darkslategray | #2e1631darkslategray |
| Primary foreground | #d0a4d5plum | #d0a4d5plum |
| Secondary | #211631black | #211631black |
| Secondary foreground | #b7a4d5lightsteelblue | #b7a4d5lightsteelblue |
| Muted | #ece9f1lavender | #110e16black |
| Muted foreground | #575161dimgray | #a49eaedarkgray |
| Accent | #311627black | #311627black |
| Accent foreground | #d5a4c2plum | #d5a4c2plum |
| Destructive | #750400maroon | #ff0d05red |
| Destructive foreground | #ffaba8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2e1631darkslategray | #2e1631darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.87:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 7.57:1 | AAA |
| Muted text | 6.35:1 | AA |
| Accent | 7.76:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 7.57:1 | AAA |
| Muted text | 7.36:1 | AAA |
| Accent | 7.76:1 | AAA |
| Destructive | 3.95:1 | AA Large |
Paste this into your globals.css to use Intellect in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.009 322.143);
--foreground: oklch(0 0 0);
--muted: oklch(0.939 0.011 303.459);
--muted-foreground: oklch(0.448 0.027 302.747);
--popover: oklch(0.973 0.013 322.159);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.973 0.013 322.159);
--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.247 0.058 322.764);
--primary-foreground: oklch(0.774 0.083 322.459);
--secondary: oklch(0.229 0.051 300.095);
--secondary-foreground: oklch(0.752 0.072 302.207);
--accent: oklch(0.247 0.049 343.569);
--accent-foreground: oklch(0.773 0.07 341.363);
--destructive: oklch(0.356 0.143 29.901);
--destructive-foreground: oklch(0.822 0.099 21.618);
--ring: oklch(0.247 0.058 322.764);
--chart-1: oklch(0.247 0.058 322.764);
--chart-2: oklch(0.229 0.051 300.095);
--chart-3: oklch(0.247 0.049 343.569);
--chart-4: oklch(0.256 0.06 299.862);
--chart-5: oklch(0.247 0.062 322.793);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.171 0.017 302.106);
--muted-foreground: oklch(0.709 0.024 303.138);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.247 0.058 322.764);
--primary-foreground: oklch(0.774 0.083 322.459);
--secondary: oklch(0.229 0.051 300.095);
--secondary-foreground: oklch(0.752 0.072 302.207);
--accent: oklch(0.247 0.049 343.569);
--accent-foreground: oklch(0.773 0.07 341.363);
--destructive: oklch(0.63 0.255 29.372);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.247 0.058 322.764);
--chart-1: oklch(0.247 0.058 322.764);
--chart-2: oklch(0.229 0.051 300.095);
--chart-3: oklch(0.247 0.049 343.569);
--chart-4: oklch(0.256 0.06 299.862);
--chart-5: oklch(0.247 0.062 322.793);
}