janck is a shadcn/ui theme built around a near-black primary color (#000000) with neutral gray accents (#494949). The light mode uses a neutral background (#ffffff). Dark mode switches to a near-white primary (#ffffff) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #0c0c0cblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #0c0c0cblack |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #000000black | #ffffffwhite |
| Primary foreground | #ffffffwhite | #000000black |
| Secondary | #2dd4bfturquoise | #2dd4bfturquoise |
| Secondary foreground | #ffffffwhite | #000000black |
| Muted | #494949darkslategray | #161616black |
| Muted foreground | #abababdarkgray | #616062dimgray |
| Accent | #494949darkslategray | #345c5edarkslategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d2430fchocolate | #ef531aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #000000black | #ffffffwhite |
| Input | #000000black | #ffffffwhite |
| Ring | #000000black | #0c0c0cblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 21.00:1 | AAA |
| Secondary button | 1.86:1 | Fail |
| Muted text | 3.89:1 | AA Large |
| Accent | 9.00:1 | AAA |
| Destructive | 4.62:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 21.00:1 | AAA |
| Secondary button | 11.28:1 | AAA |
| Muted text | 2.90:1 | Fail |
| Accent | 7.42:1 | AAA |
| Destructive | 3.54:1 | AA Large |
Paste this into your globals.css to use janck in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.407 0 180);
--muted-foreground: oklch(0.743 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0 0 0);
--input: oklch(0 0 0);
--primary: oklch(0 0 0);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.785 0.133 181.919);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.405 0 180);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.582 0.188 37.052);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0 0 0);
--chart-1: oklch(0 0 0);
--chart-2: oklch(0.785 0.133 181.919);
--chart-3: oklch(0.405 0 180);
--chart-4: oklch(0.794 0.129 182.513);
--chart-5: oklch(0 0 0);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.198 0 180);
--muted-foreground: oklch(0.49 0.004 299.915);
--popover: oklch(0.154 0 153.435);
--popover-foreground: oklch(0.992 0.001 300.017);
--card: oklch(0.154 0 153.435);
--card-foreground: oklch(1 0 180);
--border: oklch(1 0 180);
--input: oklch(1 0 180);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.785 0.133 181.919);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.445 0.045 200.604);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.649 0.202 37.718);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.154 0 153.435);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.785 0.133 181.919);
--chart-3: oklch(0.445 0.045 200.604);
--chart-4: oklch(0.794 0.129 182.513);
--chart-5: oklch(1 0 180);
}