Short is a shadcn/ui theme built around a blue primary color (#446083) with orange accents (#836744). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#446083) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #040c15black | #fcfcfdwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #040a11black | #ffffffwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #040a11black | #ffffffwhite |
| Primary | #446083darkslateblue | #446083darkslateblue |
| Primary foreground | #fcfcfdwhite | #fcfcfdwhite |
| Secondary | #836744sienna | #836744sienna |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f2f0eewhitesmoke | #11100dblack |
| Muted foreground | #605548darkolivegreen | #b7ac9fdarkgray |
| Accent | #836744sienna | #836744sienna |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #7d1b03maroon | #fa4214orangered |
| Destructive foreground | #fdc3b4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #446083darkslateblue | #446083darkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.65:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 6.29:1 | AA |
| Secondary button | 5.27:1 | AA |
| Muted text | 6.38:1 | AA |
| Accent | 5.27:1 | AA |
| Destructive | 6.72:1 | AA |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 6.29:1 | AA |
| Secondary button | 5.27:1 | AA |
| Muted text | 8.54:1 | AAA |
| Accent | 5.27:1 | AA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Short in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.151 0.024 250.531);
--muted: oklch(0.956 0.004 73.19);
--muted-foreground: oklch(0.457 0.025 72.699);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.139 0.02 247.571);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.139 0.02 247.571);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.483 0.066 253.956);
--primary-foreground: oklch(0.992 0.001 253.229);
--secondary: oklch(0.533 0.062 71.446);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.533 0.062 71.446);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.388 0.136 34.096);
--destructive-foreground: oklch(0.865 0.071 34.441);
--ring: oklch(0.483 0.066 253.956);
--chart-1: oklch(0.483 0.066 253.956);
--chart-2: oklch(0.533 0.062 71.446);
--chart-3: oklch(0.533 0.062 71.446);
--chart-4: oklch(0.561 0.066 71.42);
--chart-5: oklch(0.482 0.072 254.039);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 253.224);
--muted: oklch(0.172 0.006 72.935);
--muted-foreground: oklch(0.75 0.022 72.977);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.483 0.066 253.956);
--primary-foreground: oklch(0.992 0.001 253.229);
--secondary: oklch(0.533 0.062 71.446);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.533 0.062 71.446);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.65 0.226 33.839);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.483 0.066 253.956);
--chart-1: oklch(0.483 0.066 253.956);
--chart-2: oklch(0.533 0.062 71.446);
--chart-3: oklch(0.533 0.062 71.446);
--chart-4: oklch(0.561 0.066 71.42);
--chart-5: oklch(0.482 0.072 254.039);
}