Pointless is a shadcn/ui theme built around a deep teal primary color (#106540) with deep pink accents (#651035). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the deep teal primary (#106540) on a neutral background (#030705).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfamintcream | #030705black |
| Foreground | #030c08black | #ffffffwhite |
| Card | #f3fcf8mintcream | #040b08black |
| Card foreground | #020806black | #ffffffwhite |
| Popover | #f7fdfamintcream | #030705black |
| Popover foreground | #030c08black | #ffffffwhite |
| Primary | #106540darkslategray | #106540darkslategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #651035maroon | #651035maroon |
| Secondary foreground | #f3b4cfpink | #f3b4cfpink |
| Muted | #efe1e7mistyrose | #1e1016black |
| Muted foreground | #53464cdarkslategray | #b9acb2darkgray |
| Accent | #651035maroon | #651035maroon |
| Accent foreground | #f3b4cfpink | #f3b4cfpink |
| Destructive | #913003saddlebrown | #fa6019orangered |
| Destructive foreground | #fed9c8bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #106540darkslategray | #106540darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.22:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 7.07:1 | AAA |
| Accent | 7.27:1 | AAA |
| Destructive | 6.08:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 8.42:1 | AAA |
| Accent | 7.27:1 | AAA |
| Destructive | 6.77:1 | AA |
Paste this into your globals.css to use Pointless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.007 168.525);
--foreground: oklch(0.143 0.02 168.436);
--muted: oklch(0.923 0.017 349.236);
--muted-foreground: oklch(0.41 0.019 349.95);
--popover: oklch(0.989 0.007 168.525);
--popover-foreground: oklch(0.143 0.02 168.436);
--card: oklch(0.983 0.011 168.418);
--card-foreground: oklch(0.125 0.017 169.003);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.451 0.098 158.524);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.34 0.121 0.412);
--secondary-foreground: oklch(0.836 0.081 351.269);
--accent: oklch(0.34 0.121 0.412);
--accent-foreground: oklch(0.836 0.081 351.269);
--destructive: oklch(0.448 0.139 39.72);
--destructive-foreground: oklch(0.912 0.047 46.344);
--ring: oklch(0.451 0.098 158.524);
--chart-1: oklch(0.451 0.098 158.524);
--chart-2: oklch(0.34 0.121 0.412);
--chart-3: oklch(0.34 0.121 0.412);
--chart-4: oklch(0.37 0.133 0.724);
--chart-5: oklch(0.456 0.101 158.145);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.012 168.923);
--foreground: oklch(1 0 180);
--muted: oklch(0.195 0.025 352.115);
--muted-foreground: oklch(0.757 0.016 349.305);
--popover: oklch(0.122 0.012 168.923);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.014 168.833);
--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.451 0.098 158.524);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.34 0.121 0.412);
--secondary-foreground: oklch(0.836 0.081 351.269);
--accent: oklch(0.34 0.121 0.412);
--accent-foreground: oklch(0.836 0.081 351.269);
--destructive: oklch(0.682 0.202 40.649);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.451 0.098 158.524);
--chart-1: oklch(0.451 0.098 158.524);
--chart-2: oklch(0.34 0.121 0.412);
--chart-3: oklch(0.34 0.121 0.412);
--chart-4: oklch(0.37 0.133 0.724);
--chart-5: oklch(0.456 0.101 158.145);
}