Neon Night - (No Font Styles) is a shadcn/ui theme built around a vivid light purple primary color (#dd92f6) with muted blue accents (#3f475a). The light mode uses a blue-tinted background (#20242d). Dark mode keeps the vivid light purple primary (#dd92f6) on a blue-tinted background (#20242d).
| Token | Light | Dark |
|---|---|---|
| Background | #20242ddarkslategray | #20242ddarkslategray |
| Foreground | #c7c8fflightblue | #c7c8fflightblue |
| Card | #1c1f27black | #1c1f27black |
| Card foreground | #e0e1fflavender | #e0e1fflavender |
| Popover | #191d24black | #191d24black |
| Popover foreground | #fafaffghostwhite | #fafaffghostwhite |
| Primary | #dd92f6violet | #dd92f6violet |
| Primary foreground | #3e0750midnightblue | #3e0750midnightblue |
| Secondary | #492d53darkslategray | #492d53darkslategray |
| Secondary foreground | #decde4gainsboro | #decde4gainsboro |
| Muted | #2b2e36darkslategray | #2b2e36darkslategray |
| Muted foreground | #a6acb9darkgray | #a6acb9darkgray |
| Accent | #3f475adarkslategray | #3f475adarkslategray |
| Accent foreground | #e1e4eagainsboro | #e1e4eagainsboro |
| Destructive | #f41206red | #f41206red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2f3237darkslategray | #2f3237darkslategray |
| Input | #37393fdarkslategray | #37393fdarkslategray |
| Ring | #dd92f6violet | #dd92f6violet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 9.75:1 | AAA |
| Text on card | 12.88:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 7.84:1 | AAA |
| Muted text | 5.95:1 | AA |
| Accent | 7.26:1 | AAA |
| Destructive | 4.26:1 | AA Large |
| Text on background | 9.75:1 | AAA |
| Text on card | 12.88:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 7.84:1 | AAA |
| Muted text | 5.95:1 | AA |
| Accent | 7.26:1 | AAA |
| Destructive | 4.26:1 | AA Large |
Paste this into your globals.css to use Neon Night - (No Font Styles) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.259 0.018 266.874);
--foreground: oklch(0.85 0.077 283.887);
--muted: oklch(0.302 0.016 267.044);
--muted-foreground: oklch(0.745 0.02 267.243);
--popover: oklch(0.229 0.015 266.919);
--popover-foreground: oklch(0.986 0.007 285.496);
--card: oklch(0.239 0.016 266.902);
--card-foreground: oklch(0.918 0.041 284.795);
--border: oklch(0.315 0.009 267.223);
--input: oklch(0.344 0.011 267.216);
--primary: oklch(0.772 0.158 317.352);
--primary-foreground: oklch(0.276 0.125 315.299);
--secondary: oklch(0.348 0.074 317.329);
--secondary-foreground: oklch(0.87 0.036 317.695);
--accent: oklch(0.399 0.032 266.761);
--accent-foreground: oklch(0.918 0.009 267.364);
--destructive: oklch(0.611 0.245 29.533);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.772 0.158 317.352);
--chart-1: oklch(0.772 0.158 317.352);
--chart-2: oklch(0.348 0.074 317.329);
--chart-3: oklch(0.399 0.032 266.761);
--chart-4: oklch(0.374 0.081 317.316);
--chart-5: oklch(0.771 0.163 317.33);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.259 0.018 266.874);
--foreground: oklch(0.85 0.077 283.887);
--muted: oklch(0.302 0.016 267.044);
--muted-foreground: oklch(0.745 0.02 267.243);
--popover: oklch(0.229 0.015 266.919);
--popover-foreground: oklch(0.986 0.007 285.496);
--card: oklch(0.239 0.016 266.902);
--card-foreground: oklch(0.918 0.041 284.795);
--border: oklch(0.315 0.009 267.223);
--input: oklch(0.344 0.011 267.216);
--primary: oklch(0.772 0.158 317.352);
--primary-foreground: oklch(0.276 0.125 315.299);
--secondary: oklch(0.348 0.074 317.329);
--secondary-foreground: oklch(0.87 0.036 317.695);
--accent: oklch(0.399 0.032 266.761);
--accent-foreground: oklch(0.918 0.009 267.364);
--destructive: oklch(0.611 0.245 29.533);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.772 0.158 317.352);
--chart-1: oklch(0.772 0.158 317.352);
--chart-2: oklch(0.348 0.074 317.329);
--chart-3: oklch(0.399 0.032 266.761);
--chart-4: oklch(0.374 0.081 317.316);
--chart-5: oklch(0.771 0.163 317.33);
}