Inconsequential is a shadcn/ui theme built around a deep indigo primary color (#090920) with muted light indigo accents (#e3e2e9). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the deep indigo primary (#090920) on an indigo-tinted background (#07070e).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #07070eblack |
| Foreground | #020209black | #fbfbfdghostwhite |
| Card | #f7f7fdghostwhite | #090911black |
| Card foreground | #010104black | #ffffffwhite |
| Popover | #fbfbfeghostwhite | #07070eblack |
| Popover foreground | #020209black | #fbfbfdghostwhite |
| Primary | #090920black | #090920black |
| Primary foreground | #d0cff2gainsboro | #d0cff2gainsboro |
| Secondary | #e3e2e9gainsboro | #282834darkslategray |
| Secondary foreground | #444356darkslategray | #c0c0cesilver |
| Muted | #dad9ecgainsboro | #131326black |
| Muted foreground | #54536edimgray | #9191aclightslategray |
| Accent | #e3e2e9gainsboro | #282834darkslategray |
| Accent foreground | #444356darkslategray | #c0c0cesilver |
| Destructive | #b3320ffirebrick | #ec4618orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #090920black | #090920black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.00:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 12.97:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 5.33:1 | AA |
| Accent | 7.48:1 | AAA |
| Destructive | 6.19:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 12.97:1 | AAA |
| Secondary button | 8.09:1 | AAA |
| Muted text | 5.98:1 | AA |
| Accent | 8.09:1 | AAA |
| Destructive | 3.84:1 | AA Large |
Paste this into your globals.css to use Inconsequential in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 287.092);
--foreground: oklch(0.088 0.027 280.614);
--muted: oklch(0.893 0.026 286.627);
--muted-foreground: oklch(0.455 0.044 285.274);
--popover: oklch(0.989 0.004 287.092);
--popover-foreground: oklch(0.088 0.027 280.614);
--card: oklch(0.977 0.008 287.012);
--card-foreground: oklch(0.07 0.022 280.614);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.156 0.048 280.078);
--primary-foreground: oklch(0.866 0.048 286.116);
--secondary: oklch(0.916 0.008 287.004);
--secondary-foreground: oklch(0.392 0.031 285.646);
--accent: oklch(0.916 0.008 287.004);
--accent-foreground: oklch(0.392 0.031 285.646);
--destructive: oklch(0.512 0.171 34.866);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.156 0.048 280.078);
--chart-1: oklch(0.156 0.048 280.078);
--chart-2: oklch(0.916 0.008 287.004);
--chart-3: oklch(0.916 0.008 287.004);
--chart-4: oklch(0.941 0.006 287.058);
--chart-5: oklch(0.154 0.05 279.521);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.132 0.016 284.938);
--foreground: oklch(0.99 0.003 287.12);
--muted: oklch(0.196 0.038 283.077);
--muted-foreground: oklch(0.665 0.04 286.025);
--popover: oklch(0.132 0.016 284.938);
--popover-foreground: oklch(0.99 0.003 287.12);
--card: oklch(0.142 0.018 284.641);
--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.156 0.048 280.078);
--primary-foreground: oklch(0.866 0.048 286.116);
--secondary: oklch(0.282 0.022 285.678);
--secondary-foreground: oklch(0.811 0.02 286.704);
--accent: oklch(0.282 0.022 285.678);
--accent-foreground: oklch(0.811 0.02 286.704);
--destructive: oklch(0.63 0.21 34.919);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.156 0.048 280.078);
--chart-1: oklch(0.156 0.048 280.078);
--chart-2: oklch(0.282 0.022 285.678);
--chart-3: oklch(0.282 0.022 285.678);
--chart-4: oklch(0.31 0.025 285.618);
--chart-5: oklch(0.154 0.05 279.521);
}