Short is a shadcn/ui theme built around a muted blue primary color (#566f81) with muted green accents (#6f8156). The light mode uses a neutral background (#f7fafc). Dark mode keeps the muted blue primary (#566f81) on a neutral background (#030607).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fafcghostwhite | #030607black |
| Foreground | #020608black | #f4f8fawhitesmoke |
| Card | #f7fafcghostwhite | #030607black |
| Card foreground | #020608black | #f4f8fawhitesmoke |
| Popover | #f7fafcghostwhite | #030607black |
| Popover foreground | #020608black | #f4f8fawhitesmoke |
| Primary | #566f81dimgray | #566f81dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #81566fdimgray | #81566fdimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f2edf0whitesmoke | #120d10black |
| Muted foreground | #5f4e58dimgray | #b1a0aadarkgray |
| Accent | #6f8156dimgray | #6f8156dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8a1d0adarkred | #e53010orangered |
| Destructive foreground | #fbd2cbpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #566f81dimgray | #566f81dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.47:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 5.25:1 | AA |
| Secondary button | 6.03:1 | AA |
| Muted text | 6.69:1 | AA |
| Accent | 4.26:1 | AA Large |
| Destructive | 6.70:1 | AA |
| Text on background | 19.06:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 5.25:1 | AA |
| Secondary button | 6.03:1 | AA |
| Muted text | 7.77:1 | AAA |
| Accent | 4.26:1 | AA Large |
| Destructive | 4.41:1 | AA Large |
Paste this into your globals.css to use Short in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.004 236.495);
--foreground: oklch(0.115 0.013 228.635);
--muted: oklch(0.952 0.006 340.379);
--muted-foreground: oklch(0.445 0.028 341.611);
--popover: oklch(0.985 0.004 236.495);
--popover-foreground: oklch(0.115 0.013 228.635);
--card: oklch(0.985 0.004 236.495);
--card-foreground: oklch(0.115 0.013 228.635);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.529 0.041 237.723);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.507 0.067 343.041);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.576 0.066 126.09);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.416 0.147 32.148);
--destructive-foreground: oklch(0.897 0.048 29.752);
--ring: oklch(0.529 0.041 237.723);
--chart-1: oklch(0.529 0.041 237.723);
--chart-2: oklch(0.507 0.067 343.041);
--chart-3: oklch(0.576 0.066 126.09);
--chart-4: oklch(0.532 0.071 343.063);
--chart-5: oklch(0.53 0.046 237.959);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.115 0.009 230.965);
--foreground: oklch(0.977 0.005 236.51);
--muted: oklch(0.166 0.01 341.487);
--muted-foreground: oklch(0.723 0.025 340.997);
--popover: oklch(0.115 0.009 230.965);
--popover-foreground: oklch(0.977 0.005 236.51);
--card: oklch(0.115 0.009 230.965);
--card-foreground: oklch(0.977 0.005 236.51);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.529 0.041 237.723);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.507 0.067 343.041);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.576 0.066 126.09);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.598 0.219 31.905);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.529 0.041 237.723);
--chart-1: oklch(0.529 0.041 237.723);
--chart-2: oklch(0.507 0.067 343.041);
--chart-3: oklch(0.576 0.066 126.09);
--chart-4: oklch(0.532 0.071 343.063);
--chart-5: oklch(0.53 0.046 237.959);
}