Straight Princeton Orange is a shadcn/ui theme built around a vivid orange primary color (#ff8f05) with deep blue accents (#1f313d). The light mode uses a blue-tinted background (#05080a). Dark mode keeps the vivid orange primary (#ff8f05) on a blue-tinted background (#05080a).
| Token | Light | Dark |
|---|---|---|
| Background | #05080ablack | #05080ablack |
| Foreground | #cdd4e5lightgrey | #cdd4e5lightgrey |
| Card | #020303black | #020303black |
| Card foreground | #dee2edlavender | #dee2edlavender |
| Popover | #000000black | #000000black |
| Popover foreground | #eef1f6whitesmoke | #eef1f6whitesmoke |
| Primary | #ff8f05darkorange | #ff8f05darkorange |
| Primary foreground | #381f00black | #381f00black |
| Secondary | #53422ddarkolivegreen | #53422ddarkolivegreen |
| Secondary foreground | #e4dacdgainsboro | #e4dacdgainsboro |
| Muted | #22272bdarkslategray | #22272bdarkslategray |
| Muted foreground | #9ba8b0darkgray | #9ba8b0darkgray |
| Accent | #1f313ddarkslategray | #1f313ddarkslategray |
| Accent foreground | #b4cbd9lightsteelblue | #b4cbd9lightsteelblue |
| Destructive | #ea583etomato | #ea583etomato |
| Destructive foreground | #000000black | #000000black |
| Border | #101519black | #101519black |
| Input | #161d23black | #161d23black |
| Ring | #ff8f05darkorange | #ff8f05darkorange |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 13.51:1 | AAA |
| Text on card | 15.96:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 6.99:1 | AA |
| Muted text | 6.18:1 | AA |
| Accent | 7.98:1 | AAA |
| Destructive | 5.94:1 | AA |
| Text on background | 13.51:1 | AAA |
| Text on card | 15.96:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 6.99:1 | AA |
| Muted text | 6.18:1 | AA |
| Accent | 7.98:1 | AAA |
| Destructive | 5.94:1 | AA |
Paste this into your globals.css to use Straight Princeton Orange in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.132 0.008 232.178);
--foreground: oklch(0.87 0.024 267.237);
--muted: oklch(0.269 0.01 237.024);
--muted-foreground: oklch(0.724 0.019 236.826);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.957 0.008 267.372);
--card: oklch(0.091 0.006 232.178);
--card-foreground: oklch(0.913 0.016 267.312);
--border: oklch(0.193 0.012 237.389);
--input: oklch(0.227 0.015 237.526);
--primary: oklch(0.755 0.177 59.254);
--primary-foreground: oklch(0.266 0.059 67.15);
--secondary: oklch(0.39 0.041 71.784);
--secondary-foreground: oklch(0.893 0.02 73.036);
--accent: oklch(0.303 0.032 238.434);
--accent-foreground: oklch(0.829 0.032 237.018);
--destructive: oklch(0.649 0.185 32.232);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.755 0.177 59.254);
--chart-1: oklch(0.755 0.177 59.254);
--chart-2: oklch(0.39 0.041 71.784);
--chart-3: oklch(0.303 0.032 238.434);
--chart-4: oklch(0.421 0.045 71.739);
--chart-5: oklch(0.76 0.181 58.58);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.132 0.008 232.178);
--foreground: oklch(0.87 0.024 267.237);
--muted: oklch(0.269 0.01 237.024);
--muted-foreground: oklch(0.724 0.019 236.826);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.957 0.008 267.372);
--card: oklch(0.091 0.006 232.178);
--card-foreground: oklch(0.913 0.016 267.312);
--border: oklch(0.193 0.012 237.389);
--input: oklch(0.227 0.015 237.526);
--primary: oklch(0.755 0.177 59.254);
--primary-foreground: oklch(0.266 0.059 67.15);
--secondary: oklch(0.39 0.041 71.784);
--secondary-foreground: oklch(0.893 0.02 73.036);
--accent: oklch(0.303 0.032 238.434);
--accent-foreground: oklch(0.829 0.032 237.018);
--destructive: oklch(0.649 0.185 32.232);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.755 0.177 59.254);
--chart-1: oklch(0.755 0.177 59.254);
--chart-2: oklch(0.39 0.041 71.784);
--chart-3: oklch(0.303 0.032 238.434);
--chart-4: oklch(0.421 0.045 71.739);
--chart-5: oklch(0.76 0.181 58.58);
}