Shackle is a shadcn/ui theme built around a blue primary color (#1b63a7) with green accents (#63a71b). The light mode uses a neutral background (#f7fafd). Dark mode keeps the blue primary (#1b63a7) on a blue-tinted background (#060a0f).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fafdghostwhite | #060a0fblack |
| Foreground | #030a11black | #f8fafcghostwhite |
| Card | #f3f8fcaliceblue | #070d12black |
| Card foreground | #02080dblack | #fcfcfdwhite |
| Popover | #f3f8fcaliceblue | #070d12black |
| Popover foreground | #02080dblack | #fcfcfdwhite |
| Primary | #1b63a7steelblue | #1b63a7steelblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #a71b63mediumvioletred | #a71b63mediumvioletred |
| Secondary foreground | #fef6fasnow | #fef6fasnow |
| Muted | #f0e0e8mistyrose | #1f0f17black |
| Muted foreground | #4c3e45darkslategray | #c1b3basilver |
| Accent | #63a71bolivedrab | #63a71bolivedrab |
| Accent foreground | #000000black | #000000black |
| Destructive | #9d0d0bdarkred | #e01310red |
| Destructive foreground | #fddedemistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1b63a7steelblue | #1b63a7steelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.99:1 | AAA |
| Text on card | 18.76:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 6.64:1 | AA |
| Muted text | 7.95:1 | AAA |
| Accent | 7.05:1 | AAA |
| Destructive | 6.65:1 | AA |
| Text on background | 18.95:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 6.64:1 | AA |
| Muted text | 9.15:1 | AAA |
| Accent | 7.05:1 | AAA |
| Destructive | 4.91:1 | AA |
Paste this into your globals.css to use Shackle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.005 246.026);
--foreground: oklch(0.142 0.021 241.213);
--muted: oklch(0.922 0.02 344.834);
--muted-foreground: oklch(0.381 0.022 345.72);
--popover: oklch(0.975 0.008 246.057);
--popover-foreground: oklch(0.128 0.018 237.469);
--card: oklch(0.975 0.008 246.057);
--card-foreground: oklch(0.128 0.018 237.469);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.493 0.128 251.2);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.486 0.182 355.658);
--secondary-foreground: oklch(0.981 0.009 344.527);
--accent: oklch(0.657 0.176 133.153);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.443 0.174 28.722);
--destructive-foreground: oklch(0.926 0.034 18.943);
--ring: oklch(0.493 0.128 251.2);
--chart-1: oklch(0.493 0.128 251.2);
--chart-2: oklch(0.486 0.182 355.658);
--chart-3: oklch(0.657 0.176 133.153);
--chart-4: oklch(0.514 0.193 355.777);
--chart-5: oklch(0.495 0.132 251.563);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.013 243.2);
--foreground: oklch(0.984 0.003 245.999);
--muted: oklch(0.195 0.03 347.924);
--muted-foreground: oklch(0.781 0.018 344.881);
--popover: oklch(0.155 0.016 245.836);
--popover-foreground: oklch(0.992 0.001 245.982);
--card: oklch(0.155 0.016 245.836);
--card-foreground: oklch(0.992 0.001 245.982);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.493 0.128 251.2);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.486 0.182 355.658);
--secondary-foreground: oklch(0.981 0.009 344.527);
--accent: oklch(0.657 0.176 133.153);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.575 0.229 28.91);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.493 0.128 251.2);
--chart-1: oklch(0.493 0.128 251.2);
--chart-2: oklch(0.486 0.182 355.658);
--chart-3: oklch(0.657 0.176 133.153);
--chart-4: oklch(0.514 0.193 355.777);
--chart-5: oklch(0.495 0.132 251.563);
}