Luminous is a shadcn/ui theme built around a cyan primary color (#75b7d1) with orange accents (#d18f75). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the cyan primary (#75b7d1) on a cyan-tinted background (#060c0f).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #060c0fblack |
| Foreground | #040d10black | #f6f8f8whitesmoke |
| Card | #f7fbfdghostwhite | #070f12black |
| Card foreground | #030a0cblack | #f9fafbghostwhite |
| Popover | #fbfdfewhite | #060c0fblack |
| Popover foreground | #040d10black | #f6f8f8whitesmoke |
| Primary | #75b7d1skyblue | #75b7d1skyblue |
| Primary foreground | #050c0fblack | #050c0fblack |
| Secondary | #d18f75darksalmon | #d18f75darksalmon |
| Secondary foreground | #0f0805black | #0f0805black |
| Muted | #ebe3e0gainsboro | #1f1714black |
| Muted foreground | #574842darkolivegreen | #bdaea8darkgray |
| Accent | #d18f75darksalmon | #d18f75darksalmon |
| Accent foreground | #0f0805black | #0f0805black |
| Destructive | #c6400cfirebrick | #f26026chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #75b7d1skyblue | #75b7d1skyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.23:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 8.87:1 | AAA |
| Secondary button | 7.49:1 | AAA |
| Muted text | 6.89:1 | AA |
| Accent | 7.49:1 | AAA |
| Destructive | 5.07:1 | AA |
| Text on background | 18.45:1 | AAA |
| Text on card | 18.48:1 | AAA |
| Primary button | 8.87:1 | AAA |
| Secondary button | 7.49:1 | AAA |
| Muted text | 8.20:1 | AAA |
| Accent | 7.49:1 | AAA |
| Destructive | 6.48:1 | AA |
Paste this into your globals.css to use Luminous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 223.152);
--foreground: oklch(0.15 0.016 221.773);
--muted: oklch(0.922 0.009 43.043);
--muted-foreground: oklch(0.415 0.023 42.727);
--popover: oklch(0.993 0.002 223.152);
--popover-foreground: oklch(0.15 0.016 221.773);
--card: oklch(0.986 0.004 223.175);
--card-foreground: oklch(0.135 0.014 218.574);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.745 0.077 225.061);
--primary-foreground: oklch(0.149 0.014 221.95);
--secondary: oklch(0.71 0.089 42.396);
--secondary-foreground: oklch(0.144 0.016 47.681);
--accent: oklch(0.71 0.089 42.396);
--accent-foreground: oklch(0.144 0.016 47.681);
--destructive: oklch(0.559 0.178 37.82);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.745 0.077 225.061);
--chart-1: oklch(0.745 0.077 225.061);
--chart-2: oklch(0.71 0.089 42.396);
--chart-3: oklch(0.71 0.089 42.396);
--chart-4: oklch(0.734 0.08 42.47);
--chart-5: oklch(0.747 0.081 225.232);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.149 0.012 222.133);
--foreground: oklch(0.978 0.002 223.15);
--muted: oklch(0.214 0.013 42.699);
--muted-foreground: oklch(0.762 0.02 42.915);
--popover: oklch(0.149 0.012 222.133);
--popover-foreground: oklch(0.978 0.002 223.15);
--card: oklch(0.162 0.014 223.818);
--card-foreground: oklch(0.985 0.001 223.144);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.745 0.077 225.061);
--primary-foreground: oklch(0.149 0.014 221.95);
--secondary: oklch(0.71 0.089 42.396);
--secondary-foreground: oklch(0.144 0.016 47.681);
--accent: oklch(0.71 0.089 42.396);
--accent-foreground: oklch(0.144 0.016 47.681);
--destructive: oklch(0.67 0.192 39.629);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.745 0.077 225.061);
--chart-1: oklch(0.745 0.077 225.061);
--chart-2: oklch(0.71 0.089 42.396);
--chart-3: oklch(0.71 0.089 42.396);
--chart-4: oklch(0.734 0.08 42.47);
--chart-5: oklch(0.747 0.081 225.232);
}