Noctis Lux is a shadcn/ui theme built around a vivid cyan primary color (#0099ad) with vivid light yellow accents (#fadda3). The light mode uses a yellow-tinted background (#fef8ec). Dark mode keeps the vivid cyan primary (#0099ad) on a yellow-tinted background (#fef8ec).
| Token | Light | Dark |
|---|---|---|
| Background | #fef8ecseashell | #fef8ecseashell |
| Foreground | #005661darkslategray | #005661darkslategray |
| Card | #fdf4e2oldlace | #fdf4e2oldlace |
| Card foreground | #003f47darkslategray | #003f47darkslategray |
| Popover | #fdf3ddcornsilk | #fdf3ddcornsilk |
| Popover foreground | #00292eblack | #00292eblack |
| Primary | #0099addarkcyan | #0099addarkcyan |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #acced2lightsteelblue | #acced2lightsteelblue |
| Secondary foreground | #1b2f32darkslategray | #1b2f32darkslategray |
| Muted | #e9e7e2gainsboro | #e9e7e2gainsboro |
| Muted foreground | #565043darkolivegreen | #565043darkolivegreen |
| Accent | #fadda3navajowhite | #fadda3navajowhite |
| Accent foreground | #664605saddlebrown | #664605saddlebrown |
| Destructive | #b02411firebrick | #b02411firebrick |
| Destructive foreground | #fef7f6snow | #fef7f6snow |
| Border | #faeed6antiquewhite | #faeed6antiquewhite |
| Input | #f9e9c8blanchedalmond | #f9e9c8blanchedalmond |
| Ring | #0099addarkcyan | #0099addarkcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 7.92:1 | AAA |
| Text on card | 10.69:1 | AAA |
| Primary button | 3.40:1 | AA Large |
| Secondary button | 8.34:1 | AAA |
| Muted text | 6.45:1 | AA |
| Accent | 6.52:1 | AA |
| Destructive | 6.37:1 | AA |
| Text on background | 7.92:1 | AAA |
| Text on card | 10.69:1 | AAA |
| Primary button | 3.40:1 | AA Large |
| Secondary button | 8.34:1 | AAA |
| Muted text | 6.45:1 | AA |
| Accent | 6.52:1 | AA |
| Destructive | 6.37:1 | AA |
Paste this into your globals.css to use Noctis Lux in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.017 84.587);
--foreground: oklch(0.414 0.072 210.13);
--muted: oklch(0.927 0.006 84.567);
--muted-foreground: oklch(0.432 0.021 84.565);
--popover: oklch(0.965 0.03 84.593);
--popover-foreground: oklch(0.255 0.044 208.123);
--card: oklch(0.97 0.026 84.593);
--card-foreground: oklch(0.337 0.058 209.424);
--border: oklch(0.953 0.035 84.589);
--input: oklch(0.937 0.046 84.564);
--primary: oklch(0.627 0.109 211.1);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.828 0.036 206.262);
--secondary-foreground: oklch(0.289 0.027 206.391);
--accent: oklch(0.908 0.081 84.299);
--accent-foreground: oklch(0.418 0.085 77.582);
--destructive: oklch(0.494 0.179 31.034);
--destructive-foreground: oklch(0.981 0.008 26.495);
--ring: oklch(0.627 0.109 211.1);
--chart-1: oklch(0.627 0.109 211.1);
--chart-2: oklch(0.828 0.036 206.262);
--chart-3: oklch(0.908 0.081 84.299);
--chart-4: oklch(0.849 0.032 206.274);
--chart-5: oklch(0.633 0.11 211.322);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.98 0.017 84.587);
--foreground: oklch(0.414 0.072 210.13);
--muted: oklch(0.927 0.006 84.567);
--muted-foreground: oklch(0.432 0.021 84.565);
--popover: oklch(0.965 0.03 84.593);
--popover-foreground: oklch(0.255 0.044 208.123);
--card: oklch(0.97 0.026 84.593);
--card-foreground: oklch(0.337 0.058 209.424);
--border: oklch(0.953 0.035 84.589);
--input: oklch(0.937 0.046 84.564);
--primary: oklch(0.627 0.109 211.1);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.828 0.036 206.262);
--secondary-foreground: oklch(0.289 0.027 206.391);
--accent: oklch(0.908 0.081 84.299);
--accent-foreground: oklch(0.418 0.085 77.582);
--destructive: oklch(0.494 0.179 31.034);
--destructive-foreground: oklch(0.981 0.008 26.495);
--ring: oklch(0.627 0.109 211.1);
--chart-1: oklch(0.627 0.109 211.1);
--chart-2: oklch(0.828 0.036 206.262);
--chart-3: oklch(0.908 0.081 84.299);
--chart-4: oklch(0.849 0.032 206.274);
--chart-5: oklch(0.633 0.11 211.322);
}