Lamp is a shadcn/ui theme built around a muted light teal primary color (#dbebe4) with muted light orange accents (#ebe4db). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted light teal primary (#dbebe4) on a neutral background (#020806).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #020806black |
| Foreground | #03170eblack | #f9fbfamintcream |
| Card | #fbfefdwhite | #020806black |
| Card foreground | #03170eblack | #f9fbfamintcream |
| Popover | #fbfefdwhite | #020806black |
| Popover foreground | #03170eblack | #f9fbfamintcream |
| Primary | #dbebe4gainsboro | #dbebe4gainsboro |
| Primary foreground | #101e18black | #101e18black |
| Secondary | #e4dbebgainsboro | #e4dbebgainsboro |
| Secondary foreground | #4e355fdarkslategray | #4e355fdarkslategray |
| Muted | #dfd5e7gainsboro | #23182ablack |
| Muted foreground | #413946darkslategray | #c0b9c6silver |
| Accent | #ebe4dbantiquewhite | #ebe4dbantiquewhite |
| Accent foreground | #5f4e35darkolivegreen | #5f4e35darkolivegreen |
| Destructive | #db0906red | #f91410red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dbebe4gainsboro | #dbebe4gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.25:1 | AAA |
| Text on card | 18.25:1 | AAA |
| Primary button | 13.94:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 7.78:1 | AAA |
| Accent | 6.35:1 | AA |
| Destructive | 5.18:1 | AA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 13.94:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 8.91:1 | AAA |
| Accent | 6.35:1 | AA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Lamp in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 169.572);
--foreground: oklch(0.183 0.034 164.683);
--muted: oklch(0.886 0.028 311.473);
--muted-foreground: oklch(0.359 0.024 311.192);
--popover: oklch(0.994 0.003 169.572);
--popover-foreground: oklch(0.183 0.034 164.683);
--card: oklch(0.994 0.003 169.572);
--card-foreground: oklch(0.183 0.034 164.683);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.926 0.019 169.063);
--primary-foreground: oklch(0.219 0.022 166.444);
--secondary: oklch(0.903 0.024 311.509);
--secondary-foreground: oklch(0.375 0.077 309.975);
--accent: oklch(0.923 0.015 76.572);
--accent-foreground: oklch(0.434 0.045 75.458);
--destructive: oklch(0.562 0.227 29.192);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.926 0.019 169.063);
--chart-1: oklch(0.926 0.019 169.063);
--chart-2: oklch(0.903 0.024 311.509);
--chart-3: oklch(0.923 0.015 76.572);
--chart-4: oklch(0.93 0.017 311.573);
--chart-5: oklch(0.927 0.021 169.001);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.015 169.923);
--foreground: oklch(0.986 0.002 169.625);
--muted: oklch(0.231 0.038 310.36);
--muted-foreground: oklch(0.795 0.02 311.527);
--popover: oklch(0.124 0.015 169.923);
--popover-foreground: oklch(0.986 0.002 169.625);
--card: oklch(0.124 0.015 169.923);
--card-foreground: oklch(0.986 0.002 169.625);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.926 0.019 169.063);
--primary-foreground: oklch(0.219 0.022 166.444);
--secondary: oklch(0.903 0.024 311.509);
--secondary-foreground: oklch(0.375 0.077 309.975);
--accent: oklch(0.923 0.015 76.572);
--accent-foreground: oklch(0.434 0.045 75.458);
--destructive: oklch(0.621 0.248 28.976);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.926 0.019 169.063);
--chart-1: oklch(0.926 0.019 169.063);
--chart-2: oklch(0.903 0.024 311.509);
--chart-3: oklch(0.923 0.015 76.572);
--chart-4: oklch(0.93 0.017 311.573);
--chart-5: oklch(0.927 0.021 169.001);
}