Point is a shadcn/ui theme built around an orange primary color (#b35837) with yellow accents (#b39637). The light mode uses a neutral background (#fefcfb). Dark mode keeps the orange primary (#b35837) on an orange-tinted background (#0e0807).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #0e0807black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fefcfbsnow | #0e0807black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefcfbsnow | #0e0807black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #b35837sienna | #b35837sienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #b33754indianred | #b33754indianred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ede3e5linen | #1c1214black |
| Muted foreground | #6c565bdimgray | #a99398rosybrown |
| Accent | #b39637peru | #b39637peru |
| Accent foreground | #171407black | #171407black |
| Destructive | #952509saddlebrown | #d8360eorangered |
| Destructive foreground | #fcdcd4antiquewhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b35837sienna | #b35837sienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.50:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 4.78:1 | AA |
| Secondary button | 5.82:1 | AA |
| Muted text | 5.36:1 | AA |
| Accent | 6.47:1 | AA |
| Destructive | 6.41:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 4.78:1 | AA |
| Secondary button | 5.82:1 | AA |
| Muted text | 6.37:1 | AA |
| Accent | 6.47:1 | AA |
| Destructive | 4.72:1 | AA |
Paste this into your globals.css to use Point in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 41.289);
--foreground: oklch(0 0 0);
--muted: oklch(0.925 0.011 1.288);
--muted-foreground: oklch(0.477 0.029 2.612);
--popover: oklch(0.992 0.002 41.289);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0.002 41.289);
--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.566 0.128 40.144);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.527 0.16 10.768);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.683 0.117 91.846);
--accent-foreground: oklch(0.19 0.024 93.33);
--destructive: oklch(0.443 0.151 34.057);
--destructive-foreground: oklch(0.919 0.038 34.316);
--ring: oklch(0.566 0.128 40.144);
--chart-1: oklch(0.566 0.128 40.144);
--chart-2: oklch(0.527 0.16 10.768);
--chart-3: oklch(0.683 0.117 91.846);
--chart-4: oklch(0.552 0.169 10.848);
--chart-5: oklch(0.568 0.134 39.987);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.011 44.22);
--foreground: oklch(1 0 180);
--muted: oklch(0.196 0.017 3.232);
--muted-foreground: oklch(0.685 0.026 2.011);
--popover: oklch(0.144 0.011 44.22);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.144 0.011 44.22);
--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.566 0.128 40.144);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.527 0.16 10.768);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.683 0.117 91.846);
--accent-foreground: oklch(0.19 0.024 93.33);
--destructive: oklch(0.58 0.203 33.716);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.566 0.128 40.144);
--chart-1: oklch(0.566 0.128 40.144);
--chart-2: oklch(0.527 0.16 10.768);
--chart-3: oklch(0.683 0.117 91.846);
--chart-4: oklch(0.552 0.169 10.848);
--chart-5: oklch(0.568 0.134 39.987);
}