Lip is a shadcn/ui theme built around a deep pink primary color (#5b1f45) with deep red accents (#5b1f27). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep pink primary (#5b1f45) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030203black |
| Foreground | #080206black | #fbf9fasnow |
| Card | #ffffffwhite | #030203black |
| Card foreground | #080206black | #fbf9fasnow |
| Popover | #ffffffwhite | #030203black |
| Popover foreground | #080206black | #fbf9fasnow |
| Primary | #5b1f45darkslategray | #5b1f45darkslategray |
| Primary foreground | #eac2dcthistle | #eac2dcthistle |
| Secondary | #531f5bindigo | #531f5bindigo |
| Secondary foreground | #e5c2eathistle | #e5c2eathistle |
| Muted | #f1e8f2lavender | #160d17black |
| Muted foreground | #5c4f5fdimgray | #aea0b0darkgray |
| Accent | #5b1f27maroon | #5b1f27maroon |
| Accent foreground | #eac2c8pink | #eac2c8pink |
| Destructive | #c33704firebrick | #e13f05orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5b1f45darkslategray | #5b1f45darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.55:1 | AAA |
| Text on card | 20.55:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.69:1 | AAA |
| Muted text | 6.41:1 | AA |
| Accent | 7.79:1 | AAA |
| Destructive | 5.43:1 | AA |
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.69:1 | AAA |
| Muted text | 7.67:1 | AAA |
| Accent | 7.79:1 | AAA |
| Destructive | 4.26:1 | AA Large |
Paste this into your globals.css to use Lip in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.108 0.02 338.963);
--muted: oklch(0.941 0.016 321.64);
--muted-foreground: oklch(0.446 0.03 321.777);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.108 0.02 338.963);
--card: oklch(1 0 180);
--card-foreground: oklch(0.108 0.02 338.963);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.345 0.1 344.667);
--primary-foreground: oklch(0.857 0.056 340.068);
--secondary: oklch(0.345 0.114 322.127);
--secondary-foreground: oklch(0.857 0.066 321.8);
--accent: oklch(0.334 0.088 15.242);
--accent-foreground: oklch(0.851 0.046 9.063);
--destructive: oklch(0.544 0.184 36.117);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.345 0.1 344.667);
--chart-1: oklch(0.345 0.1 344.667);
--chart-2: oklch(0.345 0.114 322.127);
--chart-3: oklch(0.334 0.088 15.242);
--chart-4: oklch(0.373 0.125 322.122);
--chart-5: oklch(0.346 0.105 345.023);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.01 338.882);
--foreground: oklch(0.984 0.003 338.779);
--muted: oklch(0.175 0.024 321.946);
--muted-foreground: oklch(0.724 0.027 321.695);
--popover: oklch(0.088 0.01 338.882);
--popover-foreground: oklch(0.984 0.003 338.779);
--card: oklch(0.088 0.01 338.882);
--card-foreground: oklch(0.984 0.003 338.779);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.345 0.1 344.667);
--primary-foreground: oklch(0.857 0.056 340.068);
--secondary: oklch(0.345 0.114 322.127);
--secondary-foreground: oklch(0.857 0.066 321.8);
--accent: oklch(0.334 0.088 15.242);
--accent-foreground: oklch(0.851 0.046 9.063);
--destructive: oklch(0.604 0.206 35.853);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.345 0.1 344.667);
--chart-1: oklch(0.345 0.1 344.667);
--chart-2: oklch(0.345 0.114 322.127);
--chart-3: oklch(0.334 0.088 15.242);
--chart-4: oklch(0.373 0.125 322.122);
--chart-5: oklch(0.346 0.105 345.023);
}