Territorial Edward is a shadcn/ui theme built around a muted teal primary color (#5d8183) with muted blue accents (#5d6e83). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted teal primary (#5d8183) on a teal-tinted background (#070d0d).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070d0dblack |
| Foreground | #041415black | #f9fbfbghostwhite |
| Card | #ffffffwhite | #070d0dblack |
| Card foreground | #041415black | #f9fbfbghostwhite |
| Popover | #ffffffwhite | #070d0dblack |
| Popover foreground | #041415black | #f9fbfbghostwhite |
| Primary | #5d8183slategray | #5d8183slategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #5d8373dimgray | #5d8373dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eaf0eewhitesmoke | #0f1512black |
| Muted foreground | #4f5f58dimgray | #a0b0a9darkgray |
| Accent | #5d6e83dimgray | #5d6e83dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #750401maroon | #fe0a01red |
| Destructive foreground | #ffaca9lightpink | #ffffffwhite |
| Border | #e2e9e9lavender | #181f20black |
| Input | #e2e9e9lavender | #181f20black |
| Ring | #5d8183slategray | #5d8183slategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.81:1 | AAA |
| Text on card | 18.81:1 | AAA |
| Primary button | 4.26:1 | AA Large |
| Secondary button | 4.22:1 | AA Large |
| Muted text | 5.86:1 | AA |
| Accent | 5.23:1 | AA |
| Destructive | 6.61:1 | AA |
| Text on background | 18.86:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 4.26:1 | AA Large |
| Secondary button | 4.22:1 | AA Large |
| Muted text | 8.16:1 | AAA |
| Accent | 5.23:1 | AA |
| Destructive | 4.00:1 | AA Large |
Paste this into your globals.css to use Territorial Edward in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.178 0.023 201.13);
--muted: oklch(0.951 0.008 168.504);
--muted-foreground: oklch(0.468 0.022 167.345);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.178 0.023 201.13);
--card: oklch(1 0 180);
--card-foreground: oklch(0.178 0.023 201.13);
--border: oklch(0.928 0.007 202.132);
--input: oklch(0.928 0.007 202.132);
--primary: oklch(0.576 0.04 201.637);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.577 0.05 166.027);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.532 0.04 255.241);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.355 0.142 29.82);
--destructive-foreground: oklch(0.823 0.098 21.592);
--ring: oklch(0.576 0.04 201.637);
--chart-1: oklch(0.576 0.04 201.637);
--chart-2: oklch(0.577 0.05 166.027);
--chart-3: oklch(0.532 0.04 255.241);
--chart-4: oklch(0.605 0.053 166.008);
--chart-5: oklch(0.583 0.046 201.595);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.152 0.01 201.417);
--foreground: oklch(0.986 0.002 202.189);
--muted: oklch(0.188 0.011 166.927);
--muted-foreground: oklch(0.743 0.02 167.966);
--popover: oklch(0.152 0.01 201.417);
--popover-foreground: oklch(0.986 0.002 202.189);
--card: oklch(0.152 0.01 201.417);
--card-foreground: oklch(0.986 0.002 202.189);
--border: oklch(0.234 0.011 201.788);
--input: oklch(0.234 0.011 201.788);
--primary: oklch(0.576 0.04 201.637);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.577 0.05 166.027);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.532 0.04 255.241);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.627 0.255 29.461);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.576 0.04 201.637);
--chart-1: oklch(0.576 0.04 201.637);
--chart-2: oklch(0.577 0.05 166.027);
--chart-3: oklch(0.532 0.04 255.241);
--chart-4: oklch(0.605 0.053 166.008);
--chart-5: oklch(0.583 0.046 201.595);
}