Scalp is a shadcn/ui theme built around a vivid light green primary color (#e0f8c3) with vivid light pink accents (#f8c3e0). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#e0f8c3) on a green-tinted background (#080b04).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080b04black |
| Foreground | #0b1203black | #fcfdfcwhite |
| Card | #ffffffwhite | #080b04black |
| Card foreground | #0b1203black | #fcfdfcwhite |
| Popover | #ffffffwhite | #080b04black |
| Popover foreground | #0b1203black | #fcfdfcwhite |
| Primary | #e0f8c3lightgoldenrodyellow | #e0f8c3lightgoldenrodyellow |
| Primary foreground | #132004black | #132004black |
| Secondary | #c3e0f8powderblue | #c3e0f8powderblue |
| Secondary foreground | #0e497cmidnightblue | #0e497cmidnightblue |
| Muted | #e8ebedlavender | #121517black |
| Muted foreground | #535a5fdimgray | #a0a6acdarkgray |
| Accent | #f8c3e0pink | #f8c3e0pink |
| Accent foreground | #7c0e49purple | #7c0e49purple |
| Destructive | #721604maroon | #f9512ftomato |
| Destructive foreground | #fcb8ablightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e0f8c3lightgoldenrodyellow | #e0f8c3lightgoldenrodyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.05:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 14.90:1 | AAA |
| Secondary button | 6.76:1 | AA |
| Muted text | 5.84:1 | AA |
| Accent | 6.90:1 | AA |
| Destructive | 6.88:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 14.90:1 | AAA |
| Secondary button | 6.76:1 | AA |
| Muted text | 7.48:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 3.37:1 | AA Large |
Paste this into your globals.css to use Scalp in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.168 0.034 127.773);
--muted: oklch(0.938 0.004 244.145);
--muted-foreground: oklch(0.463 0.013 244.43);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.168 0.034 127.773);
--card: oklch(1 0 180);
--card-foreground: oklch(0.168 0.034 127.773);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.949 0.074 128.111);
--primary-foreground: oklch(0.224 0.053 130.35);
--secondary: oklch(0.893 0.046 244.729);
--secondary-foreground: oklch(0.397 0.104 250.38);
--accent: oklch(0.873 0.07 345.358);
--accent-foreground: oklch(0.39 0.149 355.241);
--destructive: oklch(0.361 0.129 32.994);
--destructive-foreground: oklch(0.844 0.082 31.55);
--ring: oklch(0.949 0.074 128.111);
--chart-1: oklch(0.949 0.074 128.111);
--chart-2: oklch(0.893 0.046 244.729);
--chart-3: oklch(0.873 0.07 345.358);
--chart-4: oklch(0.917 0.035 244.562);
--chart-5: oklch(0.951 0.077 128.148);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.017 126.391);
--foreground: oklch(0.994 0.002 127.136);
--muted: oklch(0.192 0.006 244.49);
--muted-foreground: oklch(0.722 0.011 244.285);
--popover: oklch(0.142 0.017 126.391);
--popover-foreground: oklch(0.994 0.002 127.136);
--card: oklch(0.142 0.017 126.391);
--card-foreground: oklch(0.994 0.002 127.136);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.949 0.074 128.111);
--primary-foreground: oklch(0.224 0.053 130.35);
--secondary: oklch(0.893 0.046 244.729);
--secondary-foreground: oklch(0.397 0.104 250.38);
--accent: oklch(0.873 0.07 345.358);
--accent-foreground: oklch(0.39 0.149 355.241);
--destructive: oklch(0.663 0.21 33.177);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.949 0.074 128.111);
--chart-1: oklch(0.949 0.074 128.111);
--chart-2: oklch(0.893 0.046 244.729);
--chart-3: oklch(0.873 0.07 345.358);
--chart-4: oklch(0.917 0.035 244.562);
--chart-5: oklch(0.951 0.077 128.148);
}