Trusting is a shadcn/ui theme built around a vivid pink primary color (#fc0349) with vivid blue accents (#0349fc). The light mode uses a neutral background (#fdf6f8). Dark mode keeps the vivid pink primary (#fc0349) on a pink-tinted background (#0d0709).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf6f8snow | #0d0709black |
| Foreground | #080204black | #ffffffwhite |
| Card | #fdf6f8snow | #0d0709black |
| Card foreground | #080204black | #ffffffwhite |
| Popover | #fdf6f8snow | #0d0709black |
| Popover foreground | #080204black | #ffffffwhite |
| Primary | #fc0349crimson | #fc0349crimson |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #49fc03lawngreen | #49fc03lawngreen |
| Secondary foreground | #0f3201black | #0f3201black |
| Muted | #d7e5d2gainsboro | #202d1ablack |
| Muted foreground | #505e4adarkolivegreen | #a6b5a1darkgray |
| Accent | #0349fcblue | #0349fcblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8b2c04saddlebrown | #fa6b2etomato |
| Destructive foreground | #fdd5c3peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fc0349crimson | #fc0349crimson |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.37:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 3.98:1 | AA Large |
| Secondary button | 10.33:1 | AAA |
| Muted text | 5.25:1 | AA |
| Accent | 6.21:1 | AA |
| Destructive | 6.27:1 | AA |
| Text on background | 19.95:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 3.98:1 | AA Large |
| Secondary button | 10.33:1 | AAA |
| Muted text | 6.71:1 | AA |
| Accent | 6.21:1 | AA |
| Destructive | 7.20:1 | AAA |
Paste this into your globals.css to use Trusting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.008 357.95);
--foreground: oklch(0.103 0.023 357.43);
--muted: oklch(0.906 0.029 136.705);
--muted-foreground: oklch(0.464 0.037 136.865);
--popover: oklch(0.98 0.008 357.95);
--popover-foreground: oklch(0.103 0.023 357.43);
--card: oklch(0.98 0.008 357.95);
--card-foreground: oklch(0.103 0.023 357.43);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.629 0.252 18.432);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.868 0.282 140.47);
--secondary-foreground: oklch(0.282 0.087 138.329);
--accent: oklch(0.512 0.268 263.5);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.433 0.136 38.892);
--destructive-foreground: oklch(0.902 0.052 44.495);
--ring: oklch(0.629 0.252 18.432);
--chart-1: oklch(0.629 0.252 18.432);
--chart-2: oklch(0.868 0.282 140.47);
--chart-3: oklch(0.512 0.268 263.5);
--chart-4: oklch(0.871 0.277 139.974);
--chart-5: oklch(0.635 0.255 19.055);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.012 358.5);
--foreground: oklch(1 0 180);
--muted: oklch(0.279 0.038 137.103);
--muted-foreground: oklch(0.756 0.033 136.742);
--popover: oklch(0.139 0.012 358.5);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.139 0.012 358.5);
--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.629 0.252 18.432);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.868 0.282 140.47);
--secondary-foreground: oklch(0.282 0.087 138.329);
--accent: oklch(0.512 0.268 263.5);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.696 0.189 41.247);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.629 0.252 18.432);
--chart-1: oklch(0.629 0.252 18.432);
--chart-2: oklch(0.868 0.282 140.47);
--chart-3: oklch(0.512 0.268 263.5);
--chart-4: oklch(0.871 0.277 139.974);
--chart-5: oklch(0.635 0.255 19.055);
}