Vague is a shadcn/ui theme built around a near-black primary color (#0f0007) with near-black accents (#0f0100). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#0f0007) on a pink-tinted background (#0f060a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f060ablack |
| Foreground | #120309black | #f9f6f7whitesmoke |
| Card | #ffffffwhite | #0f060ablack |
| Card foreground | #120309black | #f9f6f7whitesmoke |
| Popover | #ffffffwhite | #0f060ablack |
| Popover foreground | #120309black | #f9f6f7whitesmoke |
| Primary | #0f0007black | #0f0007black |
| Primary foreground | #fc4597hotpink | #fc4597hotpink |
| Secondary | #0f000eblack | #0f000eblack |
| Secondary foreground | #fc45f3orchid | #fc45f3orchid |
| Muted | #e7d9e7gainsboro | #261825black |
| Muted foreground | #585157dimgray | #aea7aedarkgray |
| Accent | #0f0100black | #0f0100black |
| Accent foreground | #fc4e45tomato | #fc4e45tomato |
| Destructive | #923201saddlebrown | #f25202orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0f0007black | #0f0007black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.14:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 6.28:1 | AA |
| Secondary button | 7.08:1 | AAA |
| Muted text | 5.68:1 | AA |
| Accent | 6.16:1 | AA |
| Destructive | 7.82:1 | AAA |
| Text on background | 18.65:1 | AAA |
| Text on card | 18.65:1 | AAA |
| Primary button | 6.28:1 | AA |
| Secondary button | 7.08:1 | AAA |
| Muted text | 7.23:1 | AAA |
| Accent | 6.16:1 | AA |
| Destructive | 3.49:1 | AA Large |
Paste this into your globals.css to use Vague in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.132 0.037 349.986);
--muted: oklch(0.902 0.024 327.277);
--muted-foreground: oklch(0.443 0.013 327.315);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.132 0.037 349.986);
--card: oklch(1 0 180);
--card-foreground: oklch(0.132 0.037 349.986);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.113 0.045 348.326);
--primary-foreground: oklch(0.678 0.227 357.847);
--secondary: oklch(0.119 0.052 329.795);
--secondary-foreground: oklch(0.717 0.278 330.225);
--accent: oklch(0.112 0.038 33.062);
--accent-foreground: oklch(0.669 0.212 27.44);
--destructive: oklch(0.453 0.139 40.588);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.113 0.045 348.326);
--chart-1: oklch(0.113 0.045 348.326);
--chart-2: oklch(0.119 0.052 329.795);
--chart-3: oklch(0.112 0.038 33.062);
--chart-4: oklch(0.165 0.073 330.295);
--chart-5: oklch(0.112 0.047 348.364);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.021 349.27);
--foreground: oklch(0.975 0.004 347.933);
--muted: oklch(0.231 0.033 328.262);
--muted-foreground: oklch(0.737 0.012 327.186);
--popover: oklch(0.137 0.021 349.27);
--popover-foreground: oklch(0.975 0.004 347.933);
--card: oklch(0.137 0.021 349.27);
--card-foreground: oklch(0.975 0.004 347.933);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.113 0.045 348.326);
--primary-foreground: oklch(0.678 0.227 357.847);
--secondary: oklch(0.119 0.052 329.795);
--secondary-foreground: oklch(0.717 0.278 330.225);
--accent: oklch(0.112 0.038 33.062);
--accent-foreground: oklch(0.669 0.212 27.44);
--destructive: oklch(0.653 0.207 39.191);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.113 0.045 348.326);
--chart-1: oklch(0.113 0.045 348.326);
--chart-2: oklch(0.119 0.052 329.795);
--chart-3: oklch(0.112 0.038 33.062);
--chart-4: oklch(0.165 0.073 330.295);
--chart-5: oklch(0.112 0.047 348.364);
}