NM-Orange is a shadcn/ui theme built around a vivid orange primary color (#f97415) with muted light orange accents (#d6cdc7). The light mode uses a neutral background (#fbfaf8). Dark mode keeps the vivid orange primary (#f97415) on an orange-tinted background (#0e0a06).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfaf8snow | #0e0a06black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #faf7f5whitesmoke | #120c08black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfaf8snow | #0e0a06black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #f97415darkorange | #f97415darkorange |
| Primary foreground | #000000black | #000000black |
| Secondary | #d6cdc7lightgrey | #231e1ablack |
| Secondary foreground | #3e342edarkslategray | #c2b6adsilver |
| Muted | #eee1d8antiquewhite | #271a11black |
| Muted foreground | #665a52dimgray | #ada299darkgray |
| Accent | #d6cdc7lightgrey | #231e1ablack |
| Accent foreground | #3e342edarkslategray | #c2b6adsilver |
| Destructive | #973902saddlebrown | #fc7527tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #eceae9linen | #24211eblack |
| Input | #eceae9linen | #24211eblack |
| Ring | #f97415darkorange | #f97415darkorange |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.10:1 | AAA |
| Text on card | 19.67:1 | AAA |
| Primary button | 7.54:1 | AAA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 5.20:1 | AA |
| Accent | 7.74:1 | AAA |
| Destructive | 7.26:1 | AAA |
| Text on background | 19.29:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 7.54:1 | AAA |
| Secondary button | 8.33:1 | AAA |
| Muted text | 6.75:1 | AA |
| Accent | 8.33:1 | AAA |
| Destructive | 7.70:1 | AAA |
Paste this into your globals.css to use NM-Orange in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.003 58.325);
--foreground: oklch(0 0 0);
--muted: oklch(0.918 0.018 58.087);
--muted-foreground: oklch(0.477 0.02 57.766);
--popover: oklch(0.985 0.003 58.325);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.978 0.004 58.306);
--card-foreground: oklch(0 0 0);
--border: oklch(0.939 0.003 58.321);
--input: oklch(0.939 0.003 58.321);
--primary: oklch(0.707 0.186 48.129);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.854 0.013 58.157);
--secondary-foreground: oklch(0.334 0.018 57.615);
--accent: oklch(0.854 0.013 58.157);
--accent-foreground: oklch(0.334 0.018 57.615);
--destructive: oklch(0.47 0.138 42.949);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.707 0.186 48.129);
--chart-1: oklch(0.707 0.186 48.129);
--chart-2: oklch(0.854 0.013 58.157);
--chart-3: oklch(0.854 0.013 58.157);
--chart-4: oklch(0.878 0.011 58.195);
--chart-5: oklch(0.711 0.19 47.541);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.011 61.233);
--foreground: oklch(0.993 0.001 58.343);
--muted: oklch(0.232 0.026 56.617);
--muted-foreground: oklch(0.718 0.018 58.008);
--popover: oklch(0.147 0.011 61.233);
--popover-foreground: oklch(0.993 0.001 58.343);
--card: oklch(0.16 0.013 58.145);
--card-foreground: oklch(1 0 180);
--border: oklch(0.249 0.006 58.013);
--input: oklch(0.249 0.006 58.013);
--primary: oklch(0.707 0.186 48.129);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.239 0.011 57.719);
--secondary-foreground: oklch(0.784 0.019 58.025);
--accent: oklch(0.239 0.011 57.719);
--accent-foreground: oklch(0.784 0.019 58.025);
--destructive: oklch(0.712 0.185 45.869);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.707 0.186 48.129);
--chart-1: oklch(0.707 0.186 48.129);
--chart-2: oklch(0.239 0.011 57.719);
--chart-3: oklch(0.239 0.011 57.719);
--chart-4: oklch(0.272 0.013 57.674);
--chart-5: oklch(0.711 0.19 47.541);
}