Shoelace is a shadcn/ui theme built around a vivid light cyan primary color (#e6fcff) with vivid light blue accents (#e6efff). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid light cyan primary (#e6fcff) on a neutral background (#020708).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #020708black |
| Foreground | #010809black | #fcfdfdwhite |
| Card | #f7fcfdghostwhite | #040b0cblack |
| Card foreground | #010404black | #ffffffwhite |
| Popover | #f7fcfdghostwhite | #040b0cblack |
| Popover foreground | #010404black | #ffffffwhite |
| Primary | #e6fcfflightcyan | #e6fcfflightcyan |
| Primary foreground | #00434cdarkslategray | #00434cdarkslategray |
| Secondary | #e6fff5honeydew | #e6fff5honeydew |
| Secondary foreground | #004c2fdarkgreen | #004c2fdarkgreen |
| Muted | #dff1ealavender | #0e2019black |
| Muted foreground | #3e514adarkslategray | #aec1basilver |
| Accent | #e6effflavender | #e6effflavender |
| Accent foreground | #0145b2mediumblue | #0145b2mediumblue |
| Destructive | #782b07saddlebrown | #e7520dorangered |
| Destructive foreground | #fbccb7peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e6fcfflightcyan | #e6fcfflightcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.87:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 10.33:1 | AAA |
| Secondary button | 9.62:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.28:1 | AAA |
| Destructive | 6.69:1 | AA |
| Text on background | 19.85:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 10.33:1 | AAA |
| Secondary button | 9.62:1 | AAA |
| Muted text | 8.97:1 | AAA |
| Accent | 7.28:1 | AAA |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use Shoelace in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 206.422);
--foreground: oklch(0.125 0.017 202.887);
--muted: oklch(0.943 0.022 170.92);
--muted-foreground: oklch(0.416 0.026 169.644);
--popover: oklch(0.988 0.006 206.404);
--popover-foreground: oklch(0.099 0.013 202.887);
--card: oklch(0.988 0.006 206.404);
--card-foreground: oklch(0.099 0.013 202.887);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.975 0.024 206.316);
--primary-foreground: oklch(0.352 0.061 209.548);
--secondary: oklch(0.979 0.029 170.706);
--secondary-foreground: oklch(0.368 0.083 159.644);
--accent: oklch(0.95 0.023 259.945);
--accent-foreground: oklch(0.43 0.183 260.9);
--destructive: oklch(0.399 0.117 40.941);
--destructive-foreground: oklch(0.881 0.061 46.201);
--ring: oklch(0.975 0.024 206.316);
--chart-1: oklch(0.975 0.024 206.316);
--chart-2: oklch(0.979 0.029 170.706);
--chart-3: oklch(0.95 0.023 259.945);
--chart-4: oklch(0.991 0.012 171.247);
--chart-5: oklch(0.976 0.024 206.314);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.012 203.681);
--foreground: oklch(0.993 0.002 206.431);
--muted: oklch(0.226 0.028 167.166);
--muted-foreground: oklch(0.794 0.023 170.747);
--popover: oklch(0.14 0.014 204.212);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.014 204.212);
--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.975 0.024 206.316);
--primary-foreground: oklch(0.352 0.061 209.548);
--secondary: oklch(0.979 0.029 170.706);
--secondary-foreground: oklch(0.368 0.083 159.644);
--accent: oklch(0.95 0.023 259.945);
--accent-foreground: oklch(0.43 0.183 260.9);
--destructive: oklch(0.635 0.196 39.62);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.975 0.024 206.316);
--chart-1: oklch(0.975 0.024 206.316);
--chart-2: oklch(0.979 0.029 170.706);
--chart-3: oklch(0.95 0.023 259.945);
--chart-4: oklch(0.991 0.012 171.247);
--chart-5: oklch(0.976 0.024 206.314);
}