Pointed is a shadcn/ui theme built around a vivid purple primary color (#e682fc) with vivid green accents (#98fc82). The light mode uses a neutral background (#fcf7fd). Dark mode keeps the vivid purple primary (#e682fc) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7fdghostwhite | #000000black |
| Foreground | #000000black | #fdfcfdwhite |
| Card | #fcf7fdghostwhite | #000000black |
| Card foreground | #000000black | #fdfcfdwhite |
| Popover | #fcf7fdghostwhite | #000000black |
| Popover foreground | #000000black | #fdfcfdwhite |
| Primary | #e682fcviolet | #e682fcviolet |
| Primary foreground | #3e024bindigo | #3e024bindigo |
| Secondary | #98fc82lightgreen | #98fc82lightgreen |
| Secondary foreground | #0f4b02darkgreen | #0f4b02darkgreen |
| Muted | #dbe8d8gainsboro | #1a2717black |
| Muted foreground | #455841darkslategray | #abbea7darkgray |
| Accent | #98fc82lightgreen | #98fc82lightgreen |
| Accent foreground | #0f4b02darkgreen | #0f4b02darkgreen |
| Destructive | #951c09darkred | #f03619orangered |
| Destructive foreground | #fcd9d4mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e682fcviolet | #e682fcviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.82:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 6.82:1 | AA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 6.09:1 | AA |
| Accent | 8.21:1 | AAA |
| Destructive | 6.56:1 | AA |
| Text on background | 20.51:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 6.82:1 | AA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 7.95:1 | AAA |
| Accent | 8.21:1 | AAA |
| Destructive | 3.99:1 | AA Large |
Paste this into your globals.css to use Pointed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.01 320.001);
--foreground: oklch(0 0 0);
--muted: oklch(0.918 0.025 139.966);
--muted-foreground: oklch(0.438 0.044 139.916);
--popover: oklch(0.981 0.01 320.001);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.01 320.001);
--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.759 0.195 320.052);
--primary-foreground: oklch(0.266 0.126 318.848);
--secondary: oklch(0.904 0.185 139.973);
--secondary-foreground: oklch(0.361 0.116 140.702);
--accent: oklch(0.904 0.185 139.973);
--accent-foreground: oklch(0.361 0.116 140.702);
--destructive: oklch(0.435 0.158 31.513);
--destructive-foreground: oklch(0.914 0.04 28.217);
--ring: oklch(0.759 0.195 320.052);
--chart-1: oklch(0.759 0.195 320.052);
--chart-2: oklch(0.904 0.185 139.973);
--chart-3: oklch(0.904 0.185 139.973);
--chart-4: oklch(0.913 0.165 139.934);
--chart-5: oklch(0.759 0.201 320.042);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 319.992);
--muted: oklch(0.254 0.034 139.909);
--muted-foreground: oklch(0.781 0.038 139.949);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 319.992);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.001 319.992);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.759 0.195 320.052);
--primary-foreground: oklch(0.266 0.126 318.848);
--secondary: oklch(0.904 0.185 139.973);
--secondary-foreground: oklch(0.361 0.116 140.702);
--accent: oklch(0.904 0.185 139.973);
--accent-foreground: oklch(0.361 0.116 140.702);
--destructive: oklch(0.623 0.225 31.551);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.759 0.195 320.052);
--chart-1: oklch(0.759 0.195 320.052);
--chart-2: oklch(0.904 0.185 139.973);
--chart-3: oklch(0.904 0.185 139.973);
--chart-4: oklch(0.913 0.165 139.934);
--chart-5: oklch(0.759 0.201 320.042);
}