Long-term is a shadcn/ui theme built around a green primary color (#61ae19) with pink accents (#ae1961). The light mode uses a neutral background (#fcfefb). Dark mode keeps the green primary (#61ae19) on a green-tinted background (#0a1005).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #0a1005black |
| Foreground | #0c1405black | #fafcf8snow |
| Card | #fcfefbwhite | #0a1005black |
| Card foreground | #0c1405black | #fafcf8snow |
| Popover | #fcfefbwhite | #0a1005black |
| Popover foreground | #0c1405black | #fafcf8snow |
| Primary | #61ae19olivedrab | #61ae19olivedrab |
| Primary foreground | #000000black | #000000black |
| Secondary | #1961aesteelblue | #1961aesteelblue |
| Secondary foreground | #fbfcfewhite | #fbfcfewhite |
| Muted | #d9dbdegainsboro | #212426darkslategray |
| Muted foreground | #525252darkslategray | #adadaddarkgray |
| Accent | #ae1961mediumvioletred | #ae1961mediumvioletred |
| Accent foreground | #fefbfcsnow | #fefbfcsnow |
| Destructive | #691607maroon | #ef3a1aorangered |
| Destructive foreground | #f9b5a9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #61ae19olivedrab | #61ae19olivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.49:1 | AAA |
| Text on card | 18.49:1 | AAA |
| Primary button | 7.57:1 | AAA |
| Secondary button | 6.08:1 | AA |
| Muted text | 5.63:1 | AA |
| Accent | 6.56:1 | AA |
| Destructive | 7.11:1 | AAA |
| Text on background | 18.71:1 | AAA |
| Text on card | 18.71:1 | AAA |
| Primary button | 7.57:1 | AAA |
| Secondary button | 6.08:1 | AA |
| Muted text | 6.97:1 | AA |
| Accent | 6.56:1 | AA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use Long-term in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 129.159);
--foreground: oklch(0.18 0.033 130.467);
--muted: oklch(0.891 0.004 249.697);
--muted-foreground: oklch(0.437 0 180);
--popover: oklch(0.994 0.003 129.159);
--popover-foreground: oklch(0.18 0.033 130.467);
--card: oklch(0.994 0.003 129.159);
--card-foreground: oklch(0.18 0.033 130.467);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.675 0.187 134.44);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.492 0.141 254.039);
--secondary-foreground: oklch(0.991 0.003 249.681);
--accent: oklch(0.497 0.188 358.53);
--accent-foreground: oklch(0.99 0.005 346.144);
--destructive: oklch(0.343 0.119 32.349);
--destructive-foreground: oklch(0.834 0.081 30.133);
--ring: oklch(0.675 0.187 134.44);
--chart-1: oklch(0.675 0.187 134.44);
--chart-2: oklch(0.492 0.141 254.039);
--chart-3: oklch(0.497 0.188 358.53);
--chart-4: oklch(0.519 0.149 254.109);
--chart-5: oklch(0.682 0.191 134.665);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.161 0.025 129.335);
--foreground: oklch(0.988 0.006 129.186);
--muted: oklch(0.257 0.006 249.862);
--muted-foreground: oklch(0.749 0 158.199);
--popover: oklch(0.161 0.025 129.335);
--popover-foreground: oklch(0.988 0.006 129.186);
--card: oklch(0.161 0.025 129.335);
--card-foreground: oklch(0.988 0.006 129.186);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.675 0.187 134.44);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.492 0.141 254.039);
--secondary-foreground: oklch(0.991 0.003 249.681);
--accent: oklch(0.497 0.188 358.53);
--accent-foreground: oklch(0.99 0.005 346.144);
--destructive: oklch(0.624 0.221 32.168);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.675 0.187 134.44);
--chart-1: oklch(0.675 0.187 134.44);
--chart-2: oklch(0.492 0.141 254.039);
--chart-3: oklch(0.497 0.188 358.53);
--chart-4: oklch(0.519 0.149 254.109);
--chart-5: oklch(0.682 0.191 134.665);
}