Amendment is a shadcn/ui theme built around a vivid light yellow primary color (#f8de96) with vivid light violet accents (#de96f8). The light mode uses a neutral background (#fefdfb). Dark mode keeps the vivid light yellow primary (#f8de96) on a neutral background (#070603).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #070603black |
| Foreground | #000000black | #faf9f5whitesmoke |
| Card | #fefdfbsnow | #070603black |
| Card foreground | #000000black | #faf9f5whitesmoke |
| Popover | #fefdfbsnow | #070603black |
| Popover foreground | #000000black | #faf9f5whitesmoke |
| Primary | #f8de96khaki | #f8de96khaki |
| Primary foreground | #564106saddlebrown | #564106saddlebrown |
| Secondary | #96f8deaquamarine | #96f8deaquamarine |
| Secondary foreground | #065641darkslategray | #065641darkslategray |
| Muted | #d6e1degainsboro | #1e2926darkslategray |
| Muted foreground | #48615adarkslategray | #9eb7b1darkgray |
| Accent | #de96f8violet | #de96f8violet |
| Accent foreground | #410656indigo | #410656indigo |
| Destructive | #661f05maroon | #ef480borangered |
| Destructive foreground | #fbbaa2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f8de96khaki | #f8de96khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 5.00:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 7.16:1 | AAA |
| Text on background | 19.23:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 7.01:1 | AAA |
| Accent | 7.07:1 | AAA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Amendment in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 90.142);
--foreground: oklch(0 0 0);
--muted: oklch(0.9 0.013 178.366);
--muted-foreground: oklch(0.469 0.032 176.635);
--popover: oklch(0.994 0.003 90.142);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.003 90.142);
--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.906 0.095 90.299);
--primary-foreground: oklch(0.387 0.076 86.078);
--secondary: oklch(0.912 0.101 174.966);
--secondary-foreground: oklch(0.405 0.079 168.271);
--accent: oklch(0.778 0.155 316.665);
--accent-foreground: oklch(0.285 0.133 314.081);
--destructive: oklch(0.349 0.108 38.083);
--destructive-foreground: oklch(0.842 0.082 40.855);
--ring: oklch(0.906 0.095 90.299);
--chart-1: oklch(0.906 0.095 90.299);
--chart-2: oklch(0.912 0.101 174.966);
--chart-3: oklch(0.778 0.155 316.665);
--chart-4: oklch(0.922 0.089 175.585);
--chart-5: oklch(0.909 0.098 90.274);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.01 93.672);
--foreground: oklch(0.981 0.006 90.165);
--muted: oklch(0.271 0.017 176.86);
--muted-foreground: oklch(0.76 0.029 177.63);
--popover: oklch(0.122 0.01 93.672);
--popover-foreground: oklch(0.981 0.006 90.165);
--card: oklch(0.122 0.01 93.672);
--card-foreground: oklch(0.981 0.006 90.165);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.906 0.095 90.299);
--primary-foreground: oklch(0.387 0.076 86.078);
--secondary: oklch(0.912 0.101 174.966);
--secondary-foreground: oklch(0.405 0.079 168.271);
--accent: oklch(0.778 0.155 316.665);
--accent-foreground: oklch(0.285 0.133 314.081);
--destructive: oklch(0.636 0.212 36.376);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.906 0.095 90.299);
--chart-1: oklch(0.906 0.095 90.299);
--chart-2: oklch(0.912 0.101 174.966);
--chart-3: oklch(0.778 0.155 316.665);
--chart-4: oklch(0.922 0.089 175.585);
--chart-5: oklch(0.909 0.098 90.274);
}