Sneaker is a shadcn/ui theme built around a light orange primary color (#f0d4c6) with muted light orange accents (#eae7e6). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the light orange primary (#f0d4c6) on an orange-tinted background (#0e0906).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf9f8snow | #0e0906black |
| Foreground | #090401black | #faf7f5whitesmoke |
| Card | #faf6f5whitesmoke | #120b07black |
| Card foreground | #040201black | #fbf9f8snow |
| Popover | #fcf9f8snow | #0e0906black |
| Popover foreground | #090401black | #faf7f5whitesmoke |
| Primary | #f0d4c6peachpuff | #f0d4c6peachpuff |
| Primary foreground | #69341bsaddlebrown | #69341bsaddlebrown |
| Secondary | #eae7e6linen | #2f2a28darkslategray |
| Secondary foreground | #554d49darkslategray | #c9c3c0silver |
| Muted | #f0e5e0antiquewhite | #1f140fblack |
| Muted foreground | #4b4644darkslategray | #bbb6b4silver |
| Accent | #eae7e6linen | #2f2a28darkslategray |
| Accent foreground | #554d49darkslategray | #c9c3c0silver |
| Destructive | #b43004firebrick | #fa4a0forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f0d4c6peachpuff | #f0d4c6peachpuff |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.49:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 6.72:1 | AA |
| Muted text | 7.52:1 | AAA |
| Accent | 6.72:1 | AA |
| Destructive | 6.25:1 | AA |
| Text on background | 18.58:1 | AAA |
| Text on card | 18.59:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 8.12:1 | AAA |
| Muted text | 8.98:1 | AAA |
| Accent | 8.12:1 | AAA |
| Destructive | 3.47:1 | AA Large |
Paste this into your globals.css to use Sneaker in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.003 46.821);
--foreground: oklch(0.113 0.018 58.756);
--muted: oklch(0.929 0.014 46.687);
--muted-foreground: oklch(0.399 0.008 46.648);
--popover: oklch(0.984 0.003 46.821);
--popover-foreground: oklch(0.113 0.018 58.756);
--card: oklch(0.977 0.005 46.802);
--card-foreground: oklch(0.09 0.014 58.756);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.889 0.037 46.432);
--primary-foreground: oklch(0.39 0.085 44.225);
--secondary: oklch(0.931 0.003 46.818);
--secondary-foreground: oklch(0.426 0.013 46.529);
--accent: oklch(0.931 0.003 46.818);
--accent-foreground: oklch(0.426 0.013 46.529);
--destructive: oklch(0.51 0.175 35.465);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.889 0.037 46.432);
--chart-1: oklch(0.889 0.037 46.432);
--chart-2: oklch(0.931 0.003 46.818);
--chart-3: oklch(0.931 0.003 46.818);
--chart-4: oklch(0.954 0.002 46.832);
--chart-5: oklch(0.889 0.039 46.413);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.145 0.013 50.441);
--foreground: oklch(0.977 0.004 46.813);
--muted: oklch(0.204 0.021 45.901);
--muted-foreground: oklch(0.781 0.006 46.764);
--popover: oklch(0.145 0.013 50.441);
--popover-foreground: oklch(0.977 0.004 46.813);
--card: oklch(0.157 0.015 47.515);
--card-foreground: oklch(0.984 0.002 46.828);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.889 0.037 46.432);
--primary-foreground: oklch(0.39 0.085 44.225);
--secondary: oklch(0.29 0.008 46.562);
--secondary-foreground: oklch(0.82 0.008 46.743);
--accent: oklch(0.29 0.008 46.562);
--accent-foreground: oklch(0.82 0.008 46.743);
--destructive: oklch(0.657 0.22 35.776);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.889 0.037 46.432);
--chart-1: oklch(0.889 0.037 46.432);
--chart-2: oklch(0.29 0.008 46.562);
--chart-3: oklch(0.29 0.008 46.562);
--chart-4: oklch(0.32 0.009 46.552);
--chart-5: oklch(0.889 0.039 46.413);
}