Thousand is a shadcn/ui theme built around an indigo primary color (#7f81bd) with muted indigo accents (#b4b5c5). The light mode uses a neutral background (#ffffff). Dark mode keeps the indigo primary (#7f81bd) on an indigo-tinted background (#03040c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #03040cblack |
| Foreground | #020308black | #f5f5f9whitesmoke |
| Card | #ffffffwhite | #03040cblack |
| Card foreground | #020308black | #f5f5f9whitesmoke |
| Popover | #ffffffwhite | #03040cblack |
| Popover foreground | #020308black | #f5f5f9whitesmoke |
| Primary | #7f81bdlightslategray | #7f81bdlightslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #d1d2d6lightgrey | #262626darkslategray |
| Secondary foreground | #38383edarkslategray | #bfbfbfsilver |
| Muted | #d5d5e7gainsboro | #2a1818black |
| Muted foreground | #424252darkslategray | #bdadaddarkgray |
| Accent | #b4b5c5silver | #413a3adarkslategray |
| Accent foreground | #1f1f28black | #d9d4d4lightgrey |
| Destructive | #c7120ffirebrick | #ef2825crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7f81bdlightslategray | #7f81bdlightslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 5.78:1 | AA |
| Secondary button | 7.69:1 | AAA |
| Muted text | 6.82:1 | AA |
| Accent | 8.04:1 | AAA |
| Destructive | 5.95:1 | AA |
| Text on background | 18.82:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 5.78:1 | AA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 7.82:1 | AAA |
| Accent | 7.61:1 | AAA |
| Destructive | 4.21:1 | AA Large |
Paste this into your globals.css to use Thousand in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.098 0.018 280.285);
--muted: oklch(0.879 0.024 284.323);
--muted-foreground: oklch(0.386 0.027 283.523);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.098 0.018 280.285);
--card: oklch(1 0 180);
--card-foreground: oklch(0.098 0.018 280.285);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.626 0.09 281.949);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.864 0.006 284.691);
--secondary-foreground: oklch(0.342 0.01 284.291);
--accent: oklch(0.777 0.024 284.261);
--accent-foreground: oklch(0.245 0.017 283.509);
--destructive: oklch(0.527 0.208 28.812);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.626 0.09 281.949);
--chart-1: oklch(0.626 0.09 281.949);
--chart-2: oklch(0.864 0.006 284.691);
--chart-3: oklch(0.777 0.024 284.261);
--chart-4: oklch(0.888 0.005 284.715);
--chart-5: oklch(0.62 0.098 281.603);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.023 279.698);
--foreground: oklch(0.972 0.005 284.712);
--muted: oklch(0.234 0.029 19.482);
--muted-foreground: oklch(0.761 0.019 17.573);
--popover: oklch(0.11 0.023 279.698);
--popover-foreground: oklch(0.972 0.005 284.712);
--card: oklch(0.11 0.023 279.698);
--card-foreground: oklch(0.972 0.005 284.712);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.626 0.09 281.949);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.27 0 180);
--secondary-foreground: oklch(0.805 0 169.695);
--accent: oklch(0.354 0.01 17.649);
--accent-foreground: oklch(0.873 0.005 17.26);
--destructive: oklch(0.612 0.23 28.048);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.626 0.09 281.949);
--chart-1: oklch(0.626 0.09 281.949);
--chart-2: oklch(0.27 0 180);
--chart-3: oklch(0.354 0.01 17.649);
--chart-4: oklch(0.301 0 189.462);
--chart-5: oklch(0.62 0.098 281.603);
}