Sill is a shadcn/ui theme built around a light red primary color (#f8e5e3) with light orange accents (#f8efe3). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#f8e5e3) on a red-tinted background (#0c0404).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0c0404black |
| Foreground | #140705black | #fbf9f8snow |
| Card | #fcfcfcsnow | #100605black |
| Card foreground | #100504black | #fdfcfcsnow |
| Popover | #ffffffwhite | #0c0404black |
| Popover foreground | #140705black | #fbf9f8snow |
| Primary | #f8e5e3mistyrose | #f8e5e3mistyrose |
| Primary foreground | #852d23saddlebrown | #852d23saddlebrown |
| Secondary | #f8e3ebmistyrose | #f8e3ebmistyrose |
| Secondary foreground | #85234abrown | #85234abrown |
| Muted | #e9e2e5gainsboro | #1d1619black |
| Muted foreground | #69595fdimgray | #a6969ddarkgray |
| Accent | #f8efe3linen | #f8efe3linen |
| Accent foreground | #34250eblack | #34250eblack |
| Destructive | #831307maroon | #f32c16orangered |
| Destructive foreground | #fcc6c0pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f8e5e3mistyrose | #f8e5e3mistyrose |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 5.16:1 | AA |
| Accent | 13.02:1 | AAA |
| Destructive | 6.78:1 | AA |
| Text on background | 19.31:1 | AAA |
| Text on card | 19.55:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 6.31:1 | AA |
| Accent | 13.02:1 | AAA |
| Destructive | 4.05:1 | AA Large |
Paste this into your globals.css to use Sill in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.149 0.025 29.179);
--muted: oklch(0.92 0.007 350.85);
--muted-foreground: oklch(0.482 0.022 351.89);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.149 0.025 29.179);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.136 0.022 29.746);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.936 0.021 25.183);
--primary-foreground: oklch(0.426 0.123 29.414);
--secondary: oklch(0.934 0.025 351.369);
--secondary-foreground: oklch(0.424 0.136 0.494);
--accent: oklch(0.956 0.019 78.239);
--accent-foreground: oklch(0.277 0.043 75.433);
--destructive: oklch(0.393 0.147 30.582);
--destructive-foreground: oklch(0.872 0.062 25.731);
--ring: oklch(0.936 0.021 25.183);
--chart-1: oklch(0.936 0.021 25.183);
--chart-2: oklch(0.934 0.025 351.369);
--chart-3: oklch(0.956 0.019 78.239);
--chart-4: oklch(0.962 0.014 351.036);
--chart-5: oklch(0.935 0.022 25.194);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.017 29.724);
--foreground: oklch(0.983 0.003 25.014);
--muted: oklch(0.211 0.011 352.027);
--muted-foreground: oklch(0.69 0.02 351.438);
--popover: oklch(0.123 0.017 29.724);
--popover-foreground: oklch(0.983 0.003 25.014);
--card: oklch(0.137 0.02 29.246);
--card-foreground: oklch(0.992 0.001 25.002);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.936 0.021 25.183);
--primary-foreground: oklch(0.426 0.123 29.414);
--secondary: oklch(0.934 0.025 351.369);
--secondary-foreground: oklch(0.424 0.136 0.494);
--accent: oklch(0.956 0.019 78.239);
--accent-foreground: oklch(0.277 0.043 75.433);
--destructive: oklch(0.621 0.233 30.514);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.936 0.021 25.183);
--chart-1: oklch(0.936 0.021 25.183);
--chart-2: oklch(0.934 0.025 351.369);
--chart-3: oklch(0.956 0.019 78.239);
--chart-4: oklch(0.962 0.014 351.036);
--chart-5: oklch(0.935 0.022 25.194);
}