Siege is a shadcn/ui theme built around a near-white primary color (#ffffff) with near-white accents (#ffffff). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-white primary (#ffffff) on a neutral background (#080202).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080202black |
| Foreground | #0d0202black | #f8f6f6whitesmoke |
| Card | #fcfcfcsnow | #0c0303black |
| Card foreground | #090101black | #fbf9f9snow |
| Popover | #ffffffwhite | #080202black |
| Popover foreground | #0d0202black | #f8f6f6whitesmoke |
| Primary | #ffffffwhite | #ffffffwhite |
| Primary foreground | #333333darkslategray | #333333darkslategray |
| Secondary | #ffffffwhite | #ffffffwhite |
| Secondary foreground | #333333darkslategray | #333333darkslategray |
| Muted | #eee2e2mistyrose | #1d1111black |
| Muted foreground | #454545darkslategray | #bababasilver |
| Accent | #ffffffwhite | #ffffffwhite |
| Accent foreground | #333333darkslategray | #333333darkslategray |
| Destructive | #900604darkred | #e00906red |
| Destructive foreground | #fec9c8pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ffffffwhite | #ffffffwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.45:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 12.63:1 | AAA |
| Muted text | 7.58:1 | AAA |
| Accent | 12.63:1 | AAA |
| Destructive | 6.49:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 12.63:1 | AAA |
| Muted text | 9.49:1 | AAA |
| Accent | 12.63:1 | AAA |
| Destructive | 4.99:1 | AA |
Paste this into your globals.css to use Siege in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.114 0.03 23.022);
--muted: oklch(0.923 0.013 17.393);
--muted-foreground: oklch(0.39 0 165.964);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.114 0.03 23.022);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.099 0.026 22.938);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(1 0 180);
--secondary-foreground: oklch(0.321 0 180);
--accent: oklch(1 0 180);
--accent-foreground: oklch(0.321 0 180);
--destructive: oklch(0.413 0.166 29.168);
--destructive-foreground: oklch(0.882 0.06 19.482);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(1 0 180);
--chart-3: oklch(1 0 180);
--chart-4: oklch(1.023 0 180);
--chart-5: oklch(1 0 180);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.019 20.998);
--foreground: oklch(0.976 0.002 17.194);
--muted: oklch(0.194 0.02 19.062);
--muted-foreground: oklch(0.789 0 171.254);
--popover: oklch(0.103 0.019 20.998);
--popover-foreground: oklch(0.976 0.002 17.194);
--card: oklch(0.118 0.022 21.037);
--card-foreground: oklch(0.984 0.001 17.182);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(1 0 180);
--secondary-foreground: oklch(0.321 0 180);
--accent: oklch(1 0 180);
--accent-foreground: oklch(0.321 0 180);
--destructive: oklch(0.571 0.231 29.193);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(1 0 180);
--chart-3: oklch(1 0 180);
--chart-4: oklch(1.023 0 180);
--chart-5: oklch(1 0 180);
}