Belligerency is a shadcn/ui theme built around a teal primary color (#65e2c7) with yellow accents (#e2c765). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the teal primary (#65e2c7) on a neutral background (#020807).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfbmintcream | #020807black |
| Foreground | #030c0ablack | #f9fbfamintcream |
| Card | #f8fcfbmintcream | #020807black |
| Card foreground | #030c0ablack | #f9fbfamintcream |
| Popover | #f8fcfbmintcream | #020807black |
| Popover foreground | #030c0ablack | #f9fbfamintcream |
| Primary | #65e2c7mediumturquoise | #65e2c7mediumturquoise |
| Primary foreground | #03110eblack | #03110eblack |
| Secondary | #c765e2orchid | #c765e2orchid |
| Secondary foreground | #0e0311black | #0e0311black |
| Muted | #ebeaeclavender | #151315black |
| Muted foreground | #4d4d4ddarkslategray | #b3b3b3darkgray |
| Accent | #e2c765burlywood | #e2c765burlywood |
| Accent foreground | #110e03black | #110e03black |
| Destructive | #b0330cfirebrick | #f05728chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #65e2c7mediumturquoise | #65e2c7mediumturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.10:1 | AAA |
| Text on card | 19.10:1 | AAA |
| Primary button | 12.11:1 | AAA |
| Secondary button | 6.12:1 | AA |
| Muted text | 7.03:1 | AAA |
| Accent | 11.52:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 19.41:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 12.11:1 | AAA |
| Secondary button | 6.12:1 | AA |
| Muted text | 8.79:1 | AAA |
| Accent | 11.52:1 | AAA |
| Destructive | 3.44:1 | AA Large |
Paste this into your globals.css to use Belligerency in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 181.96);
--foreground: oklch(0.143 0.017 181.318);
--muted: oklch(0.938 0.003 318.889);
--muted-foreground: oklch(0.418 0 173.29);
--popover: oklch(0.987 0.004 181.96);
--popover-foreground: oklch(0.143 0.017 181.318);
--card: oklch(0.987 0.004 181.96);
--card-foreground: oklch(0.143 0.017 181.318);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.833 0.119 176.796);
--primary-foreground: oklch(0.163 0.023 179.196);
--secondary: oklch(0.669 0.199 318.498);
--secondary-foreground: oklch(0.132 0.039 319.836);
--accent: oklch(0.832 0.122 94.141);
--accent-foreground: oklch(0.164 0.024 96.619);
--destructive: oklch(0.507 0.168 35.515);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.833 0.119 176.796);
--chart-1: oklch(0.833 0.119 176.796);
--chart-2: oklch(0.669 0.199 318.498);
--chart-3: oklch(0.832 0.122 94.141);
--chart-4: oklch(0.694 0.184 318.604);
--chart-5: oklch(0.839 0.122 176.576);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.015 181.985);
--foreground: oklch(0.986 0.002 182.017);
--muted: oklch(0.191 0.005 318.882);
--muted-foreground: oklch(0.765 0 172.405);
--popover: oklch(0.125 0.015 181.985);
--popover-foreground: oklch(0.986 0.002 182.017);
--card: oklch(0.125 0.015 181.985);
--card-foreground: oklch(0.986 0.002 182.017);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.833 0.119 176.796);
--primary-foreground: oklch(0.163 0.023 179.196);
--secondary: oklch(0.669 0.199 318.498);
--secondary-foreground: oklch(0.132 0.039 319.836);
--accent: oklch(0.832 0.122 94.141);
--accent-foreground: oklch(0.164 0.024 96.619);
--destructive: oklch(0.656 0.197 36.636);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.833 0.119 176.796);
--chart-1: oklch(0.833 0.119 176.796);
--chart-2: oklch(0.669 0.199 318.498);
--chart-3: oklch(0.832 0.122 94.141);
--chart-4: oklch(0.694 0.184 318.604);
--chart-5: oklch(0.839 0.122 176.576);
}