Armament is a shadcn/ui theme built around a light green primary color (#bde4aa) with light pink accents (#e4aabd). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the light green primary (#bde4aa) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fcf8mintcream | #000000black |
| Foreground | #040802black | #ffffffwhite |
| Card | #f7faf5whitesmoke | #030303black |
| Card foreground | #020401black | #ffffffwhite |
| Popover | #f9fcf8mintcream | #000000black |
| Popover foreground | #040802black | #ffffffwhite |
| Primary | #bde4aasilver | #bde4aasilver |
| Primary foreground | #264516darkgreen | #264516darkgreen |
| Secondary | #aabde4lightsteelblue | #aabde4lightsteelblue |
| Secondary foreground | #162645midnightblue | #162645midnightblue |
| Muted | #e4e5e7gainsboro | #18191bblack |
| Muted foreground | #59606edimgray | #9198a6darkgray |
| Accent | #e4aabdlightpink | #e4aabdlightpink |
| Accent foreground | #451626maroon | #451626maroon |
| Destructive | #8d2907saddlebrown | #f56738tomato |
| Destructive foreground | #fcd6cabisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bde4aasilver | #bde4aasilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.47:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 7.60:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 5.01:1 | AA |
| Accent | 7.73:1 | AAA |
| Destructive | 6.39:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.60:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 7.73:1 | AAA |
| Destructive | 6.88:1 | AA |
Paste this into your globals.css to use Armament in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 134.851);
--foreground: oklch(0.125 0.02 133.27);
--muted: oklch(0.922 0.002 264.543);
--muted-foreground: oklch(0.487 0.025 264.309);
--popover: oklch(0.987 0.005 134.851);
--popover-foreground: oklch(0.125 0.02 133.27);
--card: oklch(0.981 0.007 134.864);
--card-foreground: oklch(0.099 0.016 133.27);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.876 0.087 135.364);
--primary-foreground: oklch(0.355 0.082 136.609);
--secondary: oklch(0.798 0.058 264.166);
--secondary-foreground: oklch(0.273 0.062 262.892);
--accent: oklch(0.797 0.071 357.044);
--accent-foreground: oklch(0.281 0.074 2.323);
--destructive: oklch(0.432 0.14 36.421);
--destructive-foreground: oklch(0.906 0.046 39.283);
--ring: oklch(0.876 0.087 135.364);
--chart-1: oklch(0.876 0.087 135.364);
--chart-2: oklch(0.798 0.058 264.166);
--chart-3: oklch(0.797 0.071 357.044);
--chart-4: oklch(0.826 0.05 264.253);
--chart-5: oklch(0.878 0.091 135.397);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.214 0.004 264.492);
--muted-foreground: oklch(0.678 0.023 264.41);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.876 0.087 135.364);
--primary-foreground: oklch(0.355 0.082 136.609);
--secondary: oklch(0.798 0.058 264.166);
--secondary-foreground: oklch(0.273 0.062 262.892);
--accent: oklch(0.797 0.071 357.044);
--accent-foreground: oklch(0.281 0.074 2.323);
--destructive: oklch(0.685 0.184 38.285);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.876 0.087 135.364);
--chart-1: oklch(0.876 0.087 135.364);
--chart-2: oklch(0.798 0.058 264.166);
--chart-3: oklch(0.797 0.071 357.044);
--chart-4: oklch(0.826 0.05 264.253);
--chart-5: oklch(0.878 0.091 135.397);
}