Jack is a shadcn/ui theme built around a muted green primary color (#9bae84) with muted pink accents (#ae849b). The light mode uses a neutral background (#fafdf7). Dark mode keeps the muted green primary (#9bae84) on a neutral background (#030402).
| Token | Light | Dark |
|---|---|---|
| Background | #fafdf7mintcream | #030402black |
| Foreground | #0e1405black | #f8faf5whitesmoke |
| Card | #f8fcf2floralwhite | #050703black |
| Card foreground | #0b1004black | #fafbf8snow |
| Popover | #f8fcf2floralwhite | #050703black |
| Popover foreground | #0b1004black | #fafbf8snow |
| Primary | #9bae84darkseagreen | #9bae84darkseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #849baelightslategray | #849baelightslategray |
| Secondary foreground | #000000black | #000000black |
| Muted | #ecf0f3whitesmoke | #0c1013black |
| Muted foreground | #3f4850darkslategray | #afb8c0silver |
| Accent | #ae849brosybrown | #ae849brosybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #880e0cdarkred | #d31612firebrick |
| Destructive foreground | #fbcccbpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9bae84darkseagreen | #9bae84darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.27:1 | AAA |
| Text on card | 18.55:1 | AAA |
| Primary button | 8.81:1 | AAA |
| Secondary button | 7.28:1 | AAA |
| Muted text | 8.13:1 | AAA |
| Accent | 6.56:1 | AA |
| Destructive | 6.90:1 | AA |
| Text on background | 19.60:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 8.81:1 | AAA |
| Secondary button | 7.28:1 | AAA |
| Muted text | 9.51:1 | AAA |
| Accent | 6.56:1 | AA |
| Destructive | 5.39:1 | AA |
Paste this into your globals.css to use Jack in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.009 126.547);
--foreground: oklch(0.181 0.032 128.188);
--muted: oklch(0.953 0.006 242.276);
--muted-foreground: oklch(0.397 0.018 242.802);
--popover: oklch(0.986 0.014 126.607);
--popover-foreground: oklch(0.164 0.028 127.131);
--card: oklch(0.986 0.014 126.607);
--card-foreground: oklch(0.164 0.028 127.131);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.726 0.064 127.605);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.678 0.039 242.982);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.661 0.061 344.769);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.401 0.155 28.43);
--destructive-foreground: oklch(0.886 0.053 19.333);
--ring: oklch(0.726 0.064 127.605);
--chart-1: oklch(0.726 0.064 127.605);
--chart-2: oklch(0.678 0.039 242.982);
--chart-3: oklch(0.661 0.061 344.769);
--chart-4: oklch(0.703 0.036 242.885);
--chart-5: oklch(0.732 0.072 127.767);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.011 125.768);
--foreground: oklch(0.981 0.006 126.513);
--muted: oklch(0.169 0.009 242.928);
--muted-foreground: oklch(0.779 0.015 242.452);
--popover: oklch(0.124 0.013 125.768);
--popover-foreground: oklch(0.987 0.004 126.484);
--card: oklch(0.124 0.013 125.768);
--card-foreground: oklch(0.987 0.004 126.484);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.726 0.064 127.605);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.678 0.039 242.982);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.661 0.061 344.769);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.551 0.217 28.74);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.726 0.064 127.605);
--chart-1: oklch(0.726 0.064 127.605);
--chart-2: oklch(0.678 0.039 242.982);
--chart-3: oklch(0.661 0.061 344.769);
--chart-4: oklch(0.703 0.036 242.885);
--chart-5: oklch(0.732 0.072 127.767);
}