Argument is a shadcn/ui theme built around a near-black primary color (#020401) with neutral gray accents (#d3d5d2). The light mode uses a neutral background (#fcfefb). Dark mode keeps the near-black primary (#020401) on a neutral background (#050703).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #050703black |
| Foreground | #0b1306black | #f7f9f6whitesmoke |
| Card | #fcfefbwhite | #050703black |
| Card foreground | #0b1306black | #f7f9f6whitesmoke |
| Popover | #fcfefbwhite | #050703black |
| Popover foreground | #0b1306black | #f7f9f6whitesmoke |
| Primary | #020401black | #020401black |
| Primary foreground | #54ad25olivedrab | #54ad25olivedrab |
| Secondary | #d3d5d2lightgrey | #232721black |
| Secondary foreground | #3a3c39darkslategray | #bbc2b7silver |
| Muted | #e4ecdfgainsboro | #182013black |
| Muted foreground | #545f4edarkolivegreen | #a6b1a0darkgray |
| Accent | #d3d5d2lightgrey | #232721black |
| Accent foreground | #3a3c39darkslategray | #bbc2b7silver |
| Destructive | #a23706saddlebrown | #f76522chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #020401black | #020401black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.62:1 | AAA |
| Text on card | 18.62:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 7.54:1 | AAA |
| Muted text | 5.54:1 | AA |
| Accent | 7.54:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 19.13:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 8.36:1 | AAA |
| Muted text | 7.53:1 | AAA |
| Accent | 8.36:1 | AAA |
| Destructive | 6.84:1 | AA |
Paste this into your globals.css to use Argument in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 134.241);
--foreground: oklch(0.175 0.03 134.638);
--muted: oklch(0.933 0.018 134.331);
--muted-foreground: oklch(0.472 0.031 134.601);
--popover: oklch(0.994 0.004 134.241);
--popover-foreground: oklch(0.175 0.03 134.638);
--card: oklch(0.994 0.004 134.241);
--card-foreground: oklch(0.175 0.03 134.638);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.101 0.019 132.436);
--primary-foreground: oklch(0.666 0.187 137.33);
--secondary: oklch(0.871 0.004 134.245);
--secondary-foreground: oklch(0.354 0.007 134.327);
--accent: oklch(0.871 0.004 134.245);
--accent-foreground: oklch(0.354 0.007 134.327);
--destructive: oklch(0.488 0.151 39.715);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.101 0.019 132.436);
--chart-1: oklch(0.101 0.019 132.436);
--chart-2: oklch(0.871 0.004 134.245);
--chart-3: oklch(0.871 0.004 134.245);
--chart-4: oklch(0.894 0.003 134.24);
--chart-5: oklch(0.101 0.02 132.361);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.012 133.276);
--foreground: oklch(0.98 0.005 134.248);
--muted: oklch(0.23 0.026 134.915);
--muted-foreground: oklch(0.746 0.027 134.43);
--popover: oklch(0.122 0.012 133.276);
--popover-foreground: oklch(0.98 0.005 134.248);
--card: oklch(0.122 0.012 133.276);
--card-foreground: oklch(0.98 0.005 134.248);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.101 0.019 132.436);
--primary-foreground: oklch(0.666 0.187 137.33);
--secondary: oklch(0.265 0.012 134.473);
--secondary-foreground: oklch(0.806 0.017 134.335);
--accent: oklch(0.265 0.012 134.473);
--accent-foreground: oklch(0.806 0.017 134.335);
--destructive: oklch(0.684 0.194 41.513);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.101 0.019 132.436);
--chart-1: oklch(0.101 0.019 132.436);
--chart-2: oklch(0.265 0.012 134.473);
--chart-3: oklch(0.265 0.012 134.473);
--chart-4: oklch(0.298 0.014 134.487);
--chart-5: oklch(0.101 0.02 132.361);
}