Dimpled is a shadcn/ui theme built around a vivid indigo primary color (#866df8) with vivid green accents (#6df886). The light mode uses a neutral background (#f8f7fd). Dark mode keeps the vivid indigo primary (#866df8) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f7fdghostwhite | #000000black |
| Foreground | #030208black | #ffffffwhite |
| Card | #f4f2fcwhitesmoke | #030303black |
| Card foreground | #020104black | #ffffffwhite |
| Popover | #f8f7fdghostwhite | #000000black |
| Popover foreground | #030208black | #ffffffwhite |
| Primary | #866df8mediumslateblue | #866df8mediumslateblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #f8866dsalmon | #f8866dsalmon |
| Secondary foreground | #310b02black | #310b02black |
| Muted | #f1e3dfmistyrose | #20110eblack |
| Muted foreground | #4f4b4adarkslategray | #b5b1b0darkgray |
| Accent | #6df886lightgreen | #6df886lightgreen |
| Accent foreground | #02310bblack | #02310bblack |
| Destructive | #66270amaroon | #d55215chocolate |
| Destructive foreground | #f7c3ablightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #866df8mediumslateblue | #866df8mediumslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.35:1 | AAA |
| Text on card | 18.85:1 | AAA |
| Primary button | 5.55:1 | AA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 6.86:1 | AA |
| Accent | 10.66:1 | AAA |
| Destructive | 7.16:1 | AAA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 5.55:1 | AA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 8.59:1 | AAA |
| Accent | 10.66:1 | AAA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use Dimpled in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.978 0.009 294.658);
--foreground: oklch(0.097 0.022 293.495);
--muted: oklch(0.925 0.016 32.67);
--muted-foreground: oklch(0.416 0.005 32.664);
--popover: oklch(0.978 0.009 294.658);
--popover-foreground: oklch(0.097 0.022 293.495);
--card: oklch(0.967 0.013 294.571);
--card-foreground: oklch(0.077 0.017 293.495);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.629 0.199 287.672);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.741 0.144 33.753);
--secondary-foreground: oklch(0.214 0.065 36.809);
--accent: oklch(0.876 0.196 147.378);
--accent-foreground: oklch(0.272 0.08 145.911);
--destructive: oklch(0.361 0.099 42.084);
--destructive-foreground: oklch(0.858 0.068 46.119);
--ring: oklch(0.629 0.199 287.672);
--chart-1: oklch(0.629 0.199 287.672);
--chart-2: oklch(0.741 0.144 33.753);
--chart-3: oklch(0.876 0.196 147.378);
--chart-4: oklch(0.764 0.129 33.55);
--chart-5: oklch(0.626 0.205 287.333);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.198 0.025 33.216);
--muted-foreground: oklch(0.763 0.004 32.661);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.629 0.199 287.672);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.741 0.144 33.753);
--secondary-foreground: oklch(0.214 0.065 36.809);
--accent: oklch(0.876 0.196 147.378);
--accent-foreground: oklch(0.272 0.08 145.911);
--destructive: oklch(0.606 0.178 40.821);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.629 0.199 287.672);
--chart-1: oklch(0.629 0.199 287.672);
--chart-2: oklch(0.741 0.144 33.753);
--chart-3: oklch(0.876 0.196 147.378);
--chart-4: oklch(0.764 0.129 33.55);
--chart-5: oklch(0.626 0.205 287.333);
}