Acrobatic is a shadcn/ui theme built around a muted deep yellow primary color (#1d1b16) with muted deep violet accents (#1b161d). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep yellow primary (#1d1b16) on a yellow-tinted background (#0c0904).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0c0904black |
| Foreground | #110d04black | #fdfdfcwhite |
| Card | #ffffffwhite | #0c0904black |
| Card foreground | #110d04black | #fdfdfcwhite |
| Popover | #ffffffwhite | #0c0904black |
| Popover foreground | #110d04black | #fdfdfcwhite |
| Primary | #1d1b16black | #1d1b16black |
| Primary foreground | #bdb6a8darkgray | #bdb6a8darkgray |
| Secondary | #161d1bblack | #161d1bblack |
| Secondary foreground | #a8bdb6darkgray | #a8bdb6darkgray |
| Muted | #eaf5f2whitesmoke | #0a1511black |
| Muted foreground | #3d4341darkslategray | #bcc2c0silver |
| Accent | #1b161dblack | #1b161dblack |
| Accent foreground | #b6a8bddarkgray | #b6a8bddarkgray |
| Destructive | #712f09saddlebrown | #ef7834tomato |
| Destructive foreground | #f9cdb4peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1d1b16black | #1d1b16black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.38:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 8.54:1 | AAA |
| Secondary button | 8.66:1 | AAA |
| Muted text | 9.07:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.79:1 | AA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 8.54:1 | AAA |
| Secondary button | 8.66:1 | AAA |
| Muted text | 10.31:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 7.41:1 | AAA |
Paste this into your globals.css to use Acrobatic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.159 0.021 88.912);
--muted: oklch(0.961 0.012 175.243);
--muted-foreground: oklch(0.376 0.009 174.894);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.159 0.021 88.912);
--card: oklch(1 0 180);
--card-foreground: oklch(0.159 0.021 88.912);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.222 0.01 86.094);
--primary-foreground: oklch(0.779 0.022 86.087);
--secondary: oklch(0.223 0.011 174.034);
--secondary-foreground: oklch(0.781 0.025 174.637);
--accent: oklch(0.209 0.016 315.111);
--accent-foreground: oklch(0.75 0.034 315.235);
--destructive: oklch(0.393 0.104 45.4);
--destructive-foreground: oklch(0.88 0.061 51.706);
--ring: oklch(0.222 0.01 86.094);
--chart-1: oklch(0.222 0.01 86.094);
--chart-2: oklch(0.223 0.011 174.034);
--chart-3: oklch(0.209 0.016 315.111);
--chart-4: oklch(0.258 0.014 173.895);
--chart-5: oklch(0.224 0.012 86.083);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.015 90.913);
--foreground: oklch(0.993 0.001 86.012);
--muted: oklch(0.182 0.017 172.443);
--muted-foreground: oklch(0.81 0.008 175.341);
--popover: oklch(0.141 0.015 90.913);
--popover-foreground: oklch(0.993 0.001 86.012);
--card: oklch(0.141 0.015 90.913);
--card-foreground: oklch(0.993 0.001 86.012);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.222 0.01 86.094);
--primary-foreground: oklch(0.779 0.022 86.087);
--secondary: oklch(0.223 0.011 174.034);
--secondary-foreground: oklch(0.781 0.025 174.637);
--accent: oklch(0.209 0.016 315.111);
--accent-foreground: oklch(0.75 0.034 315.235);
--destructive: oklch(0.7 0.166 47.355);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.222 0.01 86.094);
--chart-1: oklch(0.222 0.01 86.094);
--chart-2: oklch(0.223 0.011 174.034);
--chart-3: oklch(0.209 0.016 315.111);
--chart-4: oklch(0.258 0.014 173.895);
--chart-5: oklch(0.224 0.012 86.083);
}