Lament is a shadcn/ui theme built around a red primary color (#d96d7f) with blue accents (#6d7fd9). The light mode uses a neutral background (#fefbfc). Dark mode keeps the red primary (#d96d7f) on a neutral background (#070304).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #070304black |
| Foreground | #0c0305black | #fbf9f9snow |
| Card | #fdf7f8snow | #0b0506black |
| Card foreground | #080203black | #fdfcfcsnow |
| Popover | #fdf7f8snow | #0b0506black |
| Popover foreground | #080203black | #fdfcfcsnow |
| Primary | #d96d7fpalevioletred | #d96d7fpalevioletred |
| Primary foreground | #100406black | #100406black |
| Secondary | #7fd96dlightgreen | #7fd96dlightgreen |
| Secondary foreground | #061004black | #061004black |
| Muted | #e5f3e2beige | #0f1d0cblack |
| Muted foreground | #5f695ddimgray | #98a296darkgray |
| Accent | #6d7fd9cornflowerblue | #6d7fd9cornflowerblue |
| Accent foreground | #000000black | #000000black |
| Destructive | #b54b12sienna | #eb7637tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d96d7fpalevioletred | #d96d7fpalevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 6.19:1 | AA |
| Secondary button | 11.15:1 | AAA |
| Muted text | 4.97:1 | AA |
| Accent | 5.69:1 | AA |
| Destructive | 5.27:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 6.19:1 | AA |
| Secondary button | 11.15:1 | AAA |
| Muted text | 6.63:1 | AA |
| Accent | 5.69:1 | AA |
| Destructive | 7.20:1 | AAA |
Paste this into your globals.css to use Lament in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 5.527);
--foreground: oklch(0.12 0.021 6.22);
--muted: oklch(0.949 0.026 140.489);
--muted-foreground: oklch(0.51 0.022 140.465);
--popover: oklch(0.981 0.006 5.607);
--popover-foreground: oklch(0.104 0.018 6.044);
--card: oklch(0.981 0.006 5.607);
--card-foreground: oklch(0.104 0.018 6.044);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.666 0.136 11.01);
--primary-foreground: oklch(0.133 0.026 7.294);
--secondary: oklch(0.805 0.169 140.36);
--secondary-foreground: oklch(0.159 0.031 139.106);
--accent: oklch(0.624 0.137 273.264);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.545 0.151 43.522);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.666 0.136 11.01);
--chart-1: oklch(0.666 0.136 11.01);
--chart-2: oklch(0.805 0.169 140.36);
--chart-3: oklch(0.624 0.137 273.264);
--chart-4: oklch(0.82 0.156 140.343);
--chart-5: oklch(0.665 0.143 11.353);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.012 5.809);
--foreground: oklch(0.984 0.002 5.493);
--muted: oklch(0.211 0.036 140.339);
--muted-foreground: oklch(0.699 0.021 140.486);
--popover: oklch(0.124 0.014 5.827);
--popover-foreground: oklch(0.992 0.001 5.471);
--card: oklch(0.124 0.014 5.827);
--card-foreground: oklch(0.992 0.001 5.471);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.666 0.136 11.01);
--primary-foreground: oklch(0.133 0.026 7.294);
--secondary: oklch(0.805 0.169 140.36);
--secondary-foreground: oklch(0.159 0.031 139.106);
--accent: oklch(0.624 0.137 273.264);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.692 0.163 46.198);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.666 0.136 11.01);
--chart-1: oklch(0.666 0.136 11.01);
--chart-2: oklch(0.805 0.169 140.36);
--chart-3: oklch(0.624 0.137 273.264);
--chart-4: oklch(0.82 0.156 140.343);
--chart-5: oklch(0.665 0.143 11.353);
}