Lap is a shadcn/ui theme built around a vivid light green primary color (#99ffb9) with vivid light purple accents (#ff99df). The light mode uses a neutral background (#fbfdfc). Dark mode keeps the vivid light green primary (#99ffb9) on a neutral background (#010402).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfcwhite | #010402black |
| Foreground | #010402black | #ffffffwhite |
| Card | #f8fcf9mintcream | #030804black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fcf9mintcream | #030804black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #99ffb9palegreen | #99ffb9palegreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #ff99dfviolet | #ff99dfviolet |
| Secondary foreground | #660046purple | #660046purple |
| Muted | #ebe5e9lavender | #1a1418black |
| Muted foreground | #665761dimgray | #a899a3darkgray |
| Accent | #ff99dfviolet | #ff99dfviolet |
| Accent foreground | #660046purple | #660046purple |
| Destructive | #bd3900firebrick | #fa4b00orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #99ffb9palegreen | #99ffb9palegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 17.36:1 | AAA |
| Secondary button | 6.57:1 | AA |
| Muted text | 5.44:1 | AA |
| Accent | 6.57:1 | AA |
| Destructive | 5.62:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 17.36:1 | AAA |
| Secondary button | 6.57:1 | AA |
| Muted text | 6.71:1 | AA |
| Accent | 6.57:1 | AA |
| Destructive | 3.46:1 | AA Large |
Paste this into your globals.css to use Lap in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 156.504);
--foreground: oklch(0.098 0.015 156.139);
--muted: oklch(0.927 0.01 336.763);
--muted-foreground: oklch(0.474 0.025 337.564);
--popover: oklch(0.987 0.006 156.447);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.006 156.447);
--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.92 0.136 153.14);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.809 0.148 339.849);
--secondary-foreground: oklch(0.339 0.143 346.817);
--accent: oklch(0.809 0.148 339.849);
--accent-foreground: oklch(0.339 0.143 346.817);
--destructive: oklch(0.535 0.177 37.575);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.92 0.136 153.14);
--chart-1: oklch(0.92 0.136 153.14);
--chart-2: oklch(0.809 0.148 339.849);
--chart-3: oklch(0.809 0.148 339.849);
--chart-4: oklch(0.835 0.125 339.28);
--chart-5: oklch(0.922 0.14 153.039);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.013 156.208);
--foreground: oklch(1 0 180);
--muted: oklch(0.2 0.014 337.898);
--muted-foreground: oklch(0.7 0.023 337.185);
--popover: oklch(0.122 0.016 156.208);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.122 0.016 156.208);
--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.92 0.136 153.14);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.809 0.148 339.849);
--secondary-foreground: oklch(0.339 0.143 346.817);
--accent: oklch(0.809 0.148 339.849);
--accent-foreground: oklch(0.339 0.143 346.817);
--destructive: oklch(0.657 0.22 36.921);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.92 0.136 153.14);
--chart-1: oklch(0.92 0.136 153.14);
--chart-2: oklch(0.809 0.148 339.849);
--chart-3: oklch(0.809 0.148 339.849);
--chart-4: oklch(0.835 0.125 339.28);
--chart-5: oklch(0.922 0.14 153.039);
}