Poised is a shadcn/ui theme built around a deep purple primary color (#170817) with deep pink accents (#17080f). The light mode uses a neutral background (#fdf7fd). Dark mode keeps the deep purple primary (#170817) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fdsnow | #000000black |
| Foreground | #040104black | #ffffffwhite |
| Card | #fcf2fcghostwhite | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcf2fcghostwhite | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #170817black | #170817black |
| Primary foreground | #d27fd2orchid | #d27fd2orchid |
| Secondary | #0f0817black | #0f0817black |
| Secondary foreground | #a87fd2mediumpurple | #a87fd2mediumpurple |
| Muted | #f0edf2whitesmoke | #0f0d12black |
| Muted foreground | #525252darkslategray | #adadaddarkgray |
| Accent | #17080fblack | #17080fblack |
| Accent foreground | #d27fa8palevioletred | #d27fa8palevioletred |
| Destructive | #9c3411saddlebrown | #d34617chocolate |
| Destructive foreground | #fceae3linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #170817black | #170817black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.63:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 6.21:1 | AA |
| Muted text | 6.73:1 | AA |
| Accent | 6.81:1 | AA |
| Destructive | 6.18:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 6.21:1 | AA |
| Muted text | 8.62:1 | AAA |
| Accent | 6.81:1 | AA |
| Destructive | 4.49:1 | AA Large |
Paste this into your globals.css to use Poised in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.011 325.663);
--foreground: oklch(0.086 0.021 327.221);
--muted: oklch(0.95 0.007 308.373);
--muted-foreground: oklch(0.437 0 180);
--popover: oklch(0.973 0.017 325.707);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.973 0.017 325.707);
--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.165 0.038 327.116);
--primary-foreground: oklch(0.712 0.148 326.989);
--secondary: oklch(0.153 0.033 306.187);
--secondary-foreground: oklch(0.668 0.127 306.256);
--accent: oklch(0.161 0.029 349.323);
--accent-foreground: oklch(0.696 0.115 349.135);
--destructive: oklch(0.473 0.145 37.207);
--destructive-foreground: oklch(0.949 0.022 39.379);
--ring: oklch(0.165 0.038 327.116);
--chart-1: oklch(0.165 0.038 327.116);
--chart-2: oklch(0.153 0.033 306.187);
--chart-3: oklch(0.161 0.029 349.323);
--chart-4: oklch(0.182 0.046 305.419);
--chart-5: oklch(0.165 0.04 327.2);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.163 0.012 307.678);
--muted-foreground: oklch(0.749 0 158.199);
--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.165 0.038 327.116);
--primary-foreground: oklch(0.712 0.148 326.989);
--secondary: oklch(0.153 0.033 306.187);
--secondary-foreground: oklch(0.668 0.127 306.256);
--accent: oklch(0.161 0.029 349.323);
--accent-foreground: oklch(0.696 0.115 349.135);
--destructive: oklch(0.589 0.185 36.907);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.165 0.038 327.116);
--chart-1: oklch(0.165 0.038 327.116);
--chart-2: oklch(0.153 0.033 306.187);
--chart-3: oklch(0.161 0.029 349.323);
--chart-4: oklch(0.182 0.046 305.419);
--chart-5: oklch(0.165 0.04 327.2);
}