Extroverted is a shadcn/ui theme built around a neutral gray primary color (#797a81) with neutral gray accents (#818079). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the neutral gray primary (#797a81) on a neutral background (#010104).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #010104black |
| Foreground | #050714black | #ffffffwhite |
| Card | #f8f8fcghostwhite | #020308black |
| Card foreground | #040610black | #ffffffwhite |
| Popover | #f8f8fcghostwhite | #020308black |
| Popover foreground | #040610black | #ffffffwhite |
| Primary | #797a81gray | #797a81gray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #818079gray | #818079gray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eeede8linen | #171711black |
| Muted foreground | #585546darkolivegreen | #b9b6a7darkgray |
| Accent | #818079gray | #818079gray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #dd2f03orangered | #f63404orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #797a81gray | #797a81gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 4.26:1 | AA Large |
| Secondary button | 3.97:1 | AA Large |
| Muted text | 6.37:1 | AA |
| Accent | 3.97:1 | AA Large |
| Destructive | 4.68:1 | AA |
| Text on background | 20.80:1 | AAA |
| Text on card | 20.61:1 | AAA |
| Primary button | 4.26:1 | AA Large |
| Secondary button | 3.97:1 | AA Large |
| Muted text | 8.84:1 | AAA |
| Accent | 3.97:1 | AA Large |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Extroverted in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.002 279.303);
--foreground: oklch(0.136 0.029 273.489);
--muted: oklch(0.945 0.007 99.452);
--muted-foreground: oklch(0.449 0.024 100.056);
--popover: oklch(0.981 0.005 279.265);
--popover-foreground: oklch(0.126 0.025 273.105);
--card: oklch(0.981 0.005 279.265);
--card-foreground: oklch(0.126 0.025 273.105);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.581 0.01 279.079);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.598 0.01 99.577);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.598 0.01 99.577);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.583 0.214 32.991);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.581 0.01 279.079);
--chart-1: oklch(0.581 0.01 279.079);
--chart-2: oklch(0.598 0.01 99.577);
--chart-3: oklch(0.598 0.01 99.577);
--chart-4: oklch(0.623 0.009 99.561);
--chart-5: oklch(0.574 0.02 278.792);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.078 0.015 272.327);
--foreground: oklch(1 0 180);
--muted: oklch(0.202 0.01 100.028);
--muted-foreground: oklch(0.775 0.021 99.727);
--popover: oklch(0.098 0.019 272.327);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.098 0.019 272.327);
--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.581 0.01 279.079);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.598 0.01 99.577);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.598 0.01 99.577);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.632 0.232 32.853);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.581 0.01 279.079);
--chart-1: oklch(0.581 0.01 279.079);
--chart-2: oklch(0.598 0.01 99.577);
--chart-3: oklch(0.598 0.01 99.577);
--chart-4: oklch(0.623 0.009 99.561);
--chart-5: oklch(0.574 0.02 278.792);
}