Offbeat is a shadcn/ui theme built around a light teal primary color (#c6ebdd) with light orange accents (#ebddc6). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the light teal primary (#c6ebdd) on a teal-tinted background (#050f0b).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfbmintcream | #050f0bblack |
| Foreground | #04160fblack | #fcfdfdwhite |
| Card | #f7fdfbmintcream | #050f0bblack |
| Card foreground | #04160fblack | #fcfdfdwhite |
| Popover | #f7fdfbmintcream | #050f0bblack |
| Popover foreground | #04160fblack | #fcfdfdwhite |
| Primary | #c6ebddpowderblue | #c6ebddpowderblue |
| Primary foreground | #07130eblack | #07130eblack |
| Secondary | #ddc6ebthistle | #ddc6ebthistle |
| Secondary foreground | #47215findigo | #47215findigo |
| Muted | #e9e6ealavender | #171519black |
| Muted foreground | #443a4adarkslategray | #bfb5c5silver |
| Accent | #ebddc6bisque | #ebddc6bisque |
| Accent foreground | #5f4721darkolivegreen | #5f4721darkolivegreen |
| Destructive | #8c3608saddlebrown | #ec5c0eorangered |
| Destructive foreground | #fcdbcabisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c6ebddpowderblue | #c6ebddpowderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.05:1 | AAA |
| Text on card | 18.05:1 | AAA |
| Primary button | 14.78:1 | AAA |
| Secondary button | 8.09:1 | AAA |
| Muted text | 8.68:1 | AAA |
| Accent | 6.52:1 | AA |
| Destructive | 6.09:1 | AA |
| Text on background | 19.05:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 14.78:1 | AAA |
| Secondary button | 8.09:1 | AAA |
| Muted text | 9.19:1 | AAA |
| Accent | 6.52:1 | AA |
| Destructive | 3.44:1 | AA Large |
Paste this into your globals.css to use Offbeat in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 171.407);
--foreground: oklch(0.181 0.03 166.926);
--muted: oklch(0.928 0.007 312.935);
--muted-foreground: oklch(0.366 0.03 312.434);
--popover: oklch(0.988 0.006 171.407);
--popover-foreground: oklch(0.181 0.03 166.926);
--card: oklch(0.988 0.006 171.407);
--card-foreground: oklch(0.181 0.03 166.926);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.911 0.044 170.134);
--primary-foreground: oklch(0.173 0.021 168.04);
--secondary: oklch(0.858 0.057 312.537);
--secondary-foreground: oklch(0.332 0.11 310.148);
--accent: oklch(0.903 0.035 79.805);
--accent-foreground: oklch(0.415 0.063 77.348);
--destructive: oklch(0.448 0.127 42.957);
--destructive-foreground: oklch(0.915 0.043 50.091);
--ring: oklch(0.911 0.044 170.134);
--chart-1: oklch(0.911 0.044 170.134);
--chart-2: oklch(0.858 0.057 312.537);
--chart-3: oklch(0.903 0.035 79.805);
--chart-4: oklch(0.886 0.045 312.641);
--chart-5: oklch(0.913 0.046 170.045);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.019 169.432);
--foreground: oklch(0.993 0.001 171.572);
--muted: oklch(0.2 0.01 312.645);
--muted-foreground: oklch(0.785 0.025 312.772);
--popover: oklch(0.157 0.019 169.432);
--popover-foreground: oklch(0.993 0.001 171.572);
--card: oklch(0.157 0.019 169.432);
--card-foreground: oklch(0.993 0.001 171.572);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.911 0.044 170.134);
--primary-foreground: oklch(0.173 0.021 168.04);
--secondary: oklch(0.858 0.057 312.537);
--secondary-foreground: oklch(0.332 0.11 310.148);
--accent: oklch(0.903 0.035 79.805);
--accent-foreground: oklch(0.415 0.063 77.348);
--destructive: oklch(0.654 0.193 41.865);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.911 0.044 170.134);
--chart-1: oklch(0.911 0.044 170.134);
--chart-2: oklch(0.858 0.057 312.537);
--chart-3: oklch(0.903 0.035 79.805);
--chart-4: oklch(0.886 0.045 312.641);
--chart-5: oklch(0.913 0.046 170.045);
}