Tie is a shadcn/ui theme built around a teal primary color (#3cb97f) with teal accents (#3cb5b9). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#3cb97f) on a neutral background (#030805).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030805black |
| Foreground | #04110bblack | #f9fbfamintcream |
| Card | #ffffffwhite | #030805black |
| Card foreground | #04110bblack | #f9fbfamintcream |
| Popover | #ffffffwhite | #030805black |
| Popover foreground | #04110bblack | #f9fbfamintcream |
| Primary | #3cb97fmediumseagreen | #3cb97fmediumseagreen |
| Primary foreground | #0a1f15black | #0a1f15black |
| Secondary | #3cb940limegreen | #3cb940limegreen |
| Secondary foreground | #0a1f0bblack | #0a1f0bblack |
| Muted | #d5e7d5gainsboro | #182a18black |
| Muted foreground | #3f463fdarkslategray | #b9c0basilver |
| Accent | #3cb5b9lightseagreen | #3cb5b9lightseagreen |
| Accent foreground | #0a1e1fblack | #0a1e1fblack |
| Destructive | #b81200firebrick | #ff3e29orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3cb97fmediumseagreen | #3cb97fmediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.26:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 6.90:1 | AA |
| Secondary button | 6.74:1 | AA |
| Muted text | 7.51:1 | AAA |
| Accent | 6.95:1 | AA |
| Destructive | 6.73:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 6.90:1 | AA |
| Secondary button | 6.74:1 | AA |
| Muted text | 8.14:1 | AAA |
| Accent | 6.95:1 | AA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Tie in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.161 0.025 164.439);
--muted: oklch(0.91 0.031 146.238);
--muted-foreground: oklch(0.384 0.014 146.223);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.161 0.025 164.439);
--card: oklch(1 0 180);
--card-foreground: oklch(0.161 0.025 164.439);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.702 0.14 158.906);
--primary-foreground: oklch(0.218 0.033 161.554);
--secondary: oklch(0.692 0.194 143.574);
--secondary-foreground: oklch(0.215 0.047 144.37);
--accent: oklch(0.708 0.104 198.399);
--accent-foreground: oklch(0.219 0.026 198.408);
--destructive: oklch(0.496 0.196 30.549);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.702 0.14 158.906);
--chart-1: oklch(0.702 0.14 158.906);
--chart-2: oklch(0.692 0.194 143.574);
--chart-3: oklch(0.708 0.104 198.399);
--chart-4: oklch(0.718 0.198 143.64);
--chart-5: oklch(0.711 0.146 158.462);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.014 167.088);
--foreground: oklch(0.986 0.003 166.825);
--muted: oklch(0.265 0.041 145.063);
--muted-foreground: oklch(0.801 0.012 146.415);
--popover: oklch(0.123 0.014 167.088);
--popover-foreground: oklch(0.986 0.003 166.825);
--card: oklch(0.123 0.014 167.088);
--card-foreground: oklch(0.986 0.003 166.825);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.702 0.14 158.906);
--primary-foreground: oklch(0.218 0.033 161.554);
--secondary: oklch(0.692 0.194 143.574);
--secondary-foreground: oklch(0.215 0.047 144.37);
--accent: oklch(0.708 0.104 198.399);
--accent-foreground: oklch(0.219 0.026 198.408);
--destructive: oklch(0.656 0.231 30.416);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.702 0.14 158.906);
--chart-1: oklch(0.702 0.14 158.906);
--chart-2: oklch(0.692 0.194 143.574);
--chart-3: oklch(0.708 0.104 198.399);
--chart-4: oklch(0.718 0.198 143.64);
--chart-5: oklch(0.711 0.146 158.462);
}