Pointed is a shadcn/ui theme built around a deep violet primary color (#581a75) with muted light violet accents (#ccb9d4). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep violet primary (#581a75) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #060208black | #fdfcfdwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #060208black | #fdfcfdwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #060208black | #fdfcfdwhite |
| Primary | #581a75indigo | #581a75indigo |
| Primary foreground | #e8cdf4lavender | #e8cdf4lavender |
| Secondary | #d9cfddlightgrey | #1f1e1fblack |
| Secondary foreground | #413348darkslategray | #b8b7b8silver |
| Muted | #e1d4e7gainsboro | #25182bblack |
| Muted foreground | #565058dimgray | #aca7afdarkgray |
| Accent | #ccb9d4thistle | #3a343ddarkslategray |
| Accent foreground | #322339darkslategray | #d2cdd5lightgrey |
| Destructive | #c80704firebrick | #fa130fred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #581a75indigo | #581a75indigo |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.58:1 | AAA |
| Text on card | 20.58:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 7.77:1 | AAA |
| Muted text | 5.51:1 | AA |
| Accent | 8.00:1 | AAA |
| Destructive | 6.02:1 | AA |
| Text on background | 20.51:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 8.29:1 | AAA |
| Muted text | 7.18:1 | AAA |
| Accent | 7.76:1 | AAA |
| Destructive | 4.06:1 | AA Large |
Paste this into your globals.css to use Pointed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.103 0.027 317.713);
--muted: oklch(0.887 0.03 315.287);
--muted-foreground: oklch(0.44 0.015 315.28);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.103 0.027 317.713);
--card: oklch(1 0 180);
--card-foreground: oklch(0.103 0.027 317.713);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.364 0.15 312.427);
--primary-foreground: oklch(0.882 0.06 315.141);
--secondary: oklch(0.867 0.021 315.323);
--secondary-foreground: oklch(0.344 0.04 314.93);
--accent: oklch(0.811 0.042 315.208);
--accent-foreground: oklch(0.284 0.044 314.743);
--destructive: oklch(0.525 0.213 29.232);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.364 0.15 312.427);
--chart-1: oklch(0.364 0.15 312.427);
--chart-2: oklch(0.867 0.021 315.323);
--chart-3: oklch(0.811 0.042 315.208);
--chart-4: oklch(0.892 0.017 315.346);
--chart-5: oklch(0.365 0.155 312.189);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 315.424);
--muted: oklch(0.233 0.04 314.655);
--muted-foreground: oklch(0.735 0.014 315.35);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 315.424);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.001 315.424);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.364 0.15 312.427);
--primary-foreground: oklch(0.882 0.06 315.141);
--secondary: oklch(0.237 0.001 315.404);
--secondary-foreground: oklch(0.78 0.002 315.415);
--accent: oklch(0.333 0.018 315.206);
--accent-foreground: oklch(0.856 0.011 315.371);
--destructive: oklch(0.623 0.25 29.011);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.364 0.15 312.427);
--chart-1: oklch(0.364 0.15 312.427);
--chart-2: oklch(0.237 0.001 315.404);
--chart-3: oklch(0.333 0.018 315.206);
--chart-4: oklch(0.269 0.002 315.403);
--chart-5: oklch(0.365 0.155 312.189);
}