Assassination is a shadcn/ui theme built around a vivid light purple primary color (#fbb3ff) with vivid light teal accents (#b3fffb). The light mode uses a neutral background (#fefbfe). Dark mode keeps the vivid light purple primary (#fbb3ff) on a neutral background (#030204).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #030204black |
| Foreground | #0b040cblack | #ffffffwhite |
| Card | #fefbfewhite | #030204black |
| Card foreground | #0b040cblack | #ffffffwhite |
| Popover | #fefbfewhite | #030204black |
| Popover foreground | #0b040cblack | #ffffffwhite |
| Primary | #fbb3ffplum | #fbb3ffplum |
| Primary foreground | #79017fpurple | #79017fpurple |
| Secondary | #fffbb3moccasin | #fffbb3moccasin |
| Secondary foreground | #191800black | #191800black |
| Muted | #e3e2cfgainsboro | #302f1cdarkslategray |
| Muted foreground | #5d5c56dimgray | #a9a9a2darkgray |
| Accent | #b3fffbpaleturquoise | #b3fffbpaleturquoise |
| Accent foreground | #001918black | #001918black |
| Destructive | #7e1401maroon | #fd5335tomato |
| Destructive foreground | #febfb3lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fbb3ffplum | #fbb3ffplum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.71:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 6.10:1 | AA |
| Secondary button | 16.77:1 | AAA |
| Muted text | 5.11:1 | AA |
| Accent | 16.10:1 | AAA |
| Destructive | 6.68:1 | AA |
| Text on background | 20.73:1 | AAA |
| Text on card | 20.73:1 | AAA |
| Primary button | 6.10:1 | AA |
| Secondary button | 16.77:1 | AAA |
| Muted text | 5.71:1 | AA |
| Accent | 16.10:1 | AAA |
| Destructive | 6.46:1 | AA |
Paste this into your globals.css to use Assassination in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 324.155);
--foreground: oklch(0.124 0.027 325.576);
--muted: oklch(0.908 0.025 104.438);
--muted-foreground: oklch(0.475 0.011 104.351);
--popover: oklch(0.991 0.004 324.155);
--popover-foreground: oklch(0.124 0.027 325.576);
--card: oklch(0.991 0.004 324.155);
--card-foreground: oklch(0.124 0.027 325.576);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.858 0.128 324.932);
--primary-foreground: oklch(0.408 0.189 325.726);
--secondary: oklch(0.974 0.091 105.418);
--secondary-foreground: oklch(0.204 0.044 107.091);
--accent: oklch(0.949 0.074 192.044);
--accent-foreground: oklch(0.194 0.033 190.391);
--destructive: oklch(0.384 0.143 32.317);
--destructive-foreground: oklch(0.858 0.076 30.042);
--ring: oklch(0.858 0.128 324.932);
--chart-1: oklch(0.858 0.128 324.932);
--chart-2: oklch(0.974 0.091 105.418);
--chart-3: oklch(0.949 0.074 192.044);
--chart-4: oklch(0.979 0.074 105.165);
--chart-5: oklch(0.858 0.132 324.953);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.013 325.254);
--foreground: oklch(1 0 180);
--muted: oklch(0.301 0.032 105.574);
--muted-foreground: oklch(0.733 0.01 104.195);
--popover: oklch(0.088 0.013 325.254);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.088 0.013 325.254);
--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.858 0.128 324.932);
--primary-foreground: oklch(0.408 0.189 325.726);
--secondary: oklch(0.974 0.091 105.418);
--secondary-foreground: oklch(0.204 0.044 107.091);
--accent: oklch(0.949 0.074 192.044);
--accent-foreground: oklch(0.194 0.033 190.391);
--destructive: oklch(0.673 0.211 32.374);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.858 0.128 324.932);
--chart-1: oklch(0.858 0.128 324.932);
--chart-2: oklch(0.974 0.091 105.418);
--chart-3: oklch(0.949 0.074 192.044);
--chart-4: oklch(0.979 0.074 105.165);
--chart-5: oklch(0.858 0.132 324.953);
}