Extroverted is a shadcn/ui theme built around a deep purple primary color (#321531) with deep teal accents (#153132). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the deep purple primary (#321531) on a purple-tinted background (#0c030c).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0c030cblack |
| Foreground | #0d030cblack | #f9f6f9whitesmoke |
| Card | #fcf8fbsnow | #100410black |
| Card foreground | #080208black | #fbf9fbsnow |
| Popover | #fcf8fbsnow | #100410black |
| Popover foreground | #080208black | #fbf9fbsnow |
| Primary | #321531darkslategray | #321531darkslategray |
| Primary foreground | #d8a2d5plum | #d8a2d5plum |
| Secondary | #313215darkslategray | #313215darkslategray |
| Secondary foreground | #b5ba5adarkkhaki | #b5ba5adarkkhaki |
| Muted | #e3e4d2gainsboro | #2c2d1bdarkslategray |
| Muted foreground | #67675fdimgray | #9fa098darkgray |
| Accent | #153132darkslategray | #153132darkslategray |
| Accent foreground | #a2d5d8lightblue | #a2d5d8lightblue |
| Destructive | #920502darkred | #fc3936tomato |
| Destructive foreground | #fec9c8pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #321531darkslategray | #321531darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.78:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 7.79:1 | AAA |
| Secondary button | 6.32:1 | AA |
| Muted text | 4.43:1 | AA Large |
| Accent | 8.60:1 | AAA |
| Destructive | 6.43:1 | AA |
| Text on background | 18.92:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 7.79:1 | AAA |
| Secondary button | 6.32:1 | AA |
| Muted text | 5.33:1 | AA |
| Accent | 8.60:1 | AAA |
| Destructive | 3.63:1 | AA Large |
Paste this into your globals.css to use Extroverted in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 327.064);
--foreground: oklch(0.123 0.033 328.824);
--muted: oklch(0.914 0.024 109.187);
--muted-foreground: oklch(0.512 0.012 109.149);
--popover: oklch(0.983 0.006 327.09);
--popover-foreground: oklch(0.107 0.029 328.66);
--card: oklch(0.983 0.006 327.09);
--card-foreground: oklch(0.107 0.029 328.66);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.252 0.064 329.158);
--primary-foreground: oklch(0.778 0.094 328.089);
--secondary: oklch(0.309 0.046 111.373);
--secondary-foreground: oklch(0.764 0.12 111.503);
--accent: oklch(0.292 0.034 199.979);
--accent-foreground: oklch(0.839 0.053 200.228);
--destructive: oklch(0.416 0.168 29.298);
--destructive-foreground: oklch(0.882 0.061 19.51);
--ring: oklch(0.252 0.064 329.158);
--chart-1: oklch(0.252 0.064 329.158);
--chart-2: oklch(0.309 0.046 111.373);
--chart-3: oklch(0.292 0.034 199.979);
--chart-4: oklch(0.35 0.054 111.463);
--chart-5: oklch(0.252 0.068 329.281);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.03 328.673);
--foreground: oklch(0.976 0.005 327.086);
--muted: oklch(0.289 0.03 110.575);
--muted-foreground: oklch(0.702 0.011 109.008);
--popover: oklch(0.138 0.035 328.914);
--popover-foreground: oklch(0.984 0.003 327.07);
--card: oklch(0.138 0.035 328.914);
--card-foreground: oklch(0.984 0.003 327.07);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.252 0.064 329.158);
--primary-foreground: oklch(0.778 0.094 328.089);
--secondary: oklch(0.309 0.046 111.373);
--secondary-foreground: oklch(0.764 0.12 111.503);
--accent: oklch(0.292 0.034 199.979);
--accent-foreground: oklch(0.839 0.053 200.228);
--destructive: oklch(0.648 0.23 27.179);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.252 0.064 329.158);
--chart-1: oklch(0.252 0.064 329.158);
--chart-2: oklch(0.309 0.046 111.373);
--chart-3: oklch(0.292 0.034 199.979);
--chart-4: oklch(0.35 0.054 111.463);
--chart-5: oklch(0.252 0.068 329.281);
}