Feedback is a shadcn/ui theme built around a light green primary color (#a3efa6) with muted light green accents (#e0e6e0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#a3efa6) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #020d02black | #fcfdfcwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #020d02black | #fcfdfcwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #020d02black | #fcfdfcwhite |
| Primary | #a3efa6palegreen | #a3efa6palegreen |
| Primary foreground | #0e5310darkgreen | #0e5310darkgreen |
| Secondary | #e0e6e0gainsboro | #1a1e1ablack |
| Secondary foreground | #435143darkslategray | #b0bab0darkgray |
| Muted | #e9f1eawhitesmoke | #0e160eblack |
| Muted foreground | #5d6f5ddimgray | #90a290darkseagreen |
| Accent | #e0e6e0gainsboro | #1a1e1ablack |
| Accent foreground | #435143darkslategray | #b0bab0darkgray |
| Destructive | #8a210fsaddlebrown | #e84326orangered |
| Destructive foreground | #fad7d1bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a3efa6palegreen | #a3efa6palegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.79:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 6.85:1 | AA |
| Secondary button | 6.62:1 | AA |
| Muted text | 4.67:1 | AA |
| Accent | 6.62:1 | AA |
| Destructive | 6.78:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 6.85:1 | AA |
| Secondary button | 8.43:1 | AAA |
| Muted text | 6.82:1 | AA |
| Accent | 8.43:1 | AAA |
| Destructive | 3.98:1 | AA Large |
Paste this into your globals.css to use Feedback in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.143 0.035 144.489);
--muted: oklch(0.95 0.012 146.426);
--muted-foreground: oklch(0.522 0.035 145.932);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.143 0.035 144.489);
--card: oklch(1 0 180);
--card-foreground: oklch(0.143 0.035 144.489);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.885 0.125 145.207);
--primary-foreground: oklch(0.386 0.118 143.225);
--secondary: oklch(0.918 0.009 146.451);
--secondary-foreground: oklch(0.419 0.03 145.894);
--accent: oklch(0.918 0.009 146.451);
--accent-foreground: oklch(0.419 0.03 145.894);
--destructive: oklch(0.42 0.144 32.302);
--destructive-foreground: oklch(0.907 0.04 29.688);
--ring: oklch(0.885 0.125 145.207);
--chart-1: oklch(0.885 0.125 145.207);
--chart-2: oklch(0.918 0.009 146.451);
--chart-3: oklch(0.918 0.009 146.451);
--chart-4: oklch(0.941 0.007 146.478);
--chart-5: oklch(0.888 0.13 145.153);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 146.525);
--muted: oklch(0.188 0.018 145.64);
--muted-foreground: oklch(0.693 0.033 146.118);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 146.525);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.002 146.525);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.885 0.125 145.207);
--primary-foreground: oklch(0.386 0.118 143.225);
--secondary: oklch(0.23 0.009 146.182);
--secondary-foreground: oklch(0.779 0.018 146.337);
--accent: oklch(0.23 0.009 146.182);
--accent-foreground: oklch(0.779 0.018 146.337);
--destructive: oklch(0.622 0.206 32.364);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.885 0.125 145.207);
--chart-1: oklch(0.885 0.125 145.207);
--chart-2: oklch(0.23 0.009 146.182);
--chart-3: oklch(0.23 0.009 146.182);
--chart-4: oklch(0.263 0.011 146.154);
--chart-5: oklch(0.888 0.13 145.153);
}