1984 - Light is a shadcn/ui theme built around a deep indigo primary color (#19162d) with light indigo accents (#adb1e1). The light mode uses an indigo-tinted background (#e5e6f5). Dark mode keeps the deep indigo primary (#19162d) on an indigo-tinted background (#e5e6f5).
| Token | Light | Dark |
|---|---|---|
| Background | #e5e6f5lavender | #e5e6f5lavender |
| Foreground | #19162dblack | #19162dblack |
| Card | #dddff3lavender | #dddff3lavender |
| Card foreground | #100d1cblack | #100d1cblack |
| Popover | #dadbf1lavender | #dadbf1lavender |
| Popover foreground | #06050ablack | #06050ablack |
| Primary | #19162dblack | #19162dblack |
| Primary foreground | #aaa2d2lightsteelblue | #aaa2d2lightsteelblue |
| Secondary | #b5afcfsilver | #b5afcfsilver |
| Secondary foreground | #201d30darkslategray | #201d30darkslategray |
| Muted | #e0e0e6gainsboro | #e0e0e6gainsboro |
| Muted foreground | #414253darkslategray | #414253darkslategray |
| Accent | #adb1e1lightsteelblue | #adb1e1lightsteelblue |
| Accent foreground | #191c43midnightblue | #191c43midnightblue |
| Destructive | #90150edarkred | #90150edarkred |
| Destructive foreground | #fbd7d5mistyrose | #fbd7d5mistyrose |
| Border | #d5d7ebgainsboro | #d5d7ebgainsboro |
| Input | #cbcde7lightgrey | #cbcde7lightgrey |
| Ring | #19162dblack | #19162dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 14.21:1 | AAA |
| Text on card | 14.52:1 | AAA |
| Primary button | 7.39:1 | AAA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 7.50:1 | AAA |
| Accent | 7.85:1 | AAA |
| Destructive | 6.87:1 | AA |
| Text on background | 14.21:1 | AAA |
| Text on card | 14.52:1 | AAA |
| Primary button | 7.39:1 | AAA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 7.50:1 | AAA |
| Accent | 7.85:1 | AAA |
| Destructive | 6.87:1 | AA |
Paste this into your globals.css to use 1984 - Light in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.929 0.021 282.721);
--foreground: oklch(0.216 0.045 289.76);
--muted: oklch(0.908 0.009 282.947);
--muted-foreground: oklch(0.386 0.028 281.781);
--popover: oklch(0.898 0.03 282.524);
--popover-foreground: oklch(0.12 0.014 293.264);
--card: oklch(0.908 0.027 282.592);
--card-foreground: oklch(0.171 0.029 290.597);
--border: oklch(0.884 0.028 282.549);
--input: oklch(0.854 0.036 282.371);
--primary: oklch(0.216 0.045 289.76);
--primary-foreground: oklch(0.736 0.069 292.245);
--secondary: oklch(0.77 0.045 292.946);
--secondary-foreground: oklch(0.243 0.036 291.093);
--accent: oklch(0.773 0.069 281.463);
--accent-foreground: oklch(0.247 0.073 276.547);
--destructive: oklch(0.42 0.158 29.092);
--destructive-foreground: oklch(0.909 0.04 21.491);
--ring: oklch(0.216 0.045 289.76);
--chart-1: oklch(0.216 0.045 289.76);
--chart-2: oklch(0.77 0.045 292.946);
--chart-3: oklch(0.773 0.069 281.463);
--chart-4: oklch(0.798 0.04 293.128);
--chart-5: oklch(0.213 0.049 289.272);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.929 0.021 282.721);
--foreground: oklch(0.216 0.045 289.76);
--muted: oklch(0.908 0.009 282.947);
--muted-foreground: oklch(0.386 0.028 281.781);
--popover: oklch(0.898 0.03 282.524);
--popover-foreground: oklch(0.12 0.014 293.264);
--card: oklch(0.908 0.027 282.592);
--card-foreground: oklch(0.171 0.029 290.597);
--border: oklch(0.884 0.028 282.549);
--input: oklch(0.854 0.036 282.371);
--primary: oklch(0.216 0.045 289.76);
--primary-foreground: oklch(0.736 0.069 292.245);
--secondary: oklch(0.77 0.045 292.946);
--secondary-foreground: oklch(0.243 0.036 291.093);
--accent: oklch(0.773 0.069 281.463);
--accent-foreground: oklch(0.247 0.073 276.547);
--destructive: oklch(0.42 0.158 29.092);
--destructive-foreground: oklch(0.909 0.04 21.491);
--ring: oklch(0.216 0.045 289.76);
--chart-1: oklch(0.216 0.045 289.76);
--chart-2: oklch(0.77 0.045 292.946);
--chart-3: oklch(0.773 0.069 281.463);
--chart-4: oklch(0.798 0.04 293.128);
--chart-5: oklch(0.213 0.049 289.272);
}