Rip is a shadcn/ui theme built around a teal primary color (#6ec9b7) with neutral gray accents (#ccd1d0). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#6ec9b7) on a teal-tinted background (#040b0a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040b0ablack |
| Foreground | #030d0bblack | #f9fbfamintcream |
| Card | #fcfcfcsnow | #050f0dblack |
| Card foreground | #020807black | #fcfdfdwhite |
| Popover | #ffffffwhite | #040b0ablack |
| Popover foreground | #030d0bblack | #f9fbfamintcream |
| Primary | #6ec9b7mediumaquamarine | #6ec9b7mediumaquamarine |
| Primary foreground | #010403black | #010403black |
| Secondary | #ccd1d0lightgrey | #1d201fblack |
| Secondary foreground | #333837darkslategray | #b5bab9silver |
| Muted | #e6eae9lavender | #151918black |
| Muted foreground | #3b4a47darkslategray | #b5c4c1silver |
| Accent | #ccd1d0lightgrey | #1d201fblack |
| Accent foreground | #333837darkslategray | #b5bab9silver |
| Destructive | #9d150cdarkred | #da1e10firebrick |
| Destructive foreground | #fde0demistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6ec9b7mediumaquamarine | #6ec9b7mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.69:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 10.51:1 | AAA |
| Secondary button | 7.71:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 7.71:1 | AAA |
| Destructive | 6.65:1 | AA |
| Text on background | 19.08:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 10.51:1 | AAA |
| Secondary button | 8.36:1 | AAA |
| Muted text | 9.83:1 | AAA |
| Accent | 8.36:1 | AAA |
| Destructive | 5.02:1 | AA |
Paste this into your globals.css to use Rip in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.145 0.018 182.133);
--muted: oklch(0.934 0.004 183.066);
--muted-foreground: oklch(0.394 0.019 181.786);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.145 0.018 182.133);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.126 0.016 183.014);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.775 0.092 179.223);
--primary-foreground: oklch(0.098 0.009 183.054);
--secondary: oklch(0.857 0.005 183.01);
--secondary-foreground: oklch(0.336 0.008 182.563);
--accent: oklch(0.857 0.005 183.01);
--accent-foreground: oklch(0.336 0.008 182.563);
--destructive: oklch(0.446 0.17 29.663);
--destructive-foreground: oklch(0.929 0.032 22.627);
--ring: oklch(0.775 0.092 179.223);
--chart-1: oklch(0.775 0.092 179.223);
--chart-2: oklch(0.857 0.005 183.01);
--chart-3: oklch(0.857 0.005 183.01);
--chart-4: oklch(0.88 0.005 183.042);
--chart-5: oklch(0.781 0.097 178.98);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.014 182.761);
--foreground: oklch(0.986 0.001 183.144);
--muted: oklch(0.208 0.006 182.409);
--muted-foreground: oklch(0.808 0.016 182.619);
--popover: oklch(0.141 0.014 182.761);
--popover-foreground: oklch(0.986 0.001 183.144);
--card: oklch(0.157 0.016 181.124);
--card-foreground: oklch(0.993 0.001 183.164);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.775 0.092 179.223);
--primary-foreground: oklch(0.098 0.009 183.054);
--secondary: oklch(0.24 0.004 182.752);
--secondary-foreground: oklch(0.785 0.007 182.955);
--accent: oklch(0.24 0.004 182.752);
--accent-foreground: oklch(0.785 0.007 182.955);
--destructive: oklch(0.568 0.22 29.727);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.775 0.092 179.223);
--chart-1: oklch(0.775 0.092 179.223);
--chart-2: oklch(0.24 0.004 182.752);
--chart-3: oklch(0.24 0.004 182.752);
--chart-4: oklch(0.273 0.005 182.724);
--chart-5: oklch(0.781 0.097 178.98);
}