Short is a shadcn/ui theme built around an orange primary color (#c46545) with violet accents (#6545c4). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#c46545) on an orange-tinted background (#0e0807).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0807black |
| Foreground | #0c0503black | #f8f7f7whitesmoke |
| Card | #fcfcfcsnow | #110b08black |
| Card foreground | #080402black | #fafaf9snow |
| Popover | #fcfcfcsnow | #110b08black |
| Popover foreground | #080402black | #fafaf9snow |
| Primary | #c46545indianred | #c46545indianred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #45c465mediumseagreen | #45c465mediumseagreen |
| Secondary foreground | #0f2f17black | #0f2f17black |
| Muted | #ddeee1gainsboro | #112215black |
| Muted foreground | #4e5550darkslategray | #aab1acdarkgray |
| Accent | #6545c4slateblue | #6545c4slateblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #6e110cmaroon | #e72c23crimson |
| Destructive foreground | #f7b9b6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c46545indianred | #c46545indianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 3.96:1 | AA Large |
| Secondary button | 6.50:1 | AA |
| Muted text | 6.36:1 | AA |
| Accent | 6.56:1 | AA |
| Destructive | 7.17:1 | AAA |
| Text on background | 18.56:1 | AAA |
| Text on card | 18.72:1 | AAA |
| Primary button | 3.96:1 | AA Large |
| Secondary button | 6.50:1 | AA |
| Muted text | 7.56:1 | AAA |
| Accent | 6.56:1 | AA |
| Destructive | 4.39: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.128 0.017 47.234);
--muted: oklch(0.933 0.026 153.396);
--muted-foreground: oklch(0.442 0.011 153.429);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.112 0.014 47.626);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.112 0.014 47.626);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.612 0.13 38.974);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.729 0.175 148.393);
--secondary-foreground: oklch(0.272 0.058 149.29);
--accent: oklch(0.498 0.188 289.228);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.35 0.127 28.778);
--destructive-foreground: oklch(0.841 0.072 22.154);
--ring: oklch(0.612 0.13 38.974);
--chart-1: oklch(0.612 0.13 38.974);
--chart-2: oklch(0.729 0.175 148.393);
--chart-3: oklch(0.498 0.188 289.228);
--chart-4: oklch(0.743 0.166 148.934);
--chart-5: oklch(0.614 0.138 38.892);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.01 42.191);
--foreground: oklch(0.977 0.001 39.498);
--muted: oklch(0.233 0.035 150.914);
--muted-foreground: oklch(0.753 0.01 153.649);
--popover: oklch(0.156 0.012 39.912);
--popover-foreground: oklch(0.985 0.001 39.501);
--card: oklch(0.156 0.012 39.912);
--card-foreground: oklch(0.985 0.001 39.501);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.612 0.13 38.974);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.729 0.175 148.393);
--secondary-foreground: oklch(0.272 0.058 149.29);
--accent: oklch(0.498 0.188 289.228);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.6 0.221 28.906);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.612 0.13 38.974);
--chart-1: oklch(0.612 0.13 38.974);
--chart-2: oklch(0.729 0.175 148.393);
--chart-3: oklch(0.498 0.188 289.228);
--chart-4: oklch(0.743 0.166 148.934);
--chart-5: oklch(0.614 0.138 38.892);
}