Thought is a shadcn/ui theme built around a near-black primary color (#030204) with near-black accents (#020402). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#030204) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030104black |
| Foreground | #0d0410black | #faf9fbghostwhite |
| Card | #ffffffwhite | #030104black |
| Card foreground | #0d0410black | #faf9fbghostwhite |
| Popover | #ffffffwhite | #030104black |
| Popover foreground | #0d0410black | #faf9fbghostwhite |
| Primary | #030204black | #030204black |
| Primary foreground | #af74c3mediumorchid | #af74c3mediumorchid |
| Secondary | #020402black | #020402black |
| Secondary foreground | #88c374darkseagreen | #88c374darkseagreen |
| Muted | #dce2dagainsboro | #1f251dblack |
| Muted foreground | #626d5fdimgray | #95a092darkseagreen |
| Accent | #020402black | #020402black |
| Accent foreground | #88c374darkseagreen | #88c374darkseagreen |
| Destructive | #cd110efirebrick | #ee1411red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #030204black | #030204black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.15:1 | AAA |
| Text on card | 20.15:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 9.91:1 | AAA |
| Muted text | 4.11:1 | AA Large |
| Accent | 9.91:1 | AAA |
| Destructive | 5.69:1 | AA |
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 9.91:1 | AAA |
| Muted text | 5.73:1 | AA |
| Accent | 9.91:1 | AAA |
| Destructive | 4.41:1 | AA Large |
Paste this into your globals.css to use Thought in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.133 0.032 318.39);
--muted: oklch(0.906 0.013 137.788);
--muted-foreground: oklch(0.522 0.026 137.85);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.133 0.032 318.39);
--card: oklch(1 0 180);
--card-foreground: oklch(0.133 0.032 318.39);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.086 0.013 319.101);
--primary-foreground: oklch(0.65 0.131 317.358);
--secondary: oklch(0.097 0.012 136.541);
--secondary-foreground: oklch(0.758 0.125 138.181);
--accent: oklch(0.097 0.012 136.541);
--accent-foreground: oklch(0.758 0.125 138.181);
--destructive: oklch(0.538 0.214 28.872);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.086 0.013 319.101);
--chart-1: oklch(0.086 0.013 319.101);
--chart-2: oklch(0.097 0.012 136.541);
--chart-3: oklch(0.097 0.012 136.541);
--chart-4: oklch(0.155 0.02 137.014);
--chart-5: oklch(0.086 0.014 319.208);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.015 319.28);
--foreground: oklch(0.984 0.003 317.759);
--muted: oklch(0.257 0.018 137.896);
--muted-foreground: oklch(0.693 0.024 137.823);
--popover: oklch(0.085 0.015 319.28);
--popover-foreground: oklch(0.984 0.003 317.759);
--card: oklch(0.085 0.015 319.28);
--card-foreground: oklch(0.984 0.003 317.759);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.086 0.013 319.101);
--primary-foreground: oklch(0.65 0.131 317.358);
--secondary: oklch(0.097 0.012 136.541);
--secondary-foreground: oklch(0.758 0.125 138.181);
--accent: oklch(0.097 0.012 136.541);
--accent-foreground: oklch(0.758 0.125 138.181);
--destructive: oklch(0.602 0.24 28.934);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.086 0.013 319.101);
--chart-1: oklch(0.086 0.013 319.101);
--chart-2: oklch(0.097 0.012 136.541);
--chart-3: oklch(0.097 0.012 136.541);
--chart-4: oklch(0.155 0.02 137.014);
--chart-5: oklch(0.086 0.014 319.208);
}