Bronze is a shadcn/ui theme built around a light red primary color (#e8abac) with light teal accents (#abe8e7). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#e8abac) on a neutral background (#040202).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040202black |
| Foreground | #0e0202black | #ffffffwhite |
| Card | #ffffffwhite | #040202black |
| Card foreground | #0e0202black | #ffffffwhite |
| Popover | #ffffffwhite | #040202black |
| Popover foreground | #0e0202black | #ffffffwhite |
| Primary | #e8abaclightpink | #e8abaclightpink |
| Primary foreground | #4c1516maroon | #4c1516maroon |
| Secondary | #abe8e7powderblue | #abe8e7powderblue |
| Secondary foreground | #154c4bdarkslategray | #154c4bdarkslategray |
| Muted | #e6eaealavender | #151919black |
| Muted foreground | #606262dimgray | #9d9f9fdarkgray |
| Accent | #abe8e7powderblue | #abe8e7powderblue |
| Accent foreground | #154c4bdarkslategray | #154c4bdarkslategray |
| Destructive | #c02211firebrick | #eb2e19orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e8abaclightpink | #e8abaclightpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.42:1 | AAA |
| Text on card | 20.42:1 | AAA |
| Primary button | 7.60:1 | AAA |
| Secondary button | 7.11:1 | AAA |
| Muted text | 5.06:1 | AA |
| Accent | 7.11:1 | AAA |
| Destructive | 6.01:1 | AA |
| Text on background | 20.74:1 | AAA |
| Text on card | 20.74:1 | AAA |
| Primary button | 7.60:1 | AAA |
| Secondary button | 7.11:1 | AAA |
| Muted text | 6.67:1 | AA |
| Accent | 7.11:1 | AAA |
| Destructive | 4.25:1 | AA Large |
Paste this into your globals.css to use Bronze in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.113 0.032 21.77);
--muted: oklch(0.934 0.004 195.9);
--muted-foreground: oklch(0.494 0.002 195.888);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.113 0.032 21.77);
--card: oklch(1 0 180);
--card-foreground: oklch(0.113 0.032 21.77);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.798 0.072 17.685);
--primary-foreground: oklch(0.287 0.084 23.139);
--secondary: oklch(0.889 0.062 194.805);
--secondary-foreground: oklch(0.381 0.056 193.461);
--accent: oklch(0.889 0.062 194.805);
--accent-foreground: oklch(0.381 0.056 193.461);
--destructive: oklch(0.522 0.195 30.519);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.798 0.072 17.685);
--chart-1: oklch(0.798 0.072 17.685);
--chart-2: oklch(0.889 0.062 194.805);
--chart-3: oklch(0.889 0.062 194.805);
--chart-4: oklch(0.905 0.053 194.974);
--chart-5: oklch(0.797 0.076 17.792);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.009 17.72);
--foreground: oklch(1 0 180);
--muted: oklch(0.209 0.006 195.51);
--muted-foreground: oklch(0.701 0.002 195.918);
--popover: oklch(0.086 0.009 17.72);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.086 0.009 17.72);
--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.798 0.072 17.685);
--primary-foreground: oklch(0.287 0.084 23.139);
--secondary: oklch(0.889 0.062 194.805);
--secondary-foreground: oklch(0.381 0.056 193.461);
--accent: oklch(0.889 0.062 194.805);
--accent-foreground: oklch(0.381 0.056 193.461);
--destructive: oklch(0.608 0.225 30.519);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.798 0.072 17.685);
--chart-1: oklch(0.798 0.072 17.685);
--chart-2: oklch(0.889 0.062 194.805);
--chart-3: oklch(0.889 0.062 194.805);
--chart-4: oklch(0.905 0.053 194.974);
--chart-5: oklch(0.797 0.076 17.792);
}