Tall is a shadcn/ui theme built around a muted cyan primary color (#68898d) with muted red accents (#8d6c68). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted cyan primary (#68898d) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020303black |
| Foreground | #040b0cblack | #f9fbfbghostwhite |
| Card | #ffffffwhite | #020303black |
| Card foreground | #040b0cblack | #f9fbfbghostwhite |
| Popover | #ffffffwhite | #020303black |
| Popover foreground | #040b0cblack | #f9fbfbghostwhite |
| Primary | #68898dslategray | #68898dslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #8d6c68gray | #8d6c68gray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eee8e7linen | #181211black |
| Muted foreground | #5f5554dimgray | #aba1a0darkgray |
| Accent | #8d6c68gray | #8d6c68gray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #6b1c0bmaroon | #ed6445tomato |
| Destructive foreground | #f7bdb0lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #68898dslategray | #68898dslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 5.55:1 | AA |
| Secondary button | 4.70:1 | AA |
| Muted text | 5.94:1 | AA |
| Accent | 4.70:1 | AA |
| Destructive | 7.16:1 | AAA |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 5.55:1 | AA |
| Secondary button | 4.70:1 | AA |
| Muted text | 7.36:1 | AAA |
| Accent | 4.70:1 | AA |
| Destructive | 6.49:1 | AA |
Paste this into your globals.css to use Tall in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.14 0.014 202.9);
--muted: oklch(0.935 0.006 25.046);
--muted-foreground: oklch(0.458 0.013 25.24);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.14 0.014 202.9);
--card: oklch(1 0 180);
--card-foreground: oklch(0.14 0.014 202.9);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.607 0.038 204.689);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.562 0.043 25.794);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.562 0.043 25.794);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.354 0.115 33.865);
--destructive-foreground: oklch(0.848 0.07 32.921);
--ring: oklch(0.607 0.038 204.689);
--chart-1: oklch(0.607 0.038 204.689);
--chart-2: oklch(0.562 0.043 25.794);
--chart-3: oklch(0.562 0.043 25.794);
--chart-4: oklch(0.588 0.043 25.759);
--chart-5: oklch(0.613 0.044 204.686);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.006 203.341);
--foreground: oklch(0.986 0.002 204.974);
--muted: oklch(0.188 0.01 25.505);
--muted-foreground: oklch(0.718 0.011 25.125);
--popover: oklch(0.095 0.006 203.341);
--popover-foreground: oklch(0.986 0.002 204.974);
--card: oklch(0.095 0.006 203.341);
--card-foreground: oklch(0.986 0.002 204.974);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.607 0.038 204.689);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.562 0.043 25.794);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.562 0.043 25.794);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.67 0.176 34.135);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.607 0.038 204.689);
--chart-1: oklch(0.607 0.038 204.689);
--chart-2: oklch(0.562 0.043 25.794);
--chart-3: oklch(0.562 0.043 25.794);
--chart-4: oklch(0.588 0.043 25.759);
--chart-5: oklch(0.613 0.044 204.686);
}