Long-term is a shadcn/ui theme built around a muted teal primary color (#b4cbc5) with muted yellow accents (#cbc5b4). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted teal primary (#b4cbc5) on a teal-tinted background (#040c0a).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #040c0ablack |
| Foreground | #020807black | #f9fbfbghostwhite |
| Card | #fbfefdwhite | #040c0ablack |
| Card foreground | #020807black | #f9fbfbghostwhite |
| Popover | #fbfefdwhite | #040c0ablack |
| Popover foreground | #020807black | #f9fbfbghostwhite |
| Primary | #b4cbc5silver | #b4cbc5silver |
| Primary foreground | #1f2d2adarkslategray | #1f2d2adarkslategray |
| Secondary | #c5b4cbsilver | #c5b4cbsilver |
| Secondary foreground | #2a1f2ddarkslategray | #2a1f2ddarkslategray |
| Muted | #e0d2e4gainsboro | #281b2ddarkslategray |
| Muted foreground | #68536edimgray | #a591acdarkgray |
| Accent | #cbc5b4silver | #cbc5b4silver |
| Accent foreground | #2d2a1fdarkslategray | #2d2a1fdarkslategray |
| Destructive | #bd4f0fchocolate | #ef7c39coral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b4cbc5silver | #b4cbc5silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.91:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 8.35:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 4.76:1 | AA |
| Accent | 8.34:1 | AAA |
| Destructive | 4.90:1 | AA |
| Text on background | 19.08:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 8.35:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 5.64:1 | AA |
| Accent | 8.34:1 | AAA |
| Destructive | 7.59:1 | AAA |
Paste this into your globals.css to use Long-term in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 180.85);
--foreground: oklch(0.125 0.014 180.948);
--muted: oklch(0.881 0.028 318.298);
--muted-foreground: oklch(0.475 0.05 318.219);
--popover: oklch(0.995 0.004 180.85);
--popover-foreground: oklch(0.125 0.014 180.948);
--card: oklch(0.995 0.004 180.85);
--card-foreground: oklch(0.125 0.014 180.948);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.822 0.026 180.048);
--primary-foreground: oklch(0.284 0.02 178.85);
--secondary: oklch(0.791 0.037 318.283);
--secondary-foreground: oklch(0.259 0.029 318.208);
--accent: oklch(0.824 0.025 92.925);
--accent-foreground: oklch(0.285 0.019 93.133);
--destructive: oklch(0.563 0.157 44.248);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.822 0.026 180.048);
--chart-1: oklch(0.822 0.026 180.048);
--chart-2: oklch(0.791 0.037 318.283);
--chart-3: oklch(0.824 0.025 92.925);
--chart-4: oklch(0.817 0.033 318.291);
--chart-5: oklch(0.825 0.03 179.898);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.015 180.547);
--foreground: oklch(0.986 0.003 180.884);
--muted: oklch(0.246 0.038 318.146);
--muted-foreground: oklch(0.682 0.046 318.263);
--popover: oklch(0.142 0.015 180.547);
--popover-foreground: oklch(0.986 0.003 180.884);
--card: oklch(0.142 0.015 180.547);
--card-foreground: oklch(0.986 0.003 180.884);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.822 0.026 180.048);
--primary-foreground: oklch(0.284 0.02 178.85);
--secondary: oklch(0.791 0.037 318.283);
--secondary-foreground: oklch(0.259 0.029 318.208);
--accent: oklch(0.824 0.025 92.925);
--accent-foreground: oklch(0.285 0.019 93.133);
--destructive: oklch(0.706 0.162 47.722);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.822 0.026 180.048);
--chart-1: oklch(0.822 0.026 180.048);
--chart-2: oklch(0.791 0.037 318.283);
--chart-3: oklch(0.824 0.025 92.925);
--chart-4: oklch(0.817 0.033 318.291);
--chart-5: oklch(0.825 0.03 179.898);
}