Poised is a shadcn/ui theme built around a green primary color (#bde98b) with pink accents (#e98bbd). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#bde98b) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #050902black | #fcfdfcwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #030401black | #ffffffwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #030401black | #ffffffwhite |
| Primary | #bde98bpalegreen | #bde98bpalegreen |
| Primary foreground | #23380bdarkgreen | #23380bdarkgreen |
| Secondary | #8bbde9skyblue | #8bbde9skyblue |
| Secondary foreground | #0b2338midnightblue | #0b2338midnightblue |
| Muted | #dce3eagainsboro | #151d23black |
| Muted foreground | #4f5459darkslategray | #a6abb0darkgray |
| Accent | #e98bbdorchid | #e98bbdorchid |
| Accent foreground | #380b23black | #380b23black |
| Destructive | #660c05maroon | #da190bred |
| Destructive foreground | #faa9a3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bde98bpalegreen | #bde98bpalegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.06:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 9.25:1 | AAA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 5.92:1 | AA |
| Accent | 7.18:1 | AAA |
| Destructive | 6.97:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 9.25:1 | AAA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 7.39:1 | AAA |
| Accent | 7.18:1 | AAA |
| Destructive | 5.08:1 | AA |
Paste this into your globals.css to use Poised in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.13 0.024 125.897);
--muted: oklch(0.913 0.013 244.26);
--muted-foreground: oklch(0.444 0.01 244.379);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.103 0.019 125.897);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.103 0.019 125.897);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.882 0.129 129.147);
--primary-foreground: oklch(0.311 0.073 131.257);
--secondary: oklch(0.78 0.082 245.52);
--secondary-foreground: oklch(0.248 0.05 247.835);
--accent: oklch(0.751 0.128 347.418);
--accent-foreground: oklch(0.238 0.076 351.69);
--destructive: oklch(0.328 0.123 29.83);
--destructive-foreground: oklch(0.812 0.097 23.933);
--ring: oklch(0.882 0.129 129.147);
--chart-1: oklch(0.882 0.129 129.147);
--chart-2: oklch(0.78 0.082 245.52);
--chart-3: oklch(0.751 0.128 347.418);
--chart-4: oklch(0.804 0.073 245.283);
--chart-5: oklch(0.886 0.134 129.235);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 127.123);
--muted: oklch(0.224 0.018 245.104);
--muted-foreground: oklch(0.739 0.009 244.243);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.882 0.129 129.147);
--primary-foreground: oklch(0.311 0.073 131.257);
--secondary: oklch(0.78 0.082 245.52);
--secondary-foreground: oklch(0.248 0.05 247.835);
--accent: oklch(0.751 0.128 347.418);
--accent-foreground: oklch(0.238 0.076 351.69);
--destructive: oklch(0.565 0.222 29.756);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.882 0.129 129.147);
--chart-1: oklch(0.882 0.129 129.147);
--chart-2: oklch(0.78 0.082 245.52);
--chart-3: oklch(0.751 0.128 347.418);
--chart-4: oklch(0.804 0.073 245.283);
--chart-5: oklch(0.886 0.134 129.235);
}