Signature is a shadcn/ui theme built around a vivid deep green primary color (#152202) with vivid deep pink accents (#220215). The light mode uses a neutral background (#fdfefb). Dark mode keeps the vivid deep green primary (#152202) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #030302black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fafdf6mintcream | #050703black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fafdf6mintcream | #050703black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #152202black | #152202black |
| Primary foreground | #8ae40clawngreen | #8ae40clawngreen |
| Secondary | #021522black | #021522black |
| Secondary foreground | #5fb7f7cornflowerblue | #5fb7f7cornflowerblue |
| Muted | #cedae3gainsboro | #1c2831darkslategray |
| Muted foreground | #3e4041darkslategray | #bebfc1silver |
| Accent | #220215black | #220215black |
| Accent foreground | #f75fb7hotpink | #f75fb7hotpink |
| Destructive | #b70401darkred | #fe0501red |
| Destructive foreground | #ffebeblinen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #152202black | #152202black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.76:1 | AAA |
| Text on card | 20.52:1 | AAA |
| Primary button | 10.46:1 | AAA |
| Secondary button | 8.50:1 | AAA |
| Muted text | 7.35:1 | AAA |
| Accent | 6.69:1 | AA |
| Destructive | 6.06:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 10.46:1 | AAA |
| Secondary button | 8.50:1 | AAA |
| Muted text | 8.17:1 | AAA |
| Accent | 6.69:1 | AA |
| Destructive | 4.01:1 | AA Large |
Paste this into your globals.css to use Signature in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.005 125.114);
--foreground: oklch(0 0 0);
--muted: oklch(0.883 0.018 238.649);
--muted-foreground: oklch(0.37 0.003 238.466);
--popover: oklch(0.991 0.01 125.183);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.01 125.183);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.231 0.057 128.844);
--primary-foreground: oklch(0.829 0.23 132.43);
--secondary: oklch(0.185 0.038 240.257);
--secondary-foreground: oklch(0.752 0.125 242.06);
--accent: oklch(0.171 0.065 347.92);
--accent-foreground: oklch(0.706 0.206 347.594);
--destructive: oklch(0.49 0.199 29.381);
--destructive-foreground: oklch(0.956 0.022 18.715);
--ring: oklch(0.231 0.057 128.844);
--chart-1: oklch(0.231 0.057 128.844);
--chart-2: oklch(0.185 0.038 240.257);
--chart-3: oklch(0.171 0.065 347.92);
--chart-4: oklch(0.223 0.05 243.155);
--chart-5: oklch(0.232 0.059 128.911);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.01 124.517);
--foreground: oklch(1 0 180);
--muted: oklch(0.269 0.023 239.784);
--muted-foreground: oklch(0.805 0.002 238.402);
--popover: oklch(0.123 0.012 124.517);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.123 0.012 124.517);
--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.231 0.057 128.844);
--primary-foreground: oklch(0.829 0.23 132.43);
--secondary: oklch(0.185 0.038 240.257);
--secondary-foreground: oklch(0.752 0.125 242.06);
--accent: oklch(0.171 0.065 347.92);
--accent-foreground: oklch(0.706 0.206 347.594);
--destructive: oklch(0.627 0.256 29.331);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.231 0.057 128.844);
--chart-1: oklch(0.231 0.057 128.844);
--chart-2: oklch(0.185 0.038 240.257);
--chart-3: oklch(0.171 0.065 347.92);
--chart-4: oklch(0.223 0.05 243.155);
--chart-5: oklch(0.232 0.059 128.911);
}