Lipid is a shadcn/ui theme built around an orange primary color (#b88e61) with muted light orange accents (#d7ccc1). The light mode uses a neutral background (#fefcfb). Dark mode keeps the orange primary (#b88e61) on a neutral background (#080502).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #080502black |
| Foreground | #080502black | #fdfcfcsnow |
| Card | #fefcfbsnow | #080502black |
| Card foreground | #080502black | #fdfcfcsnow |
| Popover | #fefcfbsnow | #080502black |
| Popover foreground | #080502black | #fdfcfcsnow |
| Primary | #b88e61peru | #b88e61peru |
| Primary foreground | #000000black | #000000black |
| Secondary | #ded9d4gainsboro | #181716black |
| Secondary foreground | #484037darkslategray | #b5b0abdarkgray |
| Muted | #efebe6linen | #191510black |
| Muted foreground | #554f49darkolivegreen | #b6b0aadarkgray |
| Accent | #d7ccc1lightgrey | #312c25darkslategray |
| Accent foreground | #3e3328darkslategray | #cdc5bcsilver |
| Destructive | #92240csaddlebrown | #ec3b13orangered |
| Destructive foreground | #fcdcd5mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b88e61peru | #b88e61peru |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 6.79:1 | AA |
| Accent | 7.79:1 | AAA |
| Destructive | 6.56:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 8.47:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Lipid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 69.632);
--foreground: oklch(0.119 0.012 77.031);
--muted: oklch(0.942 0.009 69.561);
--muted-foreground: oklch(0.432 0.013 69.323);
--popover: oklch(0.993 0.002 69.632);
--popover-foreground: oklch(0.119 0.012 77.031);
--card: oklch(0.993 0.002 69.632);
--card-foreground: oklch(0.119 0.012 77.031);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.675 0.079 67.675);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.887 0.009 69.552);
--secondary-foreground: oklch(0.377 0.018 69.106);
--accent: oklch(0.852 0.019 69.42);
--accent-foreground: oklch(0.33 0.024 68.724);
--destructive: oklch(0.438 0.149 33.526);
--destructive-foreground: oklch(0.918 0.037 32.723);
--ring: oklch(0.675 0.079 67.675);
--chart-1: oklch(0.675 0.079 67.675);
--chart-2: oklch(0.887 0.009 69.552);
--chart-3: oklch(0.852 0.019 69.42);
--chart-4: oklch(0.91 0.007 69.575);
--chart-5: oklch(0.679 0.085 67.427);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.013 77.171);
--foreground: oklch(0.993 0.001 69.637);
--muted: oklch(0.198 0.012 68.881);
--muted-foreground: oklch(0.761 0.012 69.497);
--popover: oklch(0.119 0.013 77.171);
--popover-foreground: oklch(0.993 0.001 69.637);
--card: oklch(0.119 0.013 77.171);
--card-foreground: oklch(0.993 0.001 69.637);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.675 0.079 67.675);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.206 0.003 69.478);
--secondary-foreground: oklch(0.76 0.009 69.536);
--accent: oklch(0.296 0.014 69.111);
--accent-foreground: oklch(0.826 0.015 69.469);
--destructive: oklch(0.619 0.218 33.206);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.675 0.079 67.675);
--chart-1: oklch(0.675 0.079 67.675);
--chart-2: oklch(0.206 0.003 69.478);
--chart-3: oklch(0.296 0.014 69.111);
--chart-4: oklch(0.239 0.004 69.459);
--chart-5: oklch(0.679 0.085 67.427);
}