Footrest is a shadcn/ui theme built around a light violet primary color (#e0c3ee) with light teal accents (#c3eee0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light violet primary (#e0c3ee) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030104black |
| Foreground | #060208black | #fdfcfdwhite |
| Card | #fcfcfcsnow | #060307black |
| Card foreground | #030104black | #ffffffwhite |
| Popover | #ffffffwhite | #030104black |
| Popover foreground | #060208black | #fdfcfdwhite |
| Primary | #e0c3eethistle | #e0c3eethistle |
| Primary foreground | #4c1c63indigo | #4c1c63indigo |
| Secondary | #eee0c3bisque | #eee0c3bisque |
| Secondary foreground | #634c1cdarkolivegreen | #634c1cdarkolivegreen |
| Muted | #e9e5ddgainsboro | #221e16black |
| Muted foreground | #6f6758dimgray | #a7a090darkgray |
| Accent | #c3eee0powderblue | #c3eee0powderblue |
| Accent foreground | #06140fblack | #06140fblack |
| Destructive | #6a2e0csaddlebrown | #ea7d3ecoral |
| Destructive foreground | #f6cab1peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e0c3eethistle | #e0c3eethistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.58:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 8.00:1 | AAA |
| Secondary button | 6.23:1 | AA |
| Muted text | 4.44:1 | AA Large |
| Accent | 14.94:1 | AAA |
| Destructive | 6.98:1 | AA |
| Text on background | 20.28:1 | AAA |
| Text on card | 20.53:1 | AAA |
| Primary button | 8.00:1 | AAA |
| Secondary button | 6.23:1 | AA |
| Muted text | 6.38:1 | AA |
| Accent | 14.94:1 | AAA |
| Destructive | 7.49:1 | AAA |
Paste this into your globals.css to use Footrest in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.102 0.027 317.107);
--muted: oklch(0.922 0.011 84.578);
--muted-foreground: oklch(0.518 0.026 84.56);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.102 0.027 317.107);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.081 0.022 317.107);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.856 0.066 314.453);
--primary-foreground: oklch(0.335 0.124 312.215);
--secondary: oklch(0.91 0.041 84.575);
--secondary-foreground: oklch(0.43 0.072 81.963);
--accent: oklch(0.915 0.048 172.948);
--accent-foreground: oklch(0.175 0.023 170.713);
--destructive: oklch(0.378 0.096 46.281);
--destructive-foreground: oklch(0.872 0.061 51.696);
--ring: oklch(0.856 0.066 314.453);
--chart-1: oklch(0.856 0.066 314.453);
--chart-2: oklch(0.91 0.041 84.575);
--chart-3: oklch(0.915 0.048 172.948);
--chart-4: oklch(0.928 0.033 84.59);
--chart-5: oklch(0.854 0.069 314.432);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.015 316.368);
--foreground: oklch(0.992 0.002 314.819);
--muted: oklch(0.236 0.015 84.51);
--muted-foreground: oklch(0.706 0.024 84.591);
--popover: oklch(0.085 0.015 316.368);
--popover-foreground: oklch(0.992 0.002 314.819);
--card: oklch(0.107 0.019 316.368);
--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.856 0.066 314.453);
--primary-foreground: oklch(0.335 0.124 312.215);
--secondary: oklch(0.91 0.041 84.575);
--secondary-foreground: oklch(0.43 0.072 81.963);
--accent: oklch(0.915 0.048 172.948);
--accent-foreground: oklch(0.175 0.023 170.713);
--destructive: oklch(0.701 0.154 48.228);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.856 0.066 314.453);
--chart-1: oklch(0.856 0.066 314.453);
--chart-2: oklch(0.91 0.041 84.575);
--chart-3: oklch(0.915 0.048 172.948);
--chart-4: oklch(0.928 0.033 84.59);
--chart-5: oklch(0.854 0.069 314.432);
}