Sticker is a shadcn/ui theme built around a green primary color (#8ccf44) with neutral gray accents (#d4cece). The light mode uses a neutral background (#fcfefb). Dark mode keeps the green primary (#8ccf44) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #030401black |
| Foreground | #050902black | #f7f8f6whitesmoke |
| Card | #fafdf7mintcream | #050802black |
| Card foreground | #030401black | #fafbf9snow |
| Popover | #fafdf7mintcream | #050802black |
| Popover foreground | #030401black | #fafbf9snow |
| Primary | #8ccf44yellowgreen | #8ccf44yellowgreen |
| Primary foreground | #24390fdarkgreen | #24390fdarkgreen |
| Secondary | #e8e8e8lavender | #212121black |
| Secondary foreground | #4f4f4fdarkslategray | #babbb9silver |
| Muted | #f2ededlinen | #0f120dblack |
| Muted foreground | #4c4242darkslategray | #b8bdb3silver |
| Accent | #d4cecelightgrey | #383d33darkslategray |
| Accent foreground | #3c3434darkslategray | #d1d5cdlightgrey |
| Destructive | #bc370bfirebrick | #f46c3etomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8ccf44yellowgreen | #8ccf44yellowgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.78:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 6.66:1 | AA |
| Secondary button | 6.68:1 | AA |
| Muted text | 8.38:1 | AAA |
| Accent | 7.79:1 | AAA |
| Destructive | 5.68:1 | AA |
| Text on background | 19.30:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 6.66:1 | AA |
| Secondary button | 8.31:1 | AAA |
| Muted text | 9.87:1 | AAA |
| Accent | 7.47:1 | AAA |
| Destructive | 7.03:1 | AAA |
Paste this into your globals.css to use Sticker in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 127.834);
--foreground: oklch(0.129 0.024 126.491);
--muted: oklch(0.951 0.005 17.244);
--muted-foreground: oklch(0.391 0.014 17.755);
--popover: oklch(0.989 0.008 127.879);
--popover-foreground: oklch(0.103 0.019 126.491);
--card: oklch(0.989 0.008 127.879);
--card-foreground: oklch(0.103 0.019 126.491);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.782 0.182 131.634);
--primary-foreground: oklch(0.316 0.07 131.353);
--secondary: oklch(0.931 0 180);
--secondary-foreground: oklch(0.428 0 180);
--accent: oklch(0.856 0.007 17.296);
--accent-foreground: oklch(0.334 0.011 17.727);
--destructive: oklch(0.532 0.176 36.07);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.782 0.182 131.634);
--chart-1: oklch(0.782 0.182 131.634);
--chart-2: oklch(0.931 0 180);
--chart-3: oklch(0.856 0.007 17.296);
--chart-4: oklch(0.954 0 180);
--chart-5: oklch(0.79 0.188 131.836);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.015 126.72);
--foreground: oklch(0.979 0.003 127.825);
--muted: oklch(0.176 0.01 128.464);
--muted-foreground: oklch(0.79 0.015 128.011);
--popover: oklch(0.127 0.019 126.72);
--popover-foreground: oklch(0.986 0.002 127.813);
--card: oklch(0.127 0.019 126.72);
--card-foreground: oklch(0.986 0.002 127.813);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.782 0.182 131.634);
--primary-foreground: oklch(0.316 0.07 131.353);
--secondary: oklch(0.249 0.001 127.851);
--secondary-foreground: oklch(0.791 0.002 127.82);
--accent: oklch(0.353 0.018 128.411);
--accent-foreground: oklch(0.868 0.012 127.952);
--destructive: oklch(0.69 0.178 38.478);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.782 0.182 131.634);
--chart-1: oklch(0.782 0.182 131.634);
--chart-2: oklch(0.249 0.001 127.851);
--chart-3: oklch(0.353 0.018 128.411);
--chart-4: oklch(0.281 0.002 127.855);
--chart-5: oklch(0.79 0.188 131.836);
}