Noctis is a shadcn/ui theme built around a vivid cyan primary color (#169fb1) with vivid deep cyan accents (#0d626d). The light mode uses a cyan-tinted background (#052529). Dark mode keeps the vivid cyan primary (#169fb1) on a cyan-tinted background (#052529).
| Token | Light | Dark |
|---|---|---|
| Background | #052529black | #052529black |
| Foreground | #b2cacdlightsteelblue | #b2cacdlightsteelblue |
| Card | #041d20black | #041d20black |
| Card foreground | #c1d4d7lightgrey | #c1d4d7lightgrey |
| Popover | #03181bblack | #03181bblack |
| Popover foreground | #d1dfe1gainsboro | #d1dfe1gainsboro |
| Primary | #169fb1lightseagreen | #169fb1lightseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #acced2lightsteelblue | #acced2lightsteelblue |
| Secondary foreground | #1b2f32darkslategray | #1b2f32darkslategray |
| Muted | #222a2bdarkslategray | #222a2bdarkslategray |
| Muted foreground | #9baeb0darkgray | #9baeb0darkgray |
| Accent | #0d626dteal | #0d626dteal |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #eb4524orangered | #eb4524orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #0b363cdarkslategray | #0b363cdarkslategray |
| Input | #0e4249darkslategray | #0e4249darkslategray |
| Ring | #169fb1lightseagreen | #169fb1lightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 9.40:1 | AAA |
| Text on card | 11.41:1 | AAA |
| Primary button | 3.17:1 | AA Large |
| Secondary button | 8.34:1 | AAA |
| Muted text | 6.34:1 | AA |
| Accent | 7.05:1 | AAA |
| Destructive | 3.89:1 | AA Large |
| Text on background | 9.40:1 | AAA |
| Text on card | 11.41:1 | AAA |
| Primary button | 3.17:1 | AA Large |
| Secondary button | 8.34:1 | AAA |
| Muted text | 6.34:1 | AA |
| Accent | 7.05:1 | AAA |
| Destructive | 3.89:1 | AA Large |
Paste this into your globals.css to use Noctis in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.243 0.037 207.545);
--foreground: oklch(0.821 0.026 206.291);
--muted: oklch(0.277 0.012 206.266);
--muted-foreground: oklch(0.737 0.021 206.299);
--popover: oklch(0.195 0.028 206.492);
--popover-foreground: oklch(0.893 0.015 206.346);
--card: oklch(0.211 0.031 206.934);
--card-foreground: oklch(0.857 0.021 206.317);
--border: oklch(0.308 0.046 207.801);
--input: oklch(0.349 0.053 207.995);
--primary: oklch(0.645 0.108 209.454);
--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.455 0.075 209.008);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.627 0.208 33.067);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.645 0.108 209.454);
--chart-1: oklch(0.645 0.108 209.454);
--chart-2: oklch(0.828 0.036 206.262);
--chart-3: oklch(0.455 0.075 209.008);
--chart-4: oklch(0.849 0.032 206.274);
--chart-5: oklch(0.651 0.11 209.7);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.243 0.037 207.545);
--foreground: oklch(0.821 0.026 206.291);
--muted: oklch(0.277 0.012 206.266);
--muted-foreground: oklch(0.737 0.021 206.299);
--popover: oklch(0.195 0.028 206.492);
--popover-foreground: oklch(0.893 0.015 206.346);
--card: oklch(0.211 0.031 206.934);
--card-foreground: oklch(0.857 0.021 206.317);
--border: oklch(0.308 0.046 207.801);
--input: oklch(0.349 0.053 207.995);
--primary: oklch(0.645 0.108 209.454);
--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.455 0.075 209.008);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.627 0.208 33.067);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.645 0.108 209.454);
--chart-1: oklch(0.645 0.108 209.454);
--chart-2: oklch(0.828 0.036 206.262);
--chart-3: oklch(0.455 0.075 209.008);
--chart-4: oklch(0.849 0.032 206.274);
--chart-5: oklch(0.651 0.11 209.7);
}