Rowdy is a shadcn/ui theme built around a pink primary color (#b71a70) with green accents (#1ab761). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#b71a70) on a pink-tinted background (#10050b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #10050bblack |
| Foreground | #040103black | #f9f6f8whitesmoke |
| Card | #ffffffwhite | #10050bblack |
| Card foreground | #040103black | #f9f6f8whitesmoke |
| Popover | #ffffffwhite | #10050bblack |
| Popover foreground | #040103black | #f9f6f8whitesmoke |
| Primary | #b71a70mediumvioletred | #b71a70mediumvioletred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #1ab761mediumseagreen | #1ab761mediumseagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dce5e0gainsboro | #1a231eblack |
| Muted foreground | #37483fdarkslategray | #b7c8besilver |
| Accent | #1ab761mediumseagreen | #1ab761mediumseagreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #bc3115firebrick | #d83818firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b71a70mediumvioletred | #b71a70mediumvioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.77:1 | AAA |
| Text on card | 20.77:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 2.62:1 | Fail |
| Muted text | 7.56:1 | AAA |
| Accent | 2.62:1 | Fail |
| Destructive | 5.85:1 | AA |
| Text on background | 18.69:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 2.62:1 | Fail |
| Muted text | 9.18:1 | AAA |
| Accent | 2.62:1 | Fail |
| Destructive | 4.67:1 | AA |
Paste this into your globals.css to use Rowdy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.084 0.019 342.58);
--muted: oklch(0.914 0.013 162.271);
--muted-foreground: oklch(0.384 0.026 160.811);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.084 0.019 342.58);
--card: oklch(1 0 180);
--card-foreground: oklch(0.084 0.019 342.58);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.519 0.199 354.046);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.685 0.174 152.054);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.685 0.174 152.054);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.527 0.18 32.913);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.519 0.199 354.046);
--chart-1: oklch(0.519 0.199 354.046);
--chart-2: oklch(0.685 0.174 152.054);
--chart-3: oklch(0.685 0.174 152.054);
--chart-4: oklch(0.722 0.184 151.982);
--chart-5: oklch(0.524 0.203 354.549);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.027 344.659);
--foreground: oklch(0.975 0.004 342.717);
--muted: oklch(0.247 0.017 160.758);
--muted-foreground: oklch(0.816 0.022 161.935);
--popover: oklch(0.136 0.027 344.659);
--popover-foreground: oklch(0.975 0.004 342.717);
--card: oklch(0.136 0.027 344.659);
--card-foreground: oklch(0.975 0.004 342.717);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.519 0.199 354.046);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.685 0.174 152.054);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.685 0.174 152.054);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.582 0.201 32.861);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.519 0.199 354.046);
--chart-1: oklch(0.519 0.199 354.046);
--chart-2: oklch(0.685 0.174 152.054);
--chart-3: oklch(0.685 0.174 152.054);
--chart-4: oklch(0.722 0.184 151.982);
--chart-5: oklch(0.524 0.203 354.549);
}