Inconsequential is a shadcn/ui theme built around a vivid purple primary color (#ea5dce) with muted light purple accents (#cfb5ca). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the vivid purple primary (#ea5dce) on a purple-tinted background (#0a0509).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0a0509black |
| Foreground | #12020fblack | #fdfcfdwhite |
| Card | #fcf8fbsnow | #0d070cblack |
| Card foreground | #0e020bblack | #ffffffwhite |
| Popover | #fdfcfdwhite | #0a0509black |
| Popover foreground | #12020fblack | #fdfcfdwhite |
| Primary | #ea5dceorchid | #ea5dceorchid |
| Primary foreground | #12020fblack | #12020fblack |
| Secondary | #d7cbd5lightgrey | #322430darkslategray |
| Secondary foreground | #3f313cdarkslategray | #cebbcathistle |
| Muted | #e7dae4gainsboro | #251822black |
| Muted foreground | #6c606adimgray | #9f939ddarkgray |
| Accent | #cfb5cathistle | #482d43darkslategray |
| Accent foreground | #31202edarkslategray | #decadathistle |
| Destructive | #b9300efirebrick | #f05933tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ea5dceorchid | #ea5dceorchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.66:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 4.41:1 | AA Large |
| Accent | 8.06:1 | AAA |
| Destructive | 6.01:1 | AA |
| Text on background | 19.73:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 5.77:1 | AA |
| Accent | 7.81:1 | AAA |
| Destructive | 6.16:1 | AA |
Paste this into your globals.css to use Inconsequential in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 332.045);
--foreground: oklch(0.134 0.045 334.931);
--muted: oklch(0.902 0.02 332.325);
--muted-foreground: oklch(0.504 0.022 332.629);
--popover: oklch(0.992 0.003 332.045);
--popover-foreground: oklch(0.134 0.045 334.931);
--card: oklch(0.983 0.005 332.086);
--card-foreground: oklch(0.12 0.039 334.019);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.695 0.214 336.277);
--primary-foreground: oklch(0.135 0.044 334.865);
--secondary: oklch(0.855 0.018 332.323);
--secondary-foreground: oklch(0.333 0.029 333.222);
--accent: oklch(0.801 0.04 332.735);
--accent-foreground: oklch(0.271 0.035 333.811);
--destructive: oklch(0.52 0.178 34);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.695 0.214 336.277);
--chart-1: oklch(0.695 0.214 336.277);
--chart-2: oklch(0.855 0.018 332.323);
--chart-3: oklch(0.801 0.04 332.735);
--chart-4: oklch(0.88 0.015 332.261);
--chart-5: oklch(0.696 0.221 336.42);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.014 332.502);
--foreground: oklch(0.992 0.002 332.034);
--muted: oklch(0.231 0.027 333.674);
--muted-foreground: oklch(0.677 0.02 332.44);
--popover: oklch(0.128 0.014 332.502);
--popover-foreground: oklch(0.992 0.002 332.034);
--card: oklch(0.141 0.016 333.239);
--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.695 0.214 336.277);
--primary-foreground: oklch(0.135 0.044 334.865);
--secondary: oklch(0.283 0.028 333.414);
--secondary-foreground: oklch(0.812 0.029 332.533);
--accent: oklch(0.339 0.052 334.133);
--accent-foreground: oklch(0.859 0.031 332.528);
--destructive: oklch(0.658 0.193 35.031);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.695 0.214 336.277);
--chart-1: oklch(0.695 0.214 336.277);
--chart-2: oklch(0.283 0.028 333.414);
--chart-3: oklch(0.339 0.052 334.133);
--chart-4: oklch(0.312 0.032 333.466);
--chart-5: oklch(0.696 0.221 336.42);
}