Termination is a shadcn/ui theme built around a vivid indigo primary color (#483ff8) with vivid violet accents (#a53ff8). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the vivid indigo primary (#483ff8) on an indigo-tinted background (#04030c).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #04030cblack |
| Foreground | #050415black | #ffffffwhite |
| Card | #fcfcfdwhite | #04030cblack |
| Card foreground | #050415black | #ffffffwhite |
| Popover | #fcfcfdwhite | #04030cblack |
| Popover foreground | #050415black | #ffffffwhite |
| Primary | #483ff8royalblue | #483ff8royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #3f92f8dodgerblue | #3f92f8dodgerblue |
| Secondary foreground | #000205black | #000205black |
| Muted | #d2dae5gainsboro | #1a232ddarkslategray |
| Muted foreground | #525252darkslategray | #adadaddarkgray |
| Accent | #a53ff8blueviolet | #a53ff8blueviolet |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #aa3003firebrick | #fb642dtomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #483ff8royalblue | #483ff8royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.73:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 6.27:1 | AA |
| Secondary button | 6.62:1 | AA |
| Muted text | 5.55:1 | AA |
| Accent | 4.50:1 | AA |
| Destructive | 6.70:1 | AA |
| Text on background | 20.52:1 | AAA |
| Text on card | 20.52:1 | AAA |
| Primary button | 6.27:1 | AA |
| Secondary button | 6.62:1 | AA |
| Muted text | 7.09:1 | AAA |
| Accent | 4.50:1 | AA |
| Destructive | 6.94:1 | AA |
Paste this into your globals.css to use Termination in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.002 288.666);
--foreground: oklch(0.125 0.039 282.331);
--muted: oklch(0.886 0.017 253.346);
--muted-foreground: oklch(0.437 0 180);
--popover: oklch(0.99 0.002 288.666);
--popover-foreground: oklch(0.125 0.039 282.331);
--card: oklch(0.99 0.002 288.666);
--card-foreground: oklch(0.125 0.039 282.331);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.515 0.26 274.439);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.66 0.171 255.284);
--secondary-foreground: oklch(0.085 0.017 239.113);
--accent: oklch(0.6 0.258 304.569);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.492 0.165 36.41);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.515 0.26 274.439);
--chart-1: oklch(0.515 0.26 274.439);
--chart-2: oklch(0.66 0.171 255.284);
--chart-3: oklch(0.6 0.258 304.569);
--chart-4: oklch(0.683 0.159 254.852);
--chart-5: oklch(0.513 0.267 273.785);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.026 284.434);
--foreground: oklch(1 0 180);
--muted: oklch(0.252 0.024 253.722);
--muted-foreground: oklch(0.749 0 158.199);
--popover: oklch(0.107 0.026 284.434);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.107 0.026 284.434);
--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.515 0.26 274.439);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.66 0.171 255.284);
--secondary-foreground: oklch(0.085 0.017 239.113);
--accent: oklch(0.6 0.258 304.569);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.688 0.196 38.838);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.515 0.26 274.439);
--chart-1: oklch(0.515 0.26 274.439);
--chart-2: oklch(0.66 0.171 255.284);
--chart-3: oklch(0.6 0.258 304.569);
--chart-4: oklch(0.683 0.159 254.852);
--chart-5: oklch(0.513 0.267 273.785);
}