Rash is a shadcn/ui theme built around a vivid green primary color (#64fca1) with vivid pink accents (#fc64bf). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#64fca1) on a green-tinted background (#040c07).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040c07black |
| Foreground | #010402black | #fcfdfcwhite |
| Card | #ffffffwhite | #040c07black |
| Card foreground | #010402black | #fcfdfcwhite |
| Popover | #ffffffwhite | #040c07black |
| Popover foreground | #010402black | #fcfdfcwhite |
| Primary | #64fca1mediumaquamarine | #64fca1mediumaquamarine |
| Primary foreground | #012d13black | #012d13black |
| Secondary | #fc64bfhotpink | #fc64bfhotpink |
| Secondary foreground | #2d011bblack | #2d011bblack |
| Muted | #e7d0degainsboro | #2f1826black |
| Muted foreground | #4a3b44darkslategray | #c4b5besilver |
| Accent | #fc64bfhotpink | #fc64bfhotpink |
| Accent foreground | #2d011bblack | #2d011bblack |
| Destructive | #b70101darkred | #fe1616red |
| Destructive foreground | #ffebeblinen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #64fca1mediumaquamarine | #64fca1mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 11.51:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 7.21:1 | AAA |
| Accent | 6.81:1 | AA |
| Destructive | 6.09:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 11.51:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 8.35:1 | AAA |
| Accent | 6.81:1 | AA |
| Destructive | 3.93:1 | AA Large |
Paste this into your globals.css to use Rash in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.1 0.018 160.08);
--muted: oklch(0.88 0.032 341.044);
--muted-foreground: oklch(0.371 0.025 341.686);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.1 0.018 160.08);
--card: oklch(1 0 180);
--card-foreground: oklch(0.1 0.018 160.08);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.887 0.181 153.853);
--primary-foreground: oklch(0.261 0.068 151.933);
--secondary: oklch(0.722 0.207 346.501);
--secondary-foreground: oklch(0.198 0.08 348.716);
--accent: oklch(0.722 0.207 346.501);
--accent-foreground: oklch(0.198 0.08 348.716);
--destructive: oklch(0.489 0.2 29.185);
--destructive-foreground: oklch(0.955 0.022 17.544);
--ring: oklch(0.887 0.181 153.853);
--chart-1: oklch(0.887 0.181 153.853);
--chart-2: oklch(0.722 0.207 346.501);
--chart-3: oklch(0.722 0.207 346.501);
--chart-4: oklch(0.743 0.189 345.682);
--chart-5: oklch(0.892 0.186 153.665);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.019 159.909);
--foreground: oklch(0.993 0.002 160.19);
--muted: oklch(0.247 0.044 343.977);
--muted-foreground: oklch(0.789 0.02 340.812);
--popover: oklch(0.141 0.019 159.909);
--popover-foreground: oklch(0.993 0.002 160.19);
--card: oklch(0.141 0.019 159.909);
--card-foreground: oklch(0.993 0.002 160.19);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.887 0.181 153.853);
--primary-foreground: oklch(0.261 0.068 151.933);
--secondary: oklch(0.722 0.207 346.501);
--secondary-foreground: oklch(0.198 0.08 348.716);
--accent: oklch(0.722 0.207 346.501);
--accent-foreground: oklch(0.198 0.08 348.716);
--destructive: oklch(0.631 0.252 28.615);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.887 0.181 153.853);
--chart-1: oklch(0.887 0.181 153.853);
--chart-2: oklch(0.722 0.207 346.501);
--chart-3: oklch(0.722 0.207 346.501);
--chart-4: oklch(0.743 0.189 345.682);
--chart-5: oklch(0.892 0.186 153.665);
}