Long is a shadcn/ui theme built around a neutral gray primary color (#b1aca9) with neutral gray accents (#aca9b1). The light mode uses a neutral background (#fefcfb). Dark mode keeps the neutral gray primary (#b1aca9) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #040201black |
| Foreground | #100904black | #f9f7f6whitesmoke |
| Card | #fefcfbsnow | #040201black |
| Card foreground | #100904black | #f9f7f6whitesmoke |
| Popover | #fefcfbsnow | #040201black |
| Popover foreground | #100904black | #f9f7f6whitesmoke |
| Primary | #b1aca9darkgray | #b1aca9darkgray |
| Primary foreground | #151413black | #151413black |
| Secondary | #a9b1acdarkgray | #a9b1acdarkgray |
| Secondary foreground | #131514black | #131514black |
| Muted | #eaecealinen | #131514black |
| Muted foreground | #37483edarkslategray | #b7c8bdsilver |
| Accent | #aca9b1darkgray | #aca9b1darkgray |
| Accent foreground | #141315black | #141315black |
| Destructive | #a53a12saddlebrown | #e14e19chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b1aca9darkgray | #b1aca9darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.32:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 8.21:1 | AAA |
| Secondary button | 8.40:1 | AAA |
| Muted text | 8.16:1 | AAA |
| Accent | 8.02:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 19.36:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 8.21:1 | AAA |
| Secondary button | 8.40:1 | AAA |
| Muted text | 10.45:1 | AAA |
| Accent | 8.02:1 | AAA |
| Destructive | 3.95:1 | AA Large |
Paste this into your globals.css to use Long in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 52.545);
--foreground: oklch(0.147 0.017 57.793);
--muted: oklch(0.94 0.003 158.656);
--muted-foreground: oklch(0.384 0.028 157.054);
--popover: oklch(0.992 0.003 52.545);
--popover-foreground: oklch(0.147 0.017 57.793);
--card: oklch(0.992 0.003 52.545);
--card-foreground: oklch(0.147 0.017 57.793);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.749 0.007 52.448);
--primary-foreground: oklch(0.193 0.003 52.401);
--secondary: oklch(0.754 0.012 158.381);
--secondary-foreground: oklch(0.195 0.004 158.258);
--accent: oklch(0.741 0.012 302.681);
--accent-foreground: oklch(0.19 0.004 302.59);
--destructive: oklch(0.496 0.15 38.143);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.749 0.007 52.448);
--chart-1: oklch(0.749 0.007 52.448);
--chart-2: oklch(0.754 0.012 158.381);
--chart-3: oklch(0.741 0.012 302.681);
--chart-4: oklch(0.778 0.011 158.425);
--chart-5: oklch(0.749 0.012 52.371);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.092 0.008 58.946);
--foreground: oklch(0.977 0.003 52.542);
--muted: oklch(0.195 0.004 158.258);
--muted-foreground: oklch(0.816 0.023 158.09);
--popover: oklch(0.092 0.008 58.946);
--popover-foreground: oklch(0.977 0.003 52.542);
--card: oklch(0.092 0.008 58.946);
--card-foreground: oklch(0.977 0.003 52.542);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.749 0.007 52.448);
--primary-foreground: oklch(0.193 0.003 52.401);
--secondary: oklch(0.754 0.012 158.381);
--secondary-foreground: oklch(0.195 0.004 158.258);
--accent: oklch(0.741 0.012 302.681);
--accent-foreground: oklch(0.19 0.004 302.59);
--destructive: oklch(0.62 0.192 37.813);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.749 0.007 52.448);
--chart-1: oklch(0.749 0.007 52.448);
--chart-2: oklch(0.754 0.012 158.381);
--chart-3: oklch(0.741 0.012 302.681);
--chart-4: oklch(0.778 0.011 158.425);
--chart-5: oklch(0.749 0.012 52.371);
}