Initial is a shadcn/ui theme built around a muted red primary color (#835e5d) with muted light red accents (#ede8e8). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted red primary (#835e5d) on a neutral background (#040202).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040202black |
| Foreground | #0c0303black | #ffffffwhite |
| Card | #ffffffwhite | #040202black |
| Card foreground | #0c0303black | #ffffffwhite |
| Popover | #ffffffwhite | #040202black |
| Popover foreground | #0c0303black | #ffffffwhite |
| Primary | #835e5ddimgray | #835e5ddimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ede8e8linen | #231f1fblack |
| Secondary foreground | #5c4747darkolivegreen | #bfb5b5silver |
| Muted | #eddedegainsboro | #211212black |
| Muted foreground | #666160dimgray | #9f9999darkgray |
| Accent | #ede8e8linen | #231f1fblack |
| Accent foreground | #5c4747darkolivegreen | #bfb5b5silver |
| Destructive | #972c11saddlebrown | #e74e27chocolate |
| Destructive foreground | #fbe5dfmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #835e5ddimgray | #835e5ddimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.38:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 5.64:1 | AA |
| Secondary button | 7.07:1 | AAA |
| Muted text | 4.68:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 6.46:1 | AA |
| Text on background | 20.74:1 | AAA |
| Text on card | 20.74:1 | AAA |
| Primary button | 5.64:1 | AA |
| Secondary button | 8.14:1 | AAA |
| Muted text | 6.44:1 | AA |
| Accent | 8.14:1 | AAA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Initial in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.118 0.022 22.621);
--muted: oklch(0.913 0.016 18.633);
--muted-foreground: oklch(0.496 0.007 18.595);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.118 0.022 22.621);
--card: oklch(1 0 180);
--card-foreground: oklch(0.118 0.022 22.621);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.52 0.049 19.988);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.935 0.006 18.454);
--secondary-foreground: oklch(0.421 0.029 19.487);
--accent: oklch(0.935 0.006 18.454);
--accent-foreground: oklch(0.421 0.029 19.487);
--destructive: oklch(0.455 0.148 34.541);
--destructive-foreground: oklch(0.938 0.026 34.3);
--ring: oklch(0.52 0.049 19.988);
--chart-1: oklch(0.52 0.049 19.988);
--chart-2: oklch(0.935 0.006 18.454);
--chart-3: oklch(0.935 0.006 18.454);
--chart-4: oklch(0.96 0.004 18.418);
--chart-5: oklch(0.517 0.059 20.348);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.009 20.631);
--foreground: oklch(1 0 180);
--muted: oklch(0.204 0.024 20.479);
--muted-foreground: oklch(0.687 0.007 18.516);
--popover: oklch(0.086 0.009 20.631);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.086 0.009 20.631);
--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.52 0.049 19.988);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.244 0.007 18.815);
--secondary-foreground: oklch(0.782 0.011 18.575);
--accent: oklch(0.244 0.007 18.815);
--accent-foreground: oklch(0.782 0.011 18.575);
--destructive: oklch(0.631 0.196 34.804);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.52 0.049 19.988);
--chart-1: oklch(0.52 0.049 19.988);
--chart-2: oklch(0.244 0.007 18.815);
--chart-3: oklch(0.244 0.007 18.815);
--chart-4: oklch(0.275 0.008 18.844);
--chart-5: oklch(0.517 0.059 20.348);
}