Blackberry is a shadcn/ui theme built around a light purple primary color (#e3c7e5) with light pink accents (#e5c7d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the light purple primary (#e3c7e5) on a purple-tinted background (#0a050a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a050ablack |
| Foreground | #040104black | #f9f6f9whitesmoke |
| Card | #fcfcfcsnow | #0d070dblack |
| Card foreground | #000000black | #fbf9fbsnow |
| Popover | #fcfcfcsnow | #0d070dblack |
| Popover foreground | #000000black | #fbf9fbsnow |
| Primary | #e3c7e5thistle | #e3c7e5thistle |
| Primary foreground | #502754darkslategray | #502754darkslategray |
| Secondary | #d4c7e5thistle | #d4c7e5thistle |
| Secondary foreground | #392754darkslategray | #392754darkslategray |
| Muted | #eae7eelavender | #141118black |
| Muted foreground | #565459dimgray | #a8a6abdarkgray |
| Accent | #e5c7d9thistle | #e5c7d9thistle |
| Accent foreground | #542741darkslategray | #542741darkslategray |
| Destructive | #df1c07red | #f94c39tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e3c7e5thistle | #e3c7e5thistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.76:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 6.10:1 | AA |
| Accent | 7.75:1 | AAA |
| Destructive | 4.88:1 | AA |
| Text on background | 18.83:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 7.77:1 | AAA |
| Accent | 7.75:1 | AAA |
| Destructive | 3.42:1 | AA Large |
Paste this into your globals.css to use Blackberry in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.084 0.025 325.299);
--muted: oklch(0.932 0.011 304.883);
--muted-foreground: oklch(0.45 0.009 304.775);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.862 0.051 323.4);
--primary-foreground: oklch(0.347 0.091 324.141);
--secondary: oklch(0.85 0.044 304.338);
--secondary-foreground: oklch(0.317 0.08 301.188);
--accent: oklch(0.861 0.041 342.092);
--accent-foreground: oklch(0.343 0.076 345.852);
--destructive: oklch(0.575 0.224 30.359);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.862 0.051 323.4);
--chart-1: oklch(0.862 0.051 323.4);
--chart-2: oklch(0.85 0.044 304.338);
--chart-3: oklch(0.861 0.041 342.092);
--chart-4: oklch(0.878 0.035 304.494);
--chart-5: oklch(0.861 0.055 323.421);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.016 324.11);
--foreground: oklch(0.976 0.005 323.159);
--muted: oklch(0.183 0.016 303.804);
--muted-foreground: oklch(0.728 0.008 304.897);
--popover: oklch(0.141 0.018 323.828);
--popover-foreground: oklch(0.984 0.003 323.151);
--card: oklch(0.141 0.018 323.828);
--card-foreground: oklch(0.984 0.003 323.151);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.862 0.051 323.4);
--primary-foreground: oklch(0.347 0.091 324.141);
--secondary: oklch(0.85 0.044 304.338);
--secondary-foreground: oklch(0.317 0.08 301.188);
--accent: oklch(0.861 0.041 342.092);
--accent-foreground: oklch(0.343 0.076 345.852);
--destructive: oklch(0.66 0.212 30.007);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.862 0.051 323.4);
--chart-1: oklch(0.862 0.051 323.4);
--chart-2: oklch(0.85 0.044 304.338);
--chart-3: oklch(0.861 0.041 342.092);
--chart-4: oklch(0.878 0.035 304.494);
--chart-5: oklch(0.861 0.055 323.421);
}