Widowmaker Mammal is a shadcn/ui theme built around a vivid light blue primary color (#98adf1) with vivid light violet accents (#b098f1). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the vivid light blue primary (#98adf1) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #010204black |
| Foreground | #020308black | #f9f9fbghostwhite |
| Card | #f8f9fcghostwhite | #010204black |
| Card foreground | #020308black | #f9f9fbghostwhite |
| Popover | #f8f9fcghostwhite | #010204black |
| Popover foreground | #020308black | #f9f9fbghostwhite |
| Primary | #98adf1skyblue | #98adf1skyblue |
| Primary foreground | #0a1a4cmidnightblue | #0a1a4cmidnightblue |
| Secondary | #98d9f1skyblue | #98d9f1skyblue |
| Secondary foreground | #0a3b4cdarkslategray | #0a3b4cdarkslategray |
| Muted | #dfe9eclavender | #131d20black |
| Muted foreground | #44545adarkslategray | #a5b5bbdarkgray |
| Accent | #b098f1lightsteelblue | #b098f1lightsteelblue |
| Accent foreground | #1c0a4cmidnightblue | #1c0a4cmidnightblue |
| Destructive | #bb230cfirebrick | #eb2c0forangered |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #e9eaeclavender | #1f2023black |
| Input | #e9eaeclavender | #1f2023black |
| Ring | #98adf1skyblue | #98adf1skyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 7.54:1 | AAA |
| Secondary button | 7.76:1 | AAA |
| Muted text | 6.37:1 | AA |
| Accent | 7.16:1 | AAA |
| Destructive | 6.07:1 | AA |
| Text on background | 19.75:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 7.54:1 | AAA |
| Secondary button | 7.76:1 | AAA |
| Muted text | 8.12:1 | AAA |
| Accent | 7.16:1 | AAA |
| Destructive | 4.28:1 | AA Large |
Paste this into your globals.css to use Widowmaker Mammal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 272.609);
--foreground: oklch(0.103 0.016 264.839);
--muted: oklch(0.927 0.012 221.421);
--muted-foreground: oklch(0.435 0.022 221.922);
--popover: oklch(0.981 0.005 272.609);
--popover-foreground: oklch(0.103 0.016 264.839);
--card: oklch(0.981 0.005 272.609);
--card-foreground: oklch(0.103 0.016 264.839);
--border: oklch(0.937 0.003 272.628);
--input: oklch(0.937 0.003 272.628);
--primary: oklch(0.756 0.101 270.838);
--primary-foreground: oklch(0.242 0.096 266.204);
--secondary: oklch(0.85 0.074 222.658);
--secondary-foreground: oklch(0.329 0.058 227.631);
--accent: oklch(0.735 0.128 295.326);
--accent-foreground: oklch(0.228 0.111 285.839);
--destructive: oklch(0.513 0.189 31.425);
--destructive-foreground: oklch(0.99 0.004 27.954);
--ring: oklch(0.756 0.101 270.838);
--chart-1: oklch(0.756 0.101 270.838);
--chart-2: oklch(0.85 0.074 222.658);
--chart-3: oklch(0.735 0.128 295.326);
--chart-4: oklch(0.869 0.065 222.361);
--chart-5: oklch(0.754 0.106 270.743);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.012 265.869);
--foreground: oklch(0.983 0.003 272.629);
--muted: oklch(0.221 0.016 222.332);
--muted-foreground: oklch(0.763 0.02 221.565);
--popover: oklch(0.083 0.012 265.869);
--popover-foreground: oklch(0.983 0.003 272.629);
--card: oklch(0.083 0.012 265.869);
--card-foreground: oklch(0.983 0.003 272.629);
--border: oklch(0.244 0.006 272.392);
--input: oklch(0.244 0.006 272.392);
--primary: oklch(0.756 0.101 270.838);
--primary-foreground: oklch(0.242 0.096 266.204);
--secondary: oklch(0.85 0.074 222.658);
--secondary-foreground: oklch(0.329 0.058 227.631);
--accent: oklch(0.735 0.128 295.326);
--accent-foreground: oklch(0.228 0.111 285.839);
--destructive: oklch(0.607 0.227 31.339);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.756 0.101 270.838);
--chart-1: oklch(0.756 0.101 270.838);
--chart-2: oklch(0.85 0.074 222.658);
--chart-3: oklch(0.735 0.128 295.326);
--chart-4: oklch(0.869 0.065 222.361);
--chart-5: oklch(0.754 0.106 270.743);
}