Courageous Old Gungeon Red is a shadcn/ui theme built around a vivid blue primary color (#2463eb) with vivid yellow accents (#ebac24). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the vivid blue primary (#2463eb) on a neutral background (#040507).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #040507black |
| Foreground | #030917black | #ffffffwhite |
| Card | #f8f9fcghostwhite | #040507black |
| Card foreground | #030917black | #ffffffwhite |
| Popover | #f8f9fcghostwhite | #040507black |
| Popover foreground | #030917black | #ffffffwhite |
| Primary | #2463ebroyalblue | #2463ebroyalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ebac24goldenrod | #ebac24goldenrod |
| Secondary foreground | #3d2b06black | #3d2b06black |
| Muted | #f7f4eewhitesmoke | #110e08black |
| Muted foreground | #5f5a4fdimgray | #b0aba0darkgray |
| Accent | #ebac24goldenrod | #ebac24goldenrod |
| Accent foreground | #3d2b06black | #3d2b06black |
| Destructive | #a51512firebrick | #ea413etomato |
| Destructive foreground | #fdededlinen | #ffffffwhite |
| Border | #e2e4e9gainsboro | #21242cdarkslategray |
| Input | #e2e4e9gainsboro | #21242cdarkslategray |
| Ring | #2463ebroyalblue | #2463ebroyalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.89:1 | AAA |
| Text on card | 18.89:1 | AAA |
| Primary button | 5.19:1 | AA |
| Secondary button | 6.73:1 | AA |
| Muted text | 6.23:1 | AA |
| Accent | 6.73:1 | AA |
| Destructive | 6.80:1 | AA |
| Text on background | 20.44:1 | AAA |
| Text on card | 20.44:1 | AAA |
| Primary button | 5.19:1 | AA |
| Secondary button | 6.73:1 | AA |
| Muted text | 8.39:1 | AAA |
| Accent | 6.73:1 | AA |
| Destructive | 3.95:1 | AA Large |
Paste this into your globals.css to use Courageous Old Gungeon Red in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.004 265.986);
--foreground: oklch(0.141 0.033 258.384);
--muted: oklch(0.967 0.009 86.04);
--muted-foreground: oklch(0.467 0.018 86.095);
--popover: oklch(0.982 0.004 265.986);
--popover-foreground: oklch(0.141 0.033 258.384);
--card: oklch(0.982 0.004 265.986);
--card-foreground: oklch(0.141 0.033 258.384);
--border: oklch(0.919 0.008 265.969);
--input: oklch(0.919 0.008 265.969);
--primary: oklch(0.545 0.215 262.741);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.783 0.154 80.372);
--secondary-foreground: oklch(0.303 0.057 82.133);
--accent: oklch(0.783 0.154 80.372);
--accent-foreground: oklch(0.303 0.057 82.133);
--destructive: oklch(0.463 0.177 28.326);
--destructive-foreground: oklch(0.958 0.017 18.644);
--ring: oklch(0.545 0.215 262.741);
--chart-1: oklch(0.545 0.215 262.741);
--chart-2: oklch(0.783 0.154 80.372);
--chart-3: oklch(0.783 0.154 80.372);
--chart-4: oklch(0.795 0.15 81.696);
--chart-5: oklch(0.545 0.222 262.715);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.008 262.145);
--foreground: oklch(1 0 180);
--muted: oklch(0.167 0.013 86.28);
--muted-foreground: oklch(0.743 0.016 86.076);
--popover: oklch(0.111 0.008 262.145);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.111 0.008 262.145);
--card-foreground: oklch(1 0 180);
--border: oklch(0.261 0.016 265.629);
--input: oklch(0.261 0.016 265.629);
--primary: oklch(0.545 0.215 262.741);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.783 0.154 80.372);
--secondary-foreground: oklch(0.303 0.057 82.133);
--accent: oklch(0.783 0.154 80.372);
--accent-foreground: oklch(0.303 0.057 82.133);
--destructive: oklch(0.624 0.206 26.243);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.545 0.215 262.741);
--chart-1: oklch(0.545 0.215 262.741);
--chart-2: oklch(0.783 0.154 80.372);
--chart-3: oklch(0.783 0.154 80.372);
--chart-4: oklch(0.795 0.15 81.696);
--chart-5: oklch(0.545 0.222 262.715);
}