Vim Light Soft is a shadcn/ui theme built around a neutral gray primary color (#3b3735) with yellow accents (#e5cc7b). The light mode uses a yellow-tinted background (#f2e5bb). Dark mode keeps the neutral gray primary (#3b3735) on a yellow-tinted background (#f2e5bb).
| Token | Light | Dark |
|---|---|---|
| Background | #f2e5bbwheat | #f2e5bbwheat |
| Foreground | #3b3735darkslategray | #3b3735darkslategray |
| Card | #f0e2b2wheat | #f0e2b2wheat |
| Card foreground | #2e2b29darkslategray | #2e2b29darkslategray |
| Popover | #efe0aewheat | #efe0aewheat |
| Popover foreground | #201e1dblack | #201e1dblack |
| Primary | #3b3735darkslategray | #3b3735darkslategray |
| Primary foreground | #d3d0cflightgrey | #d3d0cflightgrey |
| Secondary | #bfbfbfsilver | #bfbfbfsilver |
| Secondary foreground | #262626darkslategray | #262626darkslategray |
| Muted | #d2cfc6lightgrey | #d2cfc6lightgrey |
| Muted foreground | #39362ddarkslategray | #39362ddarkslategray |
| Accent | #e5cc7bburlywood | #e5cc7bburlywood |
| Accent foreground | #261f08black | #261f08black |
| Destructive | #6b0a0amaroon | #6b0a0amaroon |
| Destructive foreground | #f8b0b0lightpink | #f8b0b0lightpink |
| Border | #e8daabpalegoldenrod | #e8daabpalegoldenrod |
| Input | #e5d49fpalegoldenrod | #e5d49fpalegoldenrod |
| Ring | #3b3735darkslategray | #3b3735darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 9.33:1 | AAA |
| Text on card | 10.82:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 8.25:1 | AAA |
| Muted text | 7.76:1 | AAA |
| Accent | 10.35:1 | AAA |
| Destructive | 7.05:1 | AAA |
| Text on background | 9.33:1 | AAA |
| Text on card | 10.82:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 8.25:1 | AAA |
| Muted text | 7.76:1 | AAA |
| Accent | 10.35:1 | AAA |
| Destructive | 7.05:1 | AAA |
Paste this into your globals.css to use Vim Light Soft in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.921 0.056 93.112);
--foreground: oklch(0.341 0.006 48.534);
--muted: oklch(0.855 0.013 92.803);
--muted-foreground: oklch(0.334 0.016 93.052);
--popover: oklch(0.906 0.067 93.153);
--popover-foreground: oklch(0.237 0.004 48.564);
--card: oklch(0.911 0.063 93.142);
--card-foreground: oklch(0.29 0.005 48.546);
--border: oklch(0.888 0.063 93.147);
--input: oklch(0.872 0.072 93.168);
--primary: oklch(0.341 0.006 48.534);
--primary-foreground: oklch(0.861 0.004 48.694);
--secondary: oklch(0.805 0 169.695);
--secondary-foreground: oklch(0.27 0 180);
--accent: oklch(0.849 0.105 93.017);
--accent-foreground: oklch(0.242 0.039 92.414);
--destructive: oklch(0.339 0.129 27.74);
--destructive-foreground: oklch(0.824 0.085 19.034);
--ring: oklch(0.341 0.006 48.534);
--chart-1: oklch(0.341 0.006 48.534);
--chart-2: oklch(0.805 0 169.695);
--chart-3: oklch(0.849 0.105 93.017);
--chart-4: oklch(0.829 0 180);
--chart-5: oklch(0.34 0.01 48.413);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.921 0.056 93.112);
--foreground: oklch(0.341 0.006 48.534);
--muted: oklch(0.855 0.013 92.803);
--muted-foreground: oklch(0.334 0.016 93.052);
--popover: oklch(0.906 0.067 93.153);
--popover-foreground: oklch(0.237 0.004 48.564);
--card: oklch(0.911 0.063 93.142);
--card-foreground: oklch(0.29 0.005 48.546);
--border: oklch(0.888 0.063 93.147);
--input: oklch(0.872 0.072 93.168);
--primary: oklch(0.341 0.006 48.534);
--primary-foreground: oklch(0.861 0.004 48.694);
--secondary: oklch(0.805 0 169.695);
--secondary-foreground: oklch(0.27 0 180);
--accent: oklch(0.849 0.105 93.017);
--accent-foreground: oklch(0.242 0.039 92.414);
--destructive: oklch(0.339 0.129 27.74);
--destructive-foreground: oklch(0.824 0.085 19.034);
--ring: oklch(0.341 0.006 48.534);
--chart-1: oklch(0.341 0.006 48.534);
--chart-2: oklch(0.805 0 169.695);
--chart-3: oklch(0.849 0.105 93.017);
--chart-4: oklch(0.829 0 180);
--chart-5: oklch(0.34 0.01 48.413);
}