Assured is a shadcn/ui theme built around a muted teal primary color (#7a9087) with muted orange accents (#90877a). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the muted teal primary (#7a9087) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfbmintcream | #010403black |
| Foreground | #020806black | #f8fcfamintcream |
| Card | #f3fcf8mintcream | #020806black |
| Card foreground | #010403black | #fcfdfdwhite |
| Popover | #f7fdfbmintcream | #010403black |
| Popover foreground | #020806black | #f8fcfamintcream |
| Primary | #7a9087gray | #7a9087gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #877a90gray | #877a90gray |
| Secondary foreground | #000000black | #000000black |
| Muted | #edeceewhitesmoke | #121113black |
| Muted foreground | #403d43darkslategray | #c0bcc2silver |
| Accent | #90877agray | #90877agray |
| Accent foreground | #000000black | #000000black |
| Destructive | #961d0ddarkred | #ed4b35tomato |
| Destructive foreground | #fcddd9mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7a9087gray | #7a9087gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.59:1 | AAA |
| Text on card | 19.67:1 | AAA |
| Primary button | 6.13:1 | AA |
| Secondary button | 5.19:1 | AA |
| Muted text | 9.08:1 | AAA |
| Accent | 5.93:1 | AA |
| Destructive | 6.64:1 | AA |
| Text on background | 19.90:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 6.13:1 | AA |
| Secondary button | 5.19:1 | AA |
| Muted text | 10.06:1 | AAA |
| Accent | 5.93:1 | AA |
| Destructive | 3.70:1 | AA Large |
Paste this into your globals.css to use Assured in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.007 171.389);
--foreground: oklch(0.125 0.017 171.893);
--muted: oklch(0.945 0.003 312.962);
--muted-foreground: oklch(0.365 0.012 312.762);
--popover: oklch(0.989 0.007 171.389);
--popover-foreground: oklch(0.125 0.017 171.893);
--card: oklch(0.983 0.01 171.286);
--card-foreground: oklch(0.099 0.014 171.893);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.632 0.028 170.243);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.598 0.037 312.571);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.627 0.022 79.82);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.439 0.159 31.034);
--destructive-foreground: oklch(0.923 0.034 26.728);
--ring: oklch(0.632 0.028 170.243);
--chart-1: oklch(0.632 0.028 170.243);
--chart-2: oklch(0.598 0.037 312.571);
--chart-3: oklch(0.627 0.022 79.82);
--chart-4: oklch(0.625 0.034 312.618);
--chart-5: oklch(0.638 0.037 169.795);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.011 171.845);
--foreground: oklch(0.987 0.004 171.473);
--muted: oklch(0.179 0.005 312.803);
--muted-foreground: oklch(0.801 0.01 312.901);
--popover: oklch(0.098 0.011 171.845);
--popover-foreground: oklch(0.987 0.004 171.473);
--card: oklch(0.124 0.014 171.845);
--card-foreground: oklch(0.993 0.002 171.533);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.632 0.028 170.243);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.598 0.037 312.571);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.627 0.022 79.82);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.639 0.203 30.761);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.632 0.028 170.243);
--chart-1: oklch(0.632 0.028 170.243);
--chart-2: oklch(0.598 0.037 312.571);
--chart-3: oklch(0.627 0.022 79.82);
--chart-4: oklch(0.625 0.034 312.618);
--chart-5: oklch(0.638 0.037 169.795);
}