Antique is a shadcn/ui theme built around a pink primary color (#673244) with blue accents (#324467). The light mode uses a neutral background (#fefbfc). Dark mode keeps the pink primary (#673244) on a neutral background (#080204).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #080204black |
| Foreground | #16030ablack | #ffffffwhite |
| Card | #fefbfcsnow | #080204black |
| Card foreground | #16030ablack | #ffffffwhite |
| Popover | #fefbfcsnow | #080204black |
| Popover foreground | #16030ablack | #ffffffwhite |
| Primary | #673244darkolivegreen | #673244darkolivegreen |
| Primary foreground | #eedde3mistyrose | #eedde3mistyrose |
| Secondary | #446732darkolivegreen | #446732darkolivegreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e6eee2beige | #151d11black |
| Muted foreground | #656a62dimgray | #989d95darkgray |
| Accent | #324467darkslategray | #324467darkslategray |
| Accent foreground | #dde3eelavender | #dde3eelavender |
| Destructive | #c52602firebrick | #fd5630tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #673244darkolivegreen | #673244darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 7.60:1 | AAA |
| Secondary button | 6.46:1 | AA |
| Muted text | 4.67:1 | AA |
| Accent | 7.51:1 | AAA |
| Destructive | 5.75:1 | AA |
| Text on background | 20.54:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.60:1 | AAA |
| Secondary button | 6.46:1 | AA |
| Muted text | 6.23:1 | AA |
| Accent | 7.51:1 | AAA |
| Destructive | 6.53:1 | AA |
Paste this into your globals.css to use Antique in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 353.656);
--foreground: oklch(0.144 0.04 357.468);
--muted: oklch(0.94 0.019 134.331);
--muted-foreground: oklch(0.517 0.014 134.375);
--popover: oklch(0.991 0.003 353.656);
--popover-foreground: oklch(0.144 0.04 357.468);
--card: oklch(0.991 0.003 353.656);
--card-foreground: oklch(0.144 0.04 357.468);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.392 0.08 359.217);
--primary-foreground: oklch(0.912 0.021 354.234);
--secondary: oklch(0.474 0.09 135.625);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.389 0.064 262.17);
--accent-foreground: oklch(0.914 0.017 263.012);
--destructive: oklch(0.533 0.198 32.545);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.392 0.08 359.217);
--chart-1: oklch(0.392 0.08 359.217);
--chart-2: oklch(0.474 0.09 135.625);
--chart-3: oklch(0.389 0.064 262.17);
--chart-4: oklch(0.507 0.097 135.648);
--chart-5: oklch(0.392 0.086 359.751);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.106 0.018 353.216);
--foreground: oklch(1 0 180);
--muted: oklch(0.219 0.026 134.975);
--muted-foreground: oklch(0.689 0.013 134.328);
--popover: oklch(0.106 0.018 353.216);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.106 0.018 353.216);
--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.392 0.08 359.217);
--primary-foreground: oklch(0.912 0.021 354.234);
--secondary: oklch(0.474 0.09 135.625);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.389 0.064 262.17);
--accent-foreground: oklch(0.914 0.017 263.012);
--destructive: oklch(0.675 0.21 34.015);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.392 0.08 359.217);
--chart-1: oklch(0.392 0.08 359.217);
--chart-2: oklch(0.474 0.09 135.625);
--chart-3: oklch(0.389 0.064 262.17);
--chart-4: oklch(0.507 0.097 135.648);
--chart-5: oklch(0.392 0.086 359.751);
}