Withdrawal is a shadcn/ui theme built around a green primary color (#22ce67) with pink accents (#ce2289). The light mode uses a neutral background (#f7fdf9). Dark mode keeps the green primary (#22ce67) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf9mintcream | #000000black |
| Foreground | #030d07black | #f6f9f7whitesmoke |
| Card | #f3fcf6mintcream | #030303black |
| Card foreground | #020804black | #f9fbfamintcream |
| Popover | #f7fdf9mintcream | #000000black |
| Popover foreground | #030d07black | #f6f9f7whitesmoke |
| Primary | #22ce67mediumseagreen | #22ce67mediumseagreen |
| Primary foreground | #051f0fblack | #051f0fblack |
| Secondary | #ce2289mediumvioletred | #ce2289mediumvioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e7dae2gainsboro | #251820black |
| Muted foreground | #6a5863dimgray | #a795a0darkgray |
| Accent | #ce2289mediumvioletred | #ce2289mediumvioletred |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #b40c04firebrick | #fa2419orangered |
| Destructive foreground | #ffeceblinen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #22ce67mediumseagreen | #22ce67mediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.11:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 8.35:1 | AAA |
| Secondary button | 4.98:1 | AA |
| Muted text | 4.85:1 | AA |
| Accent | 4.98:1 | AA |
| Destructive | 6.15:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 8.35:1 | AAA |
| Secondary button | 4.98:1 | AA |
| Muted text | 6.05:1 | AA |
| Accent | 4.98:1 | AA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Withdrawal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.008 160.059);
--foreground: oklch(0.143 0.023 159.728);
--muted: oklch(0.9 0.018 340.687);
--muted-foreground: oklch(0.482 0.028 341.493);
--popover: oklch(0.988 0.008 160.059);
--popover-foreground: oklch(0.143 0.023 159.728);
--card: oklch(0.982 0.011 159.969);
--card-foreground: oklch(0.124 0.02 160.099);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.748 0.196 150.441);
--primary-foreground: oklch(0.213 0.044 154.369);
--secondary: oklch(0.573 0.22 350.438);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.573 0.22 350.438);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.487 0.195 29.639);
--destructive-foreground: oklch(0.958 0.02 21.166);
--ring: oklch(0.748 0.196 150.441);
--chart-1: oklch(0.748 0.196 150.441);
--chart-2: oklch(0.573 0.22 350.438);
--chart-3: oklch(0.573 0.22 350.438);
--chart-4: oklch(0.6 0.231 350.506);
--chart-5: oklch(0.757 0.201 150.107);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.979 0.003 160.153);
--muted: oklch(0.229 0.026 342.634);
--muted-foreground: oklch(0.69 0.025 341.047);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.979 0.003 160.153);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.986 0.002 160.18);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.748 0.196 150.441);
--primary-foreground: oklch(0.213 0.044 154.369);
--secondary: oklch(0.573 0.22 350.438);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.573 0.22 350.438);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.63 0.243 29.314);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.748 0.196 150.441);
--chart-1: oklch(0.748 0.196 150.441);
--chart-2: oklch(0.573 0.22 350.438);
--chart-3: oklch(0.573 0.22 350.438);
--chart-4: oklch(0.6 0.231 350.506);
--chart-5: oklch(0.757 0.201 150.107);
}