Scorpion is a shadcn/ui theme built around a muted light orange primary color (#f2eee9) with muted light blue accents (#e9ecf2). The light mode uses a neutral background (#fefdfb). Dark mode keeps the muted light orange primary (#f2eee9) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #030302black |
| Foreground | #090601black | #faf8f4whitesmoke |
| Card | #fefdfbsnow | #030302black |
| Card foreground | #090601black | #faf8f4whitesmoke |
| Popover | #fefdfbsnow | #030302black |
| Popover foreground | #090601black | #faf8f4whitesmoke |
| Primary | #f2eee9linen | #f2eee9linen |
| Primary foreground | #2a2319black | #2a2319black |
| Secondary | #e9ecf2lavender | #e9ecf2lavender |
| Secondary foreground | #3e516adarkslategray | #3e516adarkslategray |
| Muted | #e4e9f2lavender | #0d131bblack |
| Muted foreground | #5f6163dimgray | #9c9ea0darkgray |
| Accent | #e9ecf2lavender | #e9ecf2lavender |
| Accent foreground | #3e516adarkslategray | #3e516adarkslategray |
| Destructive | #d41c08firebrick | #dd1d08red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f2eee9linen | #f2eee9linen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 13.42:1 | AAA |
| Secondary button | 6.86:1 | AA |
| Muted text | 5.11:1 | AA |
| Accent | 6.86:1 | AA |
| Destructive | 5.30:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 13.42:1 | AAA |
| Secondary button | 6.86:1 | AA |
| Muted text | 6.92:1 | AA |
| Accent | 6.86:1 | AA |
| Destructive | 4.91:1 | AA |
Paste this into your globals.css to use Scorpion in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 76.643);
--foreground: oklch(0.123 0.02 86.454);
--muted: oklch(0.933 0.013 256.703);
--muted-foreground: oklch(0.49 0.004 256.685);
--popover: oklch(0.993 0.002 76.643);
--popover-foreground: oklch(0.123 0.02 86.454);
--card: oklch(0.993 0.002 76.643);
--card-foreground: oklch(0.123 0.02 86.454);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.95 0.008 76.611);
--primary-foreground: oklch(0.259 0.021 75.913);
--secondary: oklch(0.943 0.008 256.687);
--secondary-foreground: oklch(0.429 0.048 256.854);
--accent: oklch(0.943 0.008 256.687);
--accent-foreground: oklch(0.429 0.048 256.854);
--destructive: oklch(0.554 0.215 30.392);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.95 0.008 76.611);
--chart-1: oklch(0.95 0.008 76.611);
--chart-2: oklch(0.943 0.008 256.687);
--chart-3: oklch(0.943 0.008 256.687);
--chart-4: oklch(0.967 0.005 256.672);
--chart-5: oklch(0.951 0.009 76.606);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.007 81.412);
--foreground: oklch(0.98 0.005 76.628);
--muted: oklch(0.186 0.019 256.844);
--muted-foreground: oklch(0.698 0.004 256.674);
--popover: oklch(0.095 0.007 81.412);
--popover-foreground: oklch(0.98 0.005 76.628);
--card: oklch(0.095 0.007 81.412);
--card-foreground: oklch(0.98 0.005 76.628);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.95 0.008 76.611);
--primary-foreground: oklch(0.259 0.021 75.913);
--secondary: oklch(0.943 0.008 256.687);
--secondary-foreground: oklch(0.429 0.048 256.854);
--accent: oklch(0.943 0.008 256.687);
--accent-foreground: oklch(0.429 0.048 256.854);
--destructive: oklch(0.573 0.223 30.375);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.95 0.008 76.611);
--chart-1: oklch(0.95 0.008 76.611);
--chart-2: oklch(0.943 0.008 256.687);
--chart-3: oklch(0.943 0.008 256.687);
--chart-4: oklch(0.967 0.005 256.672);
--chart-5: oklch(0.951 0.009 76.606);
}