Rowing is a shadcn/ui theme built around a deep red primary color (#3e0f0f) with deep teal accents (#0f3e3e). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the deep red primary (#3e0f0f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f8snow | #000000black |
| Foreground | #120202black | #fbf8f8snow |
| Card | #fbf4f4lavenderblush | #030303black |
| Card foreground | #0e0202black | #fdfcfcsnow |
| Popover | #fcf8f8snow | #000000black |
| Popover foreground | #120202black | #fbf8f8snow |
| Primary | #3e0f0fblack | #3e0f0fblack |
| Primary foreground | #e79898darksalmon | #e79898darksalmon |
| Secondary | #0f3e3edarkslategray | #0f3e3edarkslategray |
| Secondary foreground | #45d3d3mediumturquoise | #45d3d3mediumturquoise |
| Muted | #e3e8e8gainsboro | #171c1cblack |
| Muted foreground | #4d5656darkslategray | #a9b2b2darkgray |
| Accent | #0f3e3edarkslategray | #0f3e3edarkslategray |
| Accent foreground | #45d3d3mediumturquoise | #45d3d3mediumturquoise |
| Destructive | #601206maroon | #f24f36tomato |
| Destructive foreground | #f9ab9flightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3e0f0fblack | #3e0f0fblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.18:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 7.31:1 | AAA |
| Secondary button | 6.47:1 | AA |
| Muted text | 6.11:1 | AA |
| Accent | 6.47:1 | AA |
| Destructive | 7.15:1 | AAA |
| Text on background | 19.88:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 7.31:1 | AAA |
| Secondary button | 6.47:1 | AA |
| Muted text | 7.93:1 | AAA |
| Accent | 6.47:1 | AA |
| Destructive | 3.53:1 | AA Large |
Paste this into your globals.css to use Rowing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 17.244);
--foreground: oklch(0.126 0.037 24.138);
--muted: oklch(0.928 0.006 197.053);
--muted-foreground: oklch(0.446 0.012 196.717);
--popover: oklch(0.981 0.005 17.244);
--popover-foreground: oklch(0.126 0.037 24.138);
--card: oklch(0.972 0.008 17.289);
--card-foreground: oklch(0.112 0.032 23.882);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.249 0.074 24.274);
--primary-foreground: oklch(0.758 0.096 19.525);
--secondary: oklch(0.333 0.049 195.045);
--secondary-foreground: oklch(0.794 0.118 195.033);
--accent: oklch(0.333 0.049 195.045);
--accent-foreground: oklch(0.794 0.118 195.033);
--destructive: oklch(0.321 0.112 31.833);
--destructive-foreground: oklch(0.813 0.094 28.954);
--ring: oklch(0.249 0.074 24.274);
--chart-1: oklch(0.249 0.074 24.274);
--chart-2: oklch(0.333 0.049 195.045);
--chart-3: oklch(0.333 0.049 195.045);
--chart-4: oklch(0.375 0.057 195.012);
--chart-5: oklch(0.25 0.077 24.69);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.003 17.209);
--muted: oklch(0.222 0.008 196.565);
--muted-foreground: oklch(0.757 0.011 196.924);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.003 17.209);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.002 17.183);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.249 0.074 24.274);
--primary-foreground: oklch(0.758 0.096 19.525);
--secondary: oklch(0.333 0.049 195.045);
--secondary-foreground: oklch(0.794 0.118 195.033);
--accent: oklch(0.333 0.049 195.045);
--accent-foreground: oklch(0.794 0.118 195.033);
--destructive: oklch(0.651 0.204 31.546);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.249 0.074 24.274);
--chart-1: oklch(0.249 0.074 24.274);
--chart-2: oklch(0.333 0.049 195.045);
--chart-3: oklch(0.333 0.049 195.045);
--chart-4: oklch(0.375 0.057 195.012);
--chart-5: oklch(0.25 0.077 24.69);
}