List is a shadcn/ui theme built around a deep violet primary color (#36166a) with deep green accents (#166a36). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the deep violet primary (#36166a) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #020203black |
| Foreground | #000000black | #f7f5fawhitesmoke |
| Card | #f9f7fdghostwhite | #050307black |
| Card foreground | #000000black | #f9f8fcghostwhite |
| Popover | #f9f7fdghostwhite | #050307black |
| Popover foreground | #000000black | #f9f8fcghostwhite |
| Primary | #36166amidnightblue | #36166amidnightblue |
| Primary foreground | #d3c0f2thistle | #d3c0f2thistle |
| Secondary | #6a3616saddlebrown | #6a3616saddlebrown |
| Secondary foreground | #f2d3c0peachpuff | #f2d3c0peachpuff |
| Muted | #edeae8linen | #171412black |
| Muted foreground | #574d47darkolivegreen | #b8aea8darkgray |
| Accent | #166a36forestgreen | #166a36forestgreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #cb2006firebrick | #f94e34tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #36166amidnightblue | #36166amidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.35:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 8.53:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 6.85:1 | AA |
| Accent | 6.68:1 | AA |
| Destructive | 5.60:1 | AA |
| Text on background | 19.16:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 8.53:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 8.44:1 | AAA |
| Accent | 6.68:1 | AA |
| Destructive | 3.40:1 | AA Large |
Paste this into your globals.css to use List in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 303.575);
--foreground: oklch(0 0 0);
--muted: oklch(0.939 0.005 54.435);
--muted-foreground: oklch(0.429 0.016 53.992);
--popover: oklch(0.979 0.009 303.51);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.979 0.009 303.51);
--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.304 0.135 294.287);
--primary-foreground: oklch(0.839 0.072 302.355);
--secondary: oklch(0.393 0.086 49.62);
--secondary-foreground: oklch(0.887 0.044 53.846);
--accent: oklch(0.462 0.113 151.211);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.54 0.206 31.183);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.304 0.135 294.287);
--chart-1: oklch(0.304 0.135 294.287);
--chart-2: oklch(0.393 0.086 49.62);
--chart-3: oklch(0.462 0.113 151.211);
--chart-4: oklch(0.425 0.094 49.445);
--chart-5: oklch(0.303 0.139 293.645);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.01 304.133);
--foreground: oklch(0.972 0.007 303.53);
--muted: oklch(0.193 0.007 54.004);
--muted-foreground: oklch(0.758 0.014 54.251);
--popover: oklch(0.107 0.012 304.133);
--popover-foreground: oklch(0.982 0.005 303.567);
--card: oklch(0.107 0.012 304.133);
--card-foreground: oklch(0.982 0.005 303.567);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.304 0.135 294.287);
--primary-foreground: oklch(0.839 0.072 302.355);
--secondary: oklch(0.393 0.086 49.62);
--secondary-foreground: oklch(0.887 0.044 53.846);
--accent: oklch(0.462 0.113 151.211);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.661 0.211 31.588);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.304 0.135 294.287);
--chart-1: oklch(0.304 0.135 294.287);
--chart-2: oklch(0.393 0.086 49.62);
--chart-3: oklch(0.462 0.113 151.211);
--chart-4: oklch(0.425 0.094 49.445);
--chart-5: oklch(0.303 0.139 293.645);
}