Swagger Anteater is a shadcn/ui theme built around a vivid teal primary color (#0cb6b6) with muted light teal accents (#e0e6e6). The light mode uses a neutral background (#f6fdfd). Dark mode keeps the vivid teal primary (#0cb6b6) on a teal-tinted background (#050b0b).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdfdmintcream | #050b0bblack |
| Foreground | #020909black | #fcfdfdwhite |
| Card | #f2fcfcazure | #060e0eblack |
| Card foreground | #010404black | #ffffffwhite |
| Popover | #f2fcfcazure | #060e0eblack |
| Popover foreground | #010404black | #ffffffwhite |
| Primary | #0cb6b6lightseagreen | #0cb6b6lightseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #e0e6e6gainsboro | #222626darkslategray |
| Secondary foreground | #415353darkslategray | #b9c1c1silver |
| Muted | #dbebeblavender | #142424black |
| Muted foreground | #515858dimgray | #a7aeaedarkgray |
| Accent | #e0e6e6gainsboro | #222626darkslategray |
| Accent foreground | #415353darkslategray | #b9c1c1silver |
| Destructive | #8d3002saddlebrown | #e24e03orangered |
| Destructive foreground | #fed7c3peachpuff | #ffffffwhite |
| Border | #edeeeewhitesmoke | #1b1d1dblack |
| Input | #edeeeewhitesmoke | #1b1d1dblack |
| Ring | #0cb6b6lightseagreen | #0cb6b6lightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.55:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 8.39:1 | AAA |
| Secondary button | 6.43:1 | AA |
| Muted text | 5.92:1 | AA |
| Accent | 6.43:1 | AA |
| Destructive | 6.15:1 | AA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 8.39:1 | AAA |
| Secondary button | 8.36:1 | AAA |
| Muted text | 7.10:1 | AAA |
| Accent | 8.36:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Swagger Anteater in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.007 197.04);
--foreground: oklch(0.128 0.017 195.27);
--muted: oklch(0.928 0.017 196.86);
--muted-foreground: oklch(0.453 0.009 196.855);
--popover: oklch(0.985 0.011 196.981);
--popover-foreground: oklch(0.101 0.013 195.27);
--card: oklch(0.985 0.011 196.981);
--card-foreground: oklch(0.101 0.013 195.27);
--border: oklch(0.947 0.001 197.145);
--input: oklch(0.947 0.001 197.145);
--primary: oklch(0.704 0.119 194.791);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.921 0.007 197.031);
--secondary-foreground: oklch(0.427 0.022 196.354);
--accent: oklch(0.921 0.007 197.031);
--accent-foreground: oklch(0.427 0.022 196.354);
--destructive: oklch(0.441 0.135 40.824);
--destructive-foreground: oklch(0.906 0.052 48.126);
--ring: oklch(0.704 0.119 194.791);
--chart-1: oklch(0.704 0.119 194.791);
--chart-2: oklch(0.921 0.007 197.031);
--chart-3: oklch(0.921 0.007 197.031);
--chart-4: oklch(0.943 0.005 197.068);
--chart-5: oklch(0.712 0.121 194.785);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.012 195.892);
--foreground: oklch(0.993 0.001 197.134);
--muted: oklch(0.247 0.022 195.825);
--muted-foreground: oklch(0.746 0.008 196.993);
--popover: oklch(0.157 0.014 195.855);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.157 0.014 195.855);
--card-foreground: oklch(1 0 180);
--border: oklch(0.228 0.002 197.037);
--input: oklch(0.228 0.002 197.037);
--primary: oklch(0.704 0.119 194.791);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.264 0.006 196.783);
--secondary-foreground: oklch(0.804 0.009 196.981);
--accent: oklch(0.264 0.006 196.783);
--accent-foreground: oklch(0.804 0.009 196.981);
--destructive: oklch(0.621 0.196 39.484);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.704 0.119 194.791);
--chart-1: oklch(0.704 0.119 194.791);
--chart-2: oklch(0.264 0.006 196.783);
--chart-3: oklch(0.264 0.006 196.783);
--chart-4: oklch(0.296 0.007 196.764);
--chart-5: oklch(0.712 0.121 194.785);
}