1984 - Fancy is a shadcn/ui theme built around a vivid blue primary color (#47bfff) with deep indigo accents (#1d216d). The light mode uses an indigo-tinted background (#0d0f30). Dark mode keeps the vivid blue primary (#47bfff) on an indigo-tinted background (#0d0f30).
| Token | Light | Dark |
|---|---|---|
| Background | #0d0f30black | #0d0f30black |
| Foreground | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Card | #0b0c28black | #0b0c28black |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #0a0b24black | #0a0b24black |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #47bfffmediumturquoise | #47bfffmediumturquoise |
| Primary foreground | #000d14black | #000d14black |
| Secondary | #2d4553darkslategray | #2d4553darkslategray |
| Secondary foreground | #cddce4gainsboro | #cddce4gainsboro |
| Muted | #24242edarkslategray | #24242edarkslategray |
| Muted foreground | #9e9fb3darkgray | #9e9fb3darkgray |
| Accent | #1d216dmidnightblue | #1d216dmidnightblue |
| Accent foreground | #cbcdf1gainsboro | #cbcdf1gainsboro |
| Destructive | #d42616firebrick | #d42616firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #171940midnightblue | #171940midnightblue |
| Input | #1b1d4bmidnightblue | #1b1d4bmidnightblue |
| Ring | #47bfffmediumturquoise | #47bfffmediumturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.65:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 9.50:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 5.88:1 | AA |
| Accent | 9.09:1 | AAA |
| Destructive | 5.12:1 | AA |
| Text on background | 16.65:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 9.50:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 5.88:1 | AA |
| Accent | 9.09:1 | AAA |
| Destructive | 5.12:1 | AA |
Paste this into your globals.css to use 1984 - Fancy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.19 0.066 275.858);
--foreground: oklch(0.962 0 180);
--muted: oklch(0.265 0.017 282.777);
--muted-foreground: oklch(0.708 0.029 283.245);
--popover: oklch(0.166 0.052 276.933);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.174 0.056 276.537);
--card-foreground: oklch(1 0 180);
--border: oklch(0.236 0.074 276.862);
--input: oklch(0.259 0.085 276.472);
--primary: oklch(0.764 0.139 236.52);
--primary-foreground: oklch(0.149 0.029 227.053);
--secondary: oklch(0.378 0.038 232.669);
--secondary-foreground: oklch(0.886 0.02 230.974);
--accent: oklch(0.301 0.129 273.301);
--accent-foreground: oklch(0.857 0.051 282.894);
--destructive: oklch(0.562 0.21 30.05);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.764 0.139 236.52);
--chart-1: oklch(0.764 0.139 236.52);
--chart-2: oklch(0.378 0.038 232.669);
--chart-3: oklch(0.301 0.129 273.301);
--chart-4: oklch(0.407 0.042 232.722);
--chart-5: oklch(0.767 0.142 236.789);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.19 0.066 275.858);
--foreground: oklch(0.962 0 180);
--muted: oklch(0.265 0.017 282.777);
--muted-foreground: oklch(0.708 0.029 283.245);
--popover: oklch(0.166 0.052 276.933);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.174 0.056 276.537);
--card-foreground: oklch(1 0 180);
--border: oklch(0.236 0.074 276.862);
--input: oklch(0.259 0.085 276.472);
--primary: oklch(0.764 0.139 236.52);
--primary-foreground: oklch(0.149 0.029 227.053);
--secondary: oklch(0.378 0.038 232.669);
--secondary-foreground: oklch(0.886 0.02 230.974);
--accent: oklch(0.301 0.129 273.301);
--accent-foreground: oklch(0.857 0.051 282.894);
--destructive: oklch(0.562 0.21 30.05);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.764 0.139 236.52);
--chart-1: oklch(0.764 0.139 236.52);
--chart-2: oklch(0.378 0.038 232.669);
--chart-3: oklch(0.301 0.129 273.301);
--chart-4: oklch(0.407 0.042 232.722);
--chart-5: oklch(0.767 0.142 236.789);
}