Sidewalk is a shadcn/ui theme built around a teal primary color (#3cacb4) with yellow accents (#acb43c). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the teal primary (#3cacb4) on a teal-tinted background (#040b0b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #040b0bblack |
| Foreground | #010405black | #ffffffwhite |
| Card | #f8fcfcmintcream | #050e0fblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfdfewhite | #040b0bblack |
| Popover foreground | #010405black | #ffffffwhite |
| Primary | #3cacb4lightseagreen | #3cacb4lightseagreen |
| Primary foreground | #091a1bblack | #091a1bblack |
| Secondary | #b43cacdarkorchid | #b43cacdarkorchid |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f2e9f1whitesmoke | #160d16black |
| Muted foreground | #4d4c4ddarkslategray | #b3b2b3darkgray |
| Accent | #acb43cyellowgreen | #acb43cyellowgreen |
| Accent foreground | #1a1b09black | #1a1b09black |
| Destructive | #781508maroon | #f03219orangered |
| Destructive foreground | #fabfb7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3cacb4lightseagreen | #3cacb4lightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.22:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 5.03:1 | AA |
| Muted text | 7.18:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 6.92:1 | AA |
| Text on background | 19.86:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 5.03:1 | AA |
| Muted text | 8.98:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Sidewalk in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 202.189);
--foreground: oklch(0.1 0.014 199.335);
--muted: oklch(0.942 0.015 327.703);
--muted-foreground: oklch(0.418 0.003 327.618);
--popover: oklch(0.994 0.002 202.189);
--popover-foreground: oklch(0.1 0.014 199.335);
--card: oklch(0.988 0.005 202.164);
--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.685 0.099 201.914);
--primary-foreground: oklch(0.202 0.023 201.559);
--secondary: oklch(0.567 0.2 330.639);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.74 0.141 113.043);
--accent-foreground: oklch(0.215 0.031 112.119);
--destructive: oklch(0.372 0.135 31.074);
--destructive-foreground: oklch(0.856 0.07 27.198);
--ring: oklch(0.685 0.099 201.914);
--chart-1: oklch(0.685 0.099 201.914);
--chart-2: oklch(0.567 0.2 330.639);
--chart-3: oklch(0.74 0.141 113.043);
--chart-4: oklch(0.594 0.21 330.652);
--chart-5: oklch(0.693 0.103 202.003);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.013 200.446);
--foreground: oklch(1 0 180);
--muted: oklch(0.177 0.023 328.744);
--muted-foreground: oklch(0.764 0.003 327.58);
--popover: oklch(0.14 0.013 200.446);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.156 0.015 201.048);
--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.685 0.099 201.914);
--primary-foreground: oklch(0.202 0.023 201.559);
--secondary: oklch(0.567 0.2 330.639);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.74 0.141 113.043);
--accent-foreground: oklch(0.215 0.031 112.119);
--destructive: oklch(0.62 0.227 31.014);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.685 0.099 201.914);
--chart-1: oklch(0.685 0.099 201.914);
--chart-2: oklch(0.567 0.2 330.639);
--chart-3: oklch(0.74 0.141 113.043);
--chart-4: oklch(0.594 0.21 330.652);
--chart-5: oklch(0.693 0.103 202.003);
}