Feel is a shadcn/ui theme built around a green primary color (#c4db8f) with violet accents (#a68fdb). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the green primary (#c4db8f) on a green-tinted background (#0b0d07).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcf8snow | #0b0d07black |
| Foreground | #030401black | #fafbf9snow |
| Card | #f9fbf4whitesmoke | #0e1109black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #f9fbf4whitesmoke | #0e1109black |
| Popover foreground | #000000black | #fdfdfcwhite |
| Primary | #c4db8ftan | #c4db8ftan |
| Primary foreground | #222a0eblack | #222a0eblack |
| Secondary | #a68fdbmediumpurple | #a68fdbmediumpurple |
| Secondary foreground | #160e2ablack | #160e2ablack |
| Muted | #ddd8e8gainsboro | #1b1727black |
| Muted foreground | #575167dimgray | #9f98aedarkgray |
| Accent | #a68fdbmediumpurple | #a68fdbmediumpurple |
| Accent foreground | #160e2ablack | #160e2ablack |
| Destructive | #6f2001maroon | #fd5412orangered |
| Destructive foreground | #febea4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c4db8ftan | #c4db8ftan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.96:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 9.85:1 | AAA |
| Secondary button | 6.71:1 | AA |
| Muted text | 5.44:1 | AA |
| Accent | 6.71:1 | AA |
| Destructive | 6.95:1 | AA |
| Text on background | 18.77:1 | AAA |
| Text on card | 18.73:1 | AAA |
| Primary button | 9.85:1 | AAA |
| Secondary button | 6.71:1 | AA |
| Muted text | 6.33:1 | AA |
| Accent | 6.71:1 | AA |
| Destructive | 3.25:1 | AA Large |
Paste this into your globals.css to use Feel in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 120.146);
--foreground: oklch(0.105 0.019 119.872);
--muted: oklch(0.892 0.022 299.62);
--muted-foreground: oklch(0.449 0.036 298.657);
--popover: oklch(0.984 0.01 120.201);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.01 120.201);
--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.856 0.101 122.141);
--primary-foreground: oklch(0.27 0.049 123.528);
--secondary: oklch(0.7 0.111 297.258);
--secondary-foreground: oklch(0.192 0.056 294.376);
--accent: oklch(0.7 0.111 297.258);
--accent-foreground: oklch(0.192 0.056 294.376);
--destructive: oklch(0.367 0.117 38.558);
--destructive-foreground: oklch(0.853 0.083 42.529);
--ring: oklch(0.856 0.101 122.141);
--chart-1: oklch(0.856 0.101 122.141);
--chart-2: oklch(0.7 0.111 297.258);
--chart-3: oklch(0.7 0.111 297.258);
--chart-4: oklch(0.732 0.098 297.699);
--chart-5: oklch(0.861 0.107 122.252);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.156 0.014 120.983);
--foreground: oklch(0.987 0.002 120.08);
--muted: oklch(0.217 0.031 297.51);
--muted-foreground: oklch(0.693 0.033 299.242);
--popover: oklch(0.171 0.016 121.62);
--popover-foreground: oklch(0.993 0.001 120.059);
--card: oklch(0.171 0.016 121.62);
--card-foreground: oklch(0.993 0.001 120.059);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.856 0.101 122.141);
--primary-foreground: oklch(0.27 0.049 123.528);
--secondary: oklch(0.7 0.111 297.258);
--secondary-foreground: oklch(0.192 0.056 294.376);
--accent: oklch(0.7 0.111 297.258);
--accent-foreground: oklch(0.192 0.056 294.376);
--destructive: oklch(0.672 0.215 37.778);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.856 0.101 122.141);
--chart-1: oklch(0.856 0.101 122.141);
--chart-2: oklch(0.7 0.111 297.258);
--chart-3: oklch(0.7 0.111 297.258);
--chart-4: oklch(0.732 0.098 297.699);
--chart-5: oklch(0.861 0.107 122.252);
}