Trigger is a shadcn/ui theme built around a cyan primary color (#88bcc8) with muted light cyan accents (#c8ced0). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the cyan primary (#88bcc8) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #010304black |
| Foreground | #000000black | #f8fbfcghostwhite |
| Card | #f8fbfcghostwhite | #010304black |
| Card foreground | #000000black | #f8fbfcghostwhite |
| Popover | #f8fbfcghostwhite | #010304black |
| Popover foreground | #000000black | #f8fbfcghostwhite |
| Primary | #88bcc8skyblue | #88bcc8skyblue |
| Primary foreground | #0a1315black | #0a1315black |
| Secondary | #c8ced0lightgrey | #141d1fblack |
| Secondary foreground | #2f3537darkslategray | #a3bcc2silver |
| Muted | #d8eaeelavender | #112327black |
| Muted foreground | #494e50darkslategray | #afb4b6darkgray |
| Accent | #c8ced0lightgrey | #141d1fblack |
| Accent foreground | #2f3537darkslategray | #a3bcc2silver |
| Destructive | #cb2715firebrick | #ec5746tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #88bcc8skyblue | #88bcc8skyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 8.99:1 | AAA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 6.78:1 | AA |
| Accent | 7.85:1 | AAA |
| Destructive | 5.45:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 8.99:1 | AAA |
| Secondary button | 8.62:1 | AAA |
| Muted text | 7.76:1 | AAA |
| Accent | 8.62:1 | AAA |
| Destructive | 6.00:1 | AA |
Paste this into your globals.css to use Trigger in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.004 214.326);
--foreground: oklch(0 0 0);
--muted: oklch(0.924 0.02 214.393);
--muted-foreground: oklch(0.421 0.007 214.367);
--popover: oklch(0.986 0.004 214.326);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.004 214.326);
--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.762 0.057 214.912);
--primary-foreground: oklch(0.177 0.014 215.012);
--secondary: oklch(0.848 0.008 214.341);
--secondary-foreground: oklch(0.325 0.009 214.433);
--accent: oklch(0.848 0.008 214.341);
--accent-foreground: oklch(0.325 0.009 214.433);
--destructive: oklch(0.546 0.201 30.516);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.762 0.057 214.912);
--chart-1: oklch(0.762 0.057 214.912);
--chart-2: oklch(0.848 0.008 214.341);
--chart-3: oklch(0.848 0.008 214.341);
--chart-4: oklch(0.871 0.006 214.336);
--chart-5: oklch(0.765 0.061 214.997);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.01 210.275);
--foreground: oklch(0.986 0.003 214.325);
--muted: oklch(0.242 0.025 215.549);
--muted-foreground: oklch(0.767 0.006 214.337);
--popover: oklch(0.096 0.01 210.275);
--popover-foreground: oklch(0.986 0.003 214.325);
--card: oklch(0.096 0.01 210.275);
--card-foreground: oklch(0.986 0.003 214.325);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.762 0.057 214.912);
--primary-foreground: oklch(0.177 0.014 215.012);
--secondary: oklch(0.222 0.013 214.67);
--secondary-foreground: oklch(0.778 0.028 214.481);
--accent: oklch(0.222 0.013 214.67);
--accent-foreground: oklch(0.778 0.028 214.481);
--destructive: oklch(0.652 0.187 29.392);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.762 0.057 214.912);
--chart-1: oklch(0.762 0.057 214.912);
--chart-2: oklch(0.222 0.013 214.67);
--chart-3: oklch(0.222 0.013 214.67);
--chart-4: oklch(0.256 0.016 214.724);
--chart-5: oklch(0.765 0.061 214.997);
}