Gelding is a shadcn/ui theme built around a light green primary color (#ebeedd) with light green accents (#e2eedd). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#ebeedd) on a green-tinted background (#0e1004).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e1004black |
| Foreground | #0e1103black | #fbfbf9snow |
| Card | #fcfcfcsnow | #111406black |
| Card foreground | #0b0d03black | #fdfdfcwhite |
| Popover | #ffffffwhite | #0e1004black |
| Popover foreground | #0e1103black | #fbfbf9snow |
| Primary | #ebeeddbeige | #ebeeddbeige |
| Primary foreground | #1f2211black | #1f2211black |
| Secondary | #eee9ddantiquewhite | #eee9ddantiquewhite |
| Secondary foreground | #221d11black | #221d11black |
| Muted | #e9e5ddgainsboro | #221e16black |
| Muted foreground | #716956dimgray | #a9a18erosybrown |
| Accent | #e2eeddgainsboro | #e2eeddgainsboro |
| Accent foreground | #162211black | #162211black |
| Destructive | #9d1f0cfirebrick | #ef442aorangered |
| Destructive foreground | #fde2demistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ebeeddbeige | #ebeeddbeige |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.08:1 | AAA |
| Text on card | 19.14:1 | AAA |
| Primary button | 13.75:1 | AAA |
| Secondary button | 13.84:1 | AAA |
| Muted text | 4.33:1 | AA Large |
| Accent | 13.78:1 | AAA |
| Destructive | 6.51:1 | AA |
| Text on background | 18.53:1 | AAA |
| Text on card | 18.32:1 | AAA |
| Primary button | 13.75:1 | AAA |
| Secondary button | 13.84:1 | AAA |
| Muted text | 6.45:1 | AA |
| Accent | 13.78:1 | AAA |
| Destructive | 3.80:1 | AA Large |
Paste this into your globals.css to use Gelding in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.17 0.029 117.782);
--muted: oklch(0.923 0.011 87.48);
--muted-foreground: oklch(0.523 0.031 87.563);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.17 0.029 117.782);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.151 0.025 116.799);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.942 0.023 116.031);
--primary-foreground: oklch(0.244 0.031 117.989);
--secondary: oklch(0.935 0.017 87.506);
--secondary-foreground: oklch(0.233 0.023 87.349);
--accent: oklch(0.936 0.026 136.126);
--accent-foreground: oklch(0.236 0.036 136.725);
--destructive: oklch(0.452 0.164 31.544);
--destructive-foreground: oklch(0.933 0.03 28.128);
--ring: oklch(0.942 0.023 116.031);
--chart-1: oklch(0.942 0.023 116.031);
--chart-2: oklch(0.935 0.017 87.506);
--chart-3: oklch(0.936 0.026 136.126);
--chart-4: oklch(0.954 0.012 87.482);
--chart-5: oklch(0.944 0.025 116.069);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.166 0.024 117.5);
--foreground: oklch(0.988 0.004 115.644);
--muted: oklch(0.237 0.015 87.554);
--muted-foreground: oklch(0.711 0.029 87.564);
--popover: oklch(0.166 0.024 117.5);
--popover-foreground: oklch(0.988 0.004 115.644);
--card: oklch(0.183 0.028 118.116);
--card-foreground: oklch(0.994 0.002 115.611);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.942 0.023 116.031);
--primary-foreground: oklch(0.244 0.031 117.989);
--secondary: oklch(0.935 0.017 87.506);
--secondary-foreground: oklch(0.233 0.023 87.349);
--accent: oklch(0.936 0.026 136.126);
--accent-foreground: oklch(0.236 0.036 136.725);
--destructive: oklch(0.634 0.212 31.654);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.942 0.023 116.031);
--chart-1: oklch(0.942 0.023 116.031);
--chart-2: oklch(0.935 0.017 87.506);
--chart-3: oklch(0.936 0.026 136.126);
--chart-4: oklch(0.954 0.012 87.482);
--chart-5: oklch(0.944 0.025 116.069);
}