Trinket Walrus is a shadcn/ui theme built around an orange primary color (#d99a3a) with muted light orange accents (#cfc9be). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the orange primary (#d99a3a) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfaf7snow | #040301black |
| Foreground | #150e04black | #fdfdfcwhite |
| Card | #fdfaf7snow | #040301black |
| Card foreground | #150e04black | #fdfdfcwhite |
| Popover | #fdfaf7snow | #040301black |
| Popover foreground | #150e04black | #fdfdfcwhite |
| Primary | #d99a3aperu | #d99a3aperu |
| Primary foreground | #000000black | #000000black |
| Secondary | #d9d7d3lightgrey | #1f1b14black |
| Secondary foreground | #423e38darkslategray | #c2b6a3tan |
| Muted | #e5e1dcgainsboro | #231f1ablack |
| Muted foreground | #555049darkolivegreen | #b6b1aadarkgray |
| Accent | #cfc9besilver | #342b1ddarkslategray |
| Accent foreground | #352f27darkslategray | #d3c5b1silver |
| Destructive | #dc5004orangered | #fb752dtomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e9e6e2gainsboro | #201d18black |
| Input | #e9e6e2gainsboro | #201d18black |
| Ring | #d99a3aperu | #d99a3aperu |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.45:1 | AAA |
| Text on card | 18.45:1 | AAA |
| Primary button | 8.62:1 | AAA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 6.14:1 | AA |
| Accent | 8.01:1 | AAA |
| Destructive | 4.04:1 | AA Large |
| Text on background | 20.27:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 8.62:1 | AAA |
| Secondary button | 8.61:1 | AAA |
| Muted text | 7.65:1 | AAA |
| Accent | 8.19:1 | AAA |
| Destructive | 7.67:1 | AAA |
Paste this into your globals.css to use Trinket Walrus in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 78.297);
--foreground: oklch(0.171 0.024 79.498);
--muted: oklch(0.912 0.008 78.284);
--muted-foreground: oklch(0.435 0.014 78.172);
--popover: oklch(0.987 0.005 78.297);
--popover-foreground: oklch(0.171 0.024 79.498);
--card: oklch(0.987 0.005 78.297);
--card-foreground: oklch(0.171 0.024 79.498);
--border: oklch(0.927 0.007 78.29);
--input: oklch(0.927 0.007 78.29);
--primary: oklch(0.731 0.132 73.482);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.88 0.006 78.291);
--secondary-foreground: oklch(0.366 0.011 78.18);
--accent: oklch(0.837 0.016 78.242);
--accent-foreground: oklch(0.309 0.016 78.012);
--destructive: oklch(0.614 0.188 40.801);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.731 0.132 73.482);
--chart-1: oklch(0.731 0.132 73.482);
--chart-2: oklch(0.88 0.006 78.291);
--chart-3: oklch(0.837 0.016 78.242);
--chart-4: oklch(0.903 0.005 78.296);
--chart-5: oklch(0.736 0.137 73.037);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.009 84.253);
--foreground: oklch(0.993 0.001 78.31);
--muted: oklch(0.243 0.011 78.083);
--muted-foreground: oklch(0.763 0.012 78.256);
--popover: oklch(0.096 0.009 84.253);
--popover-foreground: oklch(0.993 0.001 78.31);
--card: oklch(0.096 0.009 84.253);
--card-foreground: oklch(0.993 0.001 78.31);
--border: oklch(0.232 0.01 78.092);
--input: oklch(0.232 0.01 78.092);
--primary: oklch(0.731 0.132 73.482);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.223 0.013 77.952);
--secondary-foreground: oklch(0.78 0.029 78.138);
--accent: oklch(0.295 0.027 77.509);
--accent-foreground: oklch(0.83 0.032 78.128);
--destructive: oklch(0.711 0.182 45.062);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.731 0.132 73.482);
--chart-1: oklch(0.731 0.132 73.482);
--chart-2: oklch(0.223 0.013 77.952);
--chart-3: oklch(0.295 0.027 77.509);
--chart-4: oklch(0.257 0.016 77.9);
--chart-5: oklch(0.736 0.137 73.037);
}