iForge is a shadcn/ui theme built around a red primary color (#ce5a4b) with cyan accents (#4bbece). The light mode uses a neutral background (#fefbfb). Dark mode keeps the red primary (#ce5a4b) on a neutral background (#080302).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #080302black |
| Foreground | #0d0402black | #faf9f9snow |
| Card | #fdf8f7snow | #0c0403black |
| Card foreground | #090202black | #fdfcfcsnow |
| Popover | #fdf8f7snow | #0c0403black |
| Popover foreground | #090202black | #fdfcfcsnow |
| Primary | #ce5a4bindianred | #ce5a4bindianred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #3badbflightseagreen | #4bbecemediumturquoise |
| Secondary foreground | #000000black | #000000black |
| Muted | #eef1f2whitesmoke | #0d1111black |
| Muted foreground | #666666dimgray | #a6b3b5darkgray |
| Accent | #4bbecemediumturquoise | #4bbecemediumturquoise |
| Accent foreground | #000000black | #000000black |
| Destructive | #d63600orangered | #e63900orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e9e7e7linen | #1e1b1ablack |
| Input | #e9e7e7linen | #1e1b1ablack |
| Ring | #ce5a4bindianred | #ce5a4bindianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.75:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 4.05:1 | AA Large |
| Secondary button | 7.91:1 | AAA |
| Muted text | 5.06:1 | AA |
| Accent | 9.58:1 | AAA |
| Destructive | 4.78:1 | AA |
| Text on background | 19.51:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 4.05:1 | AA Large |
| Secondary button | 9.58:1 | AAA |
| Muted text | 8.81:1 | AAA |
| Accent | 9.58:1 | AAA |
| Destructive | 4.25:1 | AA Large |
Paste this into your globals.css to use iForge in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 26.457);
--foreground: oklch(0.121 0.022 33.613);
--muted: oklch(0.956 0.004 206.417);
--muted-foreground: oklch(0.51 0 171.87);
--popover: oklch(0.982 0.005 26.474);
--popover-foreground: oklch(0.106 0.019 33.819);
--card: oklch(0.982 0.005 26.474);
--card-foreground: oklch(0.106 0.019 33.819);
--border: oklch(0.93 0.003 26.459);
--input: oklch(0.93 0.003 26.459);
--primary: oklch(0.611 0.15 29.671);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.692 0.103 210.028);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.744 0.104 207.351);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.576 0.203 34.802);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.611 0.15 29.671);
--chart-1: oklch(0.611 0.15 29.671);
--chart-2: oklch(0.692 0.103 210.028);
--chart-3: oklch(0.744 0.104 207.351);
--chart-4: oklch(0.713 0.102 209.738);
--chart-5: oklch(0.612 0.157 29.866);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.015 31.656);
--foreground: oklch(0.984 0.001 26.448);
--muted: oklch(0.173 0.006 206.287);
--muted-foreground: oklch(0.757 0.015 206.336);
--popover: oklch(0.124 0.017 31.556);
--popover-foreground: oklch(0.992 0.001 26.444);
--card: oklch(0.124 0.017 31.556);
--card-foreground: oklch(0.992 0.001 26.444);
--border: oklch(0.224 0.005 26.592);
--input: oklch(0.224 0.005 26.592);
--primary: oklch(0.611 0.15 29.671);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.744 0.104 207.351);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.744 0.104 207.351);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.606 0.214 34.668);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.611 0.15 29.671);
--chart-1: oklch(0.611 0.15 29.671);
--chart-2: oklch(0.744 0.104 207.351);
--chart-3: oklch(0.744 0.104 207.351);
--chart-4: oklch(0.759 0.1 207.061);
--chart-5: oklch(0.612 0.157 29.866);
}