Panther is a shadcn/ui theme built around a pink primary color (#dd789f) with red accents (#dd8478). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the pink primary (#dd789f) on a neutral background (#070305).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f9snow | #070305black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fdf7f9snow | #070305black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdf7f9snow | #070305black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #dd789fpalevioletred | #dd789fpalevioletred |
| Primary foreground | #1d070fblack | #1d070fblack |
| Secondary | #dd78d2orchid | #dd78d2orchid |
| Secondary foreground | #1d071ablack | #1d071ablack |
| Muted | #e9cde6gainsboro | #32162edarkslategray |
| Muted foreground | #5b525adimgray | #ada4acdarkgray |
| Accent | #dd8478lightcoral | #dd8478lightcoral |
| Accent foreground | #1d0a07black | #1d0a07black |
| Destructive | #943910saddlebrown | #d45216chocolate |
| Destructive foreground | #fbe5daantiquewhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dd789fpalevioletred | #dd789fpalevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 7.02:1 | AAA |
| Muted text | 5.13:1 | AA |
| Accent | 6.97:1 | AA |
| Destructive | 6.07:1 | AA |
| Text on background | 20.51:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 7.02:1 | AAA |
| Muted text | 6.74:1 | AA |
| Accent | 6.97:1 | AA |
| Destructive | 4.16:1 | AA Large |
Paste this into your globals.css to use Panther in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.008 351.818);
--foreground: oklch(0 0 0);
--muted: oklch(0.88 0.045 329.714);
--muted-foreground: oklch(0.451 0.017 329.553);
--popover: oklch(0.981 0.008 351.818);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.008 351.818);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.697 0.132 356.723);
--primary-foreground: oklch(0.17 0.04 357.639);
--secondary: oklch(0.716 0.166 331.6);
--secondary-foreground: oklch(0.176 0.05 332.058);
--accent: oklch(0.706 0.112 28.253);
--accent-foreground: oklch(0.172 0.034 29.677);
--destructive: oklch(0.466 0.132 41.522);
--destructive-foreground: oklch(0.936 0.029 46.535);
--ring: oklch(0.697 0.132 356.723);
--chart-1: oklch(0.697 0.132 356.723);
--chart-2: oklch(0.716 0.166 331.6);
--chart-3: oklch(0.706 0.112 28.253);
--chart-4: oklch(0.739 0.151 331.32);
--chart-5: oklch(0.696 0.139 356.998);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.016 351.281);
--foreground: oklch(1 0 180);
--muted: oklch(0.25 0.059 331.654);
--muted-foreground: oklch(0.728 0.015 329.366);
--popover: oklch(0.107 0.016 351.281);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.107 0.016 351.281);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.697 0.132 356.723);
--primary-foreground: oklch(0.17 0.04 357.639);
--secondary: oklch(0.716 0.166 331.6);
--secondary-foreground: oklch(0.176 0.05 332.058);
--accent: oklch(0.706 0.112 28.253);
--accent-foreground: oklch(0.172 0.034 29.677);
--destructive: oklch(0.605 0.176 40.976);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.697 0.132 356.723);
--chart-1: oklch(0.697 0.132 356.723);
--chart-2: oklch(0.716 0.166 331.6);
--chart-3: oklch(0.706 0.112 28.253);
--chart-4: oklch(0.739 0.151 331.32);
--chart-5: oklch(0.696 0.139 356.998);
}