Pleased Stratos is a shadcn/ui theme built around a vivid deep indigo primary color (#01003d) with vivid deep violet accents (#20003d). The light mode uses a neutral background (#f7f6fd). Dark mode keeps the vivid deep indigo primary (#01003d) on a neutral background (#020204).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f6fdghostwhite | #020204black |
| Foreground | #04040cblack | #f6f6f9whitesmoke |
| Card | #f7f6fdghostwhite | #020204black |
| Card foreground | #04040cblack | #f6f6f9whitesmoke |
| Popover | #f7f6fdghostwhite | #020204black |
| Popover foreground | #04040cblack | #f6f6f9whitesmoke |
| Primary | #01003dblack | #01003dblack |
| Primary foreground | #d7d6fflavender | #d7d6fflavender |
| Secondary | #001e3dmidnightblue | #001e3dmidnightblue |
| Secondary foreground | #70b5fflightskyblue | #70b5fflightskyblue |
| Muted | #dce5eflavender | #101923black |
| Muted foreground | #47515cdarkslategray | #a3adb8darkgray |
| Accent | #20003dmidnightblue | #20003dmidnightblue |
| Accent foreground | #ba70ffmediumorchid | #ba70ffmediumorchid |
| Destructive | #750e00maroon | #ff4b33tomato |
| Destructive foreground | #ffb2a8lightpink | #ffffffwhite |
| Border | #dfdfe2gainsboro | #18181bblack |
| Input | #dfdfe2gainsboro | #18181bblack |
| Ring | #01003dblack | #01003dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.07:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 13.98:1 | AAA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 6.35:1 | AA |
| Accent | 6.07:1 | AA |
| Destructive | 6.68:1 | AA |
| Text on background | 19.26:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 13.98:1 | AAA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 7.77:1 | AAA |
| Accent | 6.07:1 | AA |
| Destructive | 3.33:1 | AA Large |
Paste this into your globals.css to use Pleased Stratos in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.977 0.009 286.999);
--foreground: oklch(0.111 0.023 283.169);
--muted: oklch(0.919 0.016 249.811);
--muted-foreground: oklch(0.431 0.022 250.104);
--popover: oklch(0.977 0.009 286.999);
--popover-foreground: oklch(0.111 0.023 283.169);
--card: oklch(0.977 0.009 286.999);
--card-foreground: oklch(0.111 0.023 283.169);
--border: oklch(0.904 0.004 287.086);
--input: oklch(0.904 0.004 287.086);
--primary: oklch(0.164 0.112 265.464);
--primary-foreground: oklch(0.89 0.056 285.972);
--secondary: oklch(0.233 0.07 252.41);
--secondary-foreground: oklch(0.758 0.128 251.318);
--accent: oklch(0.2 0.106 300.736);
--accent-foreground: oklch(0.687 0.208 305.434);
--destructive: oklch(0.361 0.138 31.661);
--destructive-foreground: oklch(0.835 0.091 27.548);
--ring: oklch(0.164 0.112 265.464);
--chart-1: oklch(0.164 0.112 265.464);
--chart-2: oklch(0.233 0.07 252.41);
--chart-3: oklch(0.2 0.106 300.736);
--chart-4: oklch(0.266 0.084 253.668);
--chart-5: oklch(0.163 0.116 264.114);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.081 0.011 284.66);
--foreground: oklch(0.973 0.004 287.086);
--muted: oklch(0.21 0.023 250.613);
--muted-foreground: oklch(0.743 0.02 249.888);
--popover: oklch(0.081 0.011 284.66);
--popover-foreground: oklch(0.973 0.004 287.086);
--card: oklch(0.081 0.011 284.66);
--card-foreground: oklch(0.973 0.004 287.086);
--border: oklch(0.211 0.005 286.732);
--input: oklch(0.211 0.005 286.732);
--primary: oklch(0.164 0.112 265.464);
--primary-foreground: oklch(0.89 0.056 285.972);
--secondary: oklch(0.233 0.07 252.41);
--secondary-foreground: oklch(0.758 0.128 251.318);
--accent: oklch(0.2 0.106 300.736);
--accent-foreground: oklch(0.687 0.208 305.434);
--destructive: oklch(0.668 0.22 30.894);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.164 0.112 265.464);
--chart-1: oklch(0.164 0.112 265.464);
--chart-2: oklch(0.233 0.07 252.41);
--chart-3: oklch(0.2 0.106 300.736);
--chart-4: oklch(0.266 0.084 253.668);
--chart-5: oklch(0.163 0.116 264.114);
}