Second-hand is a shadcn/ui theme built around a vivid light orange primary color (#fac18e) with vivid light yellow accents (#faf78e). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the vivid light orange primary (#fac18e) on a neutral background (#080503).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf8snow | #080503black |
| Foreground | #0d0703black | #fbfaf8snow |
| Card | #faf7f4whitesmoke | #0b0704black |
| Card foreground | #080502black | #fdfcfcsnow |
| Popover | #fcfaf8snow | #080503black |
| Popover foreground | #0d0703black | #fbfaf8snow |
| Primary | #fac18eburlywood | #fac18eburlywood |
| Primary foreground | #532903maroon | #532903maroon |
| Secondary | #fa8e92lightcoral | #fa8e92lightcoral |
| Secondary foreground | #530306maroon | #530306maroon |
| Muted | #f3f2f2whitesmoke | #0d0c0cblack |
| Muted foreground | #5b5253dimgray | #ada4a4darkgray |
| Accent | #faf78ekhaki | #faf78ekhaki |
| Accent foreground | #535103darkolivegreen | #535103darkolivegreen |
| Destructive | #952509saddlebrown | #f3532btomato |
| Destructive foreground | #fcdcd4antiquewhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fac18eburlywood | #fac18eburlywood |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.19:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 7.75:1 | AAA |
| Secondary button | 6.78:1 | AA |
| Muted text | 6.74:1 | AA |
| Accent | 7.35:1 | AAA |
| Destructive | 6.39:1 | AA |
| Text on background | 19.49:1 | AAA |
| Text on card | 19.55:1 | AAA |
| Primary button | 7.75:1 | AAA |
| Secondary button | 6.78:1 | AA |
| Muted text | 8.01:1 | AAA |
| Accent | 7.35:1 | AAA |
| Destructive | 3.46:1 | AA Large |
Paste this into your globals.css to use Second-hand in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.003 64.048);
--foreground: oklch(0.136 0.017 72.663);
--muted: oklch(0.961 0.001 14.816);
--muted-foreground: oklch(0.448 0.011 15.274);
--popover: oklch(0.985 0.003 64.048);
--popover-foreground: oklch(0.136 0.017 72.663);
--card: oklch(0.978 0.005 64.026);
--card-foreground: oklch(0.118 0.015 73.511);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.851 0.093 62.258);
--primary-foreground: oklch(0.331 0.078 55.288);
--secondary: oklch(0.764 0.131 18.479);
--secondary-foreground: oklch(0.282 0.11 26.732);
--accent: oklch(0.956 0.127 106.834);
--accent-foreground: oklch(0.422 0.089 107.429);
--destructive: oklch(0.444 0.153 33.989);
--destructive-foreground: oklch(0.919 0.038 34.317);
--ring: oklch(0.851 0.093 62.258);
--chart-1: oklch(0.851 0.093 62.258);
--chart-2: oklch(0.764 0.131 18.479);
--chart-3: oklch(0.956 0.127 106.834);
--chart-4: oklch(0.792 0.112 17.752);
--chart-5: oklch(0.852 0.096 62.176);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.118 0.011 71.363);
--foreground: oklch(0.985 0.003 64.055);
--muted: oklch(0.156 0.002 15.051);
--muted-foreground: oklch(0.726 0.01 15.051);
--popover: oklch(0.118 0.011 71.363);
--popover-foreground: oklch(0.985 0.003 64.055);
--card: oklch(0.135 0.013 71.001);
--card-foreground: oklch(0.993 0.001 64.072);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.851 0.093 62.258);
--primary-foreground: oklch(0.331 0.078 55.288);
--secondary: oklch(0.764 0.131 18.479);
--secondary-foreground: oklch(0.282 0.11 26.732);
--accent: oklch(0.956 0.127 106.834);
--accent-foreground: oklch(0.422 0.089 107.429);
--destructive: oklch(0.655 0.203 34.835);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.851 0.093 62.258);
--chart-1: oklch(0.851 0.093 62.258);
--chart-2: oklch(0.764 0.131 18.479);
--chart-3: oklch(0.956 0.127 106.834);
--chart-4: oklch(0.792 0.112 17.752);
--chart-5: oklch(0.852 0.096 62.176);
}