Silky is a shadcn/ui theme built around an orange primary color (#c8802d) with violet accents (#802dc8). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the orange primary (#c8802d) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf8snow | #030302black |
| Foreground | #120b03black | #fcfaf8snow |
| Card | #fbf8f4floralwhite | #070503black |
| Card foreground | #0d0802black | #fdfdfcwhite |
| Popover | #fcfaf8snow | #030302black |
| Popover foreground | #120b03black | #fcfaf8snow |
| Primary | #c8802dperu | #c8802dperu |
| Primary foreground | #000000black | #000000black |
| Secondary | #2dc880mediumseagreen | #2dc880mediumseagreen |
| Secondary foreground | #082115black | #082115black |
| Muted | #cde4dagainsboro | #1b3227darkslategray |
| Muted foreground | #424342darkslategray | #bcbdbdsilver |
| Accent | #802dc8darkorchid | #802dc8darkorchid |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a3170ffirebrick | #e52015crimson |
| Destructive foreground | #fde9e8linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c8802dperu | #c8802dperu |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.77:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 6.54:1 | AA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 7.44:1 | AAA |
| Accent | 6.73:1 | AA |
| Destructive | 6.68:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 6.54:1 | AA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 7.30:1 | AAA |
| Accent | 6.73:1 | AA |
| Destructive | 4.63:1 | AA |
Paste this into your globals.css to use Silky in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.004 71.414);
--foreground: oklch(0.155 0.023 76.375);
--muted: oklch(0.9 0.028 166.023);
--muted-foreground: oklch(0.381 0.002 166.76);
--popover: oklch(0.986 0.004 71.414);
--popover-foreground: oklch(0.155 0.023 76.375);
--card: oklch(0.979 0.006 71.395);
--card-foreground: oklch(0.139 0.02 80.151);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.66 0.129 65.036);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.737 0.163 157.168);
--secondary-foreground: oklch(0.225 0.04 160.446);
--accent: oklch(0.501 0.221 303.216);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.46 0.175 29.204);
--destructive-foreground: oklch(0.949 0.022 21.193);
--ring: oklch(0.66 0.129 65.036);
--chart-1: oklch(0.66 0.129 65.036);
--chart-2: oklch(0.737 0.163 157.168);
--chart-3: oklch(0.501 0.221 303.216);
--chart-4: oklch(0.763 0.166 157.465);
--chart-5: oklch(0.665 0.134 64.446);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.094 0.006 75.98);
--foreground: oklch(0.986 0.003 71.424);
--muted: oklch(0.293 0.035 163.009);
--muted-foreground: oklch(0.798 0.002 166.849);
--popover: oklch(0.094 0.006 75.98);
--popover-foreground: oklch(0.986 0.003 71.424);
--card: oklch(0.118 0.008 75.98);
--card-foreground: oklch(0.993 0.001 71.437);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.66 0.129 65.036);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.737 0.163 157.168);
--secondary-foreground: oklch(0.225 0.04 160.446);
--accent: oklch(0.501 0.221 303.216);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.588 0.227 29.329);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.66 0.129 65.036);
--chart-1: oklch(0.66 0.129 65.036);
--chart-2: oklch(0.737 0.163 157.168);
--chart-3: oklch(0.501 0.221 303.216);
--chart-4: oklch(0.763 0.166 157.465);
--chart-5: oklch(0.665 0.134 64.446);
}