Negligible is a shadcn/ui theme built around a deep yellow primary color (#584613) with muted light yellow accents (#cdc8bc). The light mode uses a neutral background (#fefdfb). Dark mode keeps the deep yellow primary (#584613) on a yellow-tinted background (#0f0d05).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #0f0d05black |
| Foreground | #000000black | #f9f8f6whitesmoke |
| Card | #fefdfbsnow | #0f0d05black |
| Card foreground | #000000black | #f9f8f6whitesmoke |
| Popover | #fefdfbsnow | #0f0d05black |
| Popover foreground | #000000black | #f9f8f6whitesmoke |
| Primary | #584613darkolivegreen | #584613darkolivegreen |
| Primary foreground | #eeddb0wheat | #eeddb0wheat |
| Secondary | #e1dfdbgainsboro | #353431darkslategray |
| Secondary foreground | #4a473fdarkslategray | #cecdcalightgrey |
| Muted | #e4e1d8gainsboro | #27241bblack |
| Muted foreground | #404040darkslategray | #bfbfbfsilver |
| Accent | #cdc8bcsilver | #504b3fdarkolivegreen |
| Accent foreground | #312e25darkslategray | #e4e2ddgainsboro |
| Destructive | #ad2a10firebrick | #ee6144tomato |
| Destructive foreground | #fef3f1seashell | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #584613darkolivegreen | #584613darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.65:1 | AAA |
| Text on card | 20.65:1 | AAA |
| Primary button | 6.82:1 | AA |
| Secondary button | 6.96:1 | AA |
| Muted text | 7.90:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 18.35:1 | AAA |
| Text on card | 18.35:1 | AAA |
| Primary button | 6.82:1 | AA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 8.43:1 | AAA |
| Accent | 6.67:1 | AA |
| Destructive | 6.40:1 | AA |
Paste this into your globals.css to use Negligible in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 90.141);
--foreground: oklch(0 0 0);
--muted: oklch(0.909 0.012 90.22);
--muted-foreground: oklch(0.371 0 168.69);
--popover: oklch(0.994 0.003 90.141);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.003 90.141);
--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.401 0.071 88.265);
--primary-foreground: oklch(0.9 0.062 90.431);
--secondary: oklch(0.904 0.005 90.167);
--secondary-foreground: oklch(0.4 0.014 90.342);
--accent: oklch(0.834 0.017 90.266);
--accent-foreground: oklch(0.302 0.016 90.41);
--destructive: oklch(0.492 0.171 32.828);
--destructive-foreground: oklch(0.972 0.012 31.068);
--ring: oklch(0.401 0.071 88.265);
--chart-1: oklch(0.401 0.071 88.265);
--chart-2: oklch(0.904 0.005 90.167);
--chart-3: oklch(0.834 0.017 90.266);
--chart-4: oklch(0.926 0.004 90.155);
--chart-5: oklch(0.405 0.073 87.981);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.017 92.243);
--foreground: oklch(0.979 0.003 90.145);
--muted: oklch(0.261 0.016 90.427);
--muted-foreground: oklch(0.805 0 169.695);
--popover: oklch(0.157 0.017 92.243);
--popover-foreground: oklch(0.979 0.003 90.145);
--card: oklch(0.157 0.017 92.243);
--card-foreground: oklch(0.979 0.003 90.145);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.401 0.071 88.265);
--primary-foreground: oklch(0.9 0.062 90.431);
--secondary: oklch(0.324 0.004 90.213);
--secondary-foreground: oklch(0.847 0.003 90.15);
--accent: oklch(0.415 0.021 90.404);
--accent-foreground: oklch(0.913 0.008 90.183);
--destructive: oklch(0.667 0.18 33.123);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.401 0.071 88.265);
--chart-1: oklch(0.401 0.071 88.265);
--chart-2: oklch(0.324 0.004 90.213);
--chart-3: oklch(0.415 0.021 90.404);
--chart-4: oklch(0.354 0.005 90.216);
--chart-5: oklch(0.405 0.073 87.981);
}