Thin is a shadcn/ui theme built around a light teal primary color (#c5f1e6) with light cyan accents (#c5e6f1). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the light teal primary (#c5f1e6) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfbmintcream | #000000black |
| Foreground | #020d0bblack | #ffffffwhite |
| Card | #f5faf9mintcream | #030303black |
| Card foreground | #010907black | #ffffffwhite |
| Popover | #f5faf9mintcream | #030303black |
| Popover foreground | #010907black | #ffffffwhite |
| Primary | #c5f1e6paleturquoise | #c5f1e6paleturquoise |
| Primary foreground | #061914black | #061914black |
| Secondary | #c5f1d0lightgrey | #c5f1d0lightgrey |
| Secondary foreground | #06190bblack | #06190bblack |
| Muted | #e4f1e8honeydew | #0e1b11black |
| Muted foreground | #4c574fdarkslategray | #a8b3abdarkgray |
| Accent | #c5e6f1paleturquoise | #c5e6f1paleturquoise |
| Accent foreground | #19576bdarkslategray | #19576bdarkslategray |
| Destructive | #a80805darkred | #f20b07red |
| Destructive foreground | #fee2e1mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c5f1e6paleturquoise | #c5f1e6paleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.01:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 14.83:1 | AAA |
| Secondary button | 14.69:1 | AAA |
| Muted text | 6.47:1 | AA |
| Accent | 6.11:1 | AA |
| Destructive | 6.34:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 14.83:1 | AAA |
| Secondary button | 14.69:1 | AAA |
| Muted text | 8.22:1 | AAA |
| Accent | 6.11:1 | AA |
| Destructive | 4.33:1 | AA Large |
Paste this into your globals.css to use Thin in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 179.762);
--foreground: oklch(0.147 0.022 178.626);
--muted: oklch(0.946 0.018 153.554);
--muted-foreground: oklch(0.445 0.02 153.091);
--popover: oklch(0.98 0.005 179.708);
--popover-foreground: oklch(0.127 0.019 179.926);
--card: oklch(0.98 0.005 179.708);
--card-foreground: oklch(0.127 0.019 179.926);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.925 0.048 178.3);
--primary-foreground: oklch(0.194 0.027 175.115);
--secondary: oklch(0.919 0.064 152.627);
--secondary-foreground: oklch(0.191 0.038 150.299);
--accent: oklch(0.906 0.038 219.918);
--accent-foreground: oklch(0.427 0.069 224.51);
--destructive: oklch(0.463 0.186 29.122);
--destructive-foreground: oklch(0.935 0.031 18.89);
--ring: oklch(0.925 0.048 178.3);
--chart-1: oklch(0.925 0.048 178.3);
--chart-2: oklch(0.919 0.064 152.627);
--chart-3: oklch(0.906 0.038 219.918);
--chart-4: oklch(0.936 0.05 152.927);
--chart-5: oklch(0.927 0.05 178.226);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.205 0.025 151.537);
--muted-foreground: oklch(0.756 0.018 153.477);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.925 0.048 178.3);
--primary-foreground: oklch(0.194 0.027 175.115);
--secondary: oklch(0.919 0.064 152.627);
--secondary-foreground: oklch(0.191 0.038 150.299);
--accent: oklch(0.906 0.038 219.918);
--accent-foreground: oklch(0.427 0.069 224.51);
--destructive: oklch(0.607 0.246 29.163);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.925 0.048 178.3);
--chart-1: oklch(0.925 0.048 178.3);
--chart-2: oklch(0.919 0.064 152.627);
--chart-3: oklch(0.906 0.038 219.918);
--chart-4: oklch(0.936 0.05 152.927);
--chart-5: oklch(0.927 0.05 178.226);
}