Organ is a shadcn/ui theme built around a near-black primary color (#030707) with muted light teal accents (#e7eeee). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#030707) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #010909black | #ffffffwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #010405black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #010909black | #ffffffwhite |
| Primary | #030707black | #030707black |
| Primary foreground | #78c3c4mediumaquamarine | #78c3c4mediumaquamarine |
| Secondary | #e7eeeelavender | #172121black |
| Secondary foreground | #192424black | #a7c3c3silver |
| Muted | #d6dbdbgainsboro | #242929darkslategray |
| Muted foreground | #435051darkslategray | #aebbbcsilver |
| Accent | #e7eeeelavender | #172121black |
| Accent foreground | #192424black | #a7c3c3silver |
| Destructive | #691802maroon | #fb5223orangered |
| Destructive foreground | #fdb4a0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #030707black | #030707black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.10:1 | AAA |
| Text on card | 20.12:1 | AAA |
| Primary button | 10.02:1 | AAA |
| Secondary button | 13.54:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 13.54:1 | AAA |
| Destructive | 7.03:1 | AAA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 10.02:1 | AAA |
| Secondary button | 8.79:1 | AAA |
| Muted text | 7.48:1 | AAA |
| Accent | 8.79:1 | AAA |
| Destructive | 3.32:1 | AA Large |
Paste this into your globals.css to use Organ in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.128 0.018 196.148);
--muted: oklch(0.888 0.006 198.266);
--muted-foreground: oklch(0.421 0.017 197.799);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.128 0.018 196.148);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.102 0.014 196.148);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.122 0.01 197.032);
--primary-foreground: oklch(0.768 0.074 197.105);
--secondary: oklch(0.944 0.007 198.247);
--secondary-foreground: oklch(0.249 0.014 197.556);
--accent: oklch(0.944 0.007 198.247);
--accent-foreground: oklch(0.249 0.014 197.556);
--destructive: oklch(0.346 0.118 35.328);
--destructive-foreground: oklch(0.834 0.09 36.079);
--ring: oklch(0.122 0.01 197.032);
--chart-1: oklch(0.122 0.01 197.032);
--chart-2: oklch(0.944 0.007 198.247);
--chart-3: oklch(0.944 0.007 198.247);
--chart-4: oklch(0.965 0.005 198.292);
--chart-5: oklch(0.123 0.01 196.95);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.275 0.008 197.964);
--muted-foreground: oklch(0.783 0.015 198.089);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.122 0.01 197.032);
--primary-foreground: oklch(0.768 0.074 197.105);
--secondary: oklch(0.239 0.015 197.502);
--secondary-foreground: oklch(0.796 0.03 197.823);
--accent: oklch(0.239 0.015 197.502);
--accent-foreground: oklch(0.796 0.03 197.823);
--destructive: oklch(0.666 0.213 35.378);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.122 0.01 197.032);
--chart-1: oklch(0.122 0.01 197.032);
--chart-2: oklch(0.239 0.015 197.502);
--chart-3: oklch(0.239 0.015 197.502);
--chart-4: oklch(0.274 0.018 197.452);
--chart-5: oklch(0.123 0.01 196.95);
}