Useless is a shadcn/ui theme built around a pink primary color (#e496b9) with red accents (#e49996). The light mode uses a neutral background (#fefbfc). Dark mode keeps the pink primary (#e496b9) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #040102black |
| Foreground | #080205black | #fcf8fasnow |
| Card | #fdf7fasnow | #080205black |
| Card foreground | #040102black | #fdfcfcsnow |
| Popover | #fefbfcsnow | #040102black |
| Popover foreground | #080205black | #fcf8fasnow |
| Primary | #e496b9plum | #e496b9plum |
| Primary foreground | #390f22black | #390f22black |
| Secondary | #e496e0plum | #e496e0plum |
| Secondary foreground | #390f37midnightblue | #390f37midnightblue |
| Muted | #f1eaf0whitesmoke | #150e15black |
| Muted foreground | #454045darkslategray | #bfbabfsilver |
| Accent | #e49996darksalmon | #e49996darksalmon |
| Accent foreground | #39110fblack | #39110fblack |
| Destructive | #882c02saddlebrown | #fb5204orangered |
| Destructive foreground | #fed2bepeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e496b9plum | #e496b9plum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.00:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 7.47:1 | AAA |
| Muted text | 8.55:1 | AAA |
| Accent | 7.39:1 | AAA |
| Destructive | 6.30:1 | AA |
| Text on background | 19.72:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 7.47:1 | AAA |
| Muted text | 9.91:1 | AAA |
| Accent | 7.39:1 | AAA |
| Destructive | 3.32:1 | AA Large |
Paste this into your globals.css to use Useless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 347.901);
--foreground: oklch(0.104 0.024 347.445);
--muted: oklch(0.943 0.011 327.148);
--muted-foreground: oklch(0.377 0.011 327.305);
--popover: oklch(0.991 0.003 347.901);
--popover-foreground: oklch(0.104 0.024 347.445);
--card: oklch(0.982 0.006 347.992);
--card-foreground: oklch(0.083 0.019 347.445);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.76 0.103 351.291);
--primary-foreground: oklch(0.245 0.07 355.731);
--secondary: oklch(0.774 0.134 328.511);
--secondary-foreground: oklch(0.256 0.087 329.824);
--accent: oklch(0.757 0.09 22.735);
--accent-foreground: oklch(0.242 0.064 26.029);
--destructive: oklch(0.427 0.133 39.86);
--destructive-foreground: oklch(0.896 0.057 46.245);
--ring: oklch(0.76 0.103 351.291);
--chart-1: oklch(0.76 0.103 351.291);
--chart-2: oklch(0.774 0.134 328.511);
--chart-3: oklch(0.757 0.09 22.735);
--chart-4: oklch(0.799 0.118 328.311);
--chart-5: oklch(0.759 0.109 351.471);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.014 347.537);
--foreground: oklch(0.983 0.004 347.926);
--muted: oklch(0.178 0.017 327.881);
--muted-foreground: oklch(0.795 0.009 327.144);
--popover: oklch(0.085 0.014 347.537);
--popover-foreground: oklch(0.983 0.004 347.926);
--card: oklch(0.107 0.018 347.537);
--card-foreground: oklch(0.991 0.002 347.869);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.76 0.103 351.291);
--primary-foreground: oklch(0.245 0.07 355.731);
--secondary: oklch(0.774 0.134 328.511);
--secondary-foreground: oklch(0.256 0.087 329.824);
--accent: oklch(0.757 0.09 22.735);
--accent-foreground: oklch(0.242 0.064 26.029);
--destructive: oklch(0.667 0.216 38.241);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.76 0.103 351.291);
--chart-1: oklch(0.76 0.103 351.291);
--chart-2: oklch(0.774 0.134 328.511);
--chart-3: oklch(0.757 0.09 22.735);
--chart-4: oklch(0.799 0.118 328.311);
--chart-5: oklch(0.759 0.109 351.471);
}