Satisfied is a shadcn/ui theme built around a vivid light blue primary color (#f1f5fd) with vivid light yellow accents (#fdfaf1). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the vivid light blue primary (#f1f5fd) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfdwhite | #010204black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fbfcfdwhite | #010204black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfcfdwhite | #010204black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #f1f5fdaliceblue | #f1f5fdaliceblue |
| Primary foreground | #143ea9darkslateblue | #143ea9darkslateblue |
| Secondary | #fdfaf1floralwhite | #fdfaf1floralwhite |
| Secondary foreground | #4e3a09darkolivegreen | #4e3a09darkolivegreen |
| Muted | #f0f0efwhitesmoke | #10100fblack |
| Muted foreground | #585346darkolivegreen | #b9b4a7darkgray |
| Accent | #fdfaf1floralwhite | #fdfaf1floralwhite |
| Accent foreground | #4e3a09darkolivegreen | #4e3a09darkolivegreen |
| Destructive | #7f1006maroon | #db1c0ared |
| Destructive foreground | #fcc0bblightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f1f5fdaliceblue | #f1f5fdaliceblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.47:1 | AAA |
| Text on card | 20.47:1 | AAA |
| Primary button | 8.37:1 | AAA |
| Secondary button | 10.41:1 | AAA |
| Muted text | 6.72:1 | AA |
| Accent | 10.41:1 | AAA |
| Destructive | 6.78:1 | AA |
| Text on background | 20.75:1 | AAA |
| Text on card | 20.75:1 | AAA |
| Primary button | 8.37:1 | AAA |
| Secondary button | 10.41:1 | AAA |
| Muted text | 9.22:1 | AAA |
| Accent | 10.41:1 | AAA |
| Destructive | 5.01:1 | AA |
Paste this into your globals.css to use Satisfied in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 268.777);
--foreground: oklch(0 0 0);
--muted: oklch(0.955 0.002 88.801);
--muted-foreground: oklch(0.442 0.021 89.003);
--popover: oklch(0.991 0.002 268.777);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.002 268.777);
--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.969 0.012 268.7);
--primary-foreground: oklch(0.412 0.177 263.773);
--secondary: oklch(0.985 0.012 88.867);
--secondary-foreground: oklch(0.361 0.068 85.329);
--accent: oklch(0.985 0.012 88.867);
--accent-foreground: oklch(0.361 0.068 85.329);
--destructive: oklch(0.382 0.145 30.203);
--destructive-foreground: oklch(0.861 0.069 24.55);
--ring: oklch(0.969 0.012 268.7);
--chart-1: oklch(0.969 0.012 268.7);
--chart-2: oklch(0.985 0.012 88.867);
--chart-3: oklch(0.985 0.012 88.867);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.969 0.013 268.697);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.011 261.279);
--foreground: oklch(1 0 180);
--muted: oklch(0.171 0.002 88.875);
--muted-foreground: oklch(0.77 0.018 88.926);
--popover: oklch(0.084 0.011 261.279);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.084 0.011 261.279);
--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.969 0.012 268.7);
--primary-foreground: oklch(0.412 0.177 263.773);
--secondary: oklch(0.985 0.012 88.867);
--secondary-foreground: oklch(0.361 0.068 85.329);
--accent: oklch(0.985 0.012 88.867);
--accent-foreground: oklch(0.361 0.068 85.329);
--destructive: oklch(0.569 0.222 30.067);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.969 0.012 268.7);
--chart-1: oklch(0.969 0.012 268.7);
--chart-2: oklch(0.985 0.012 88.867);
--chart-3: oklch(0.985 0.012 88.867);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.969 0.013 268.697);
}