Script White Hare is a shadcn/ui theme built around a muted light blue primary color (#dbdee1) with muted light green accents (#dee1db). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light blue primary (#dbdee1) on a blue-tinted background (#05080b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #05080bblack |
| Foreground | #020608black | #f5f8fawhitesmoke |
| Card | #ffffffwhite | #05080bblack |
| Card foreground | #020608black | #f5f8fawhitesmoke |
| Popover | #ffffffwhite | #05080bblack |
| Popover foreground | #020608black | #f5f8fawhitesmoke |
| Primary | #dbdee1gainsboro | #dbdee1gainsboro |
| Primary foreground | #3e464cdarkslategray | #3e464cdarkslategray |
| Secondary | #e1dbdegainsboro | #e1dbdegainsboro |
| Secondary foreground | #4c3e46darkslategray | #4c3e46darkslategray |
| Muted | #e3dee1gainsboro | #211c1fblack |
| Muted foreground | #4a4548darkslategray | #bab5b8silver |
| Accent | #dee1dbgainsboro | #dee1dbgainsboro |
| Accent foreground | #464c3edarkslategray | #464c3edarkslategray |
| Destructive | #8a1e0fdarkred | #e6351eorangered |
| Destructive foreground | #fad6d1bisque | #ffffffwhite |
| Border | #eef0f1whitesmoke | #202428darkslategray |
| Input | #eef0f1whitesmoke | #202428darkslategray |
| Ring | #dbdee1gainsboro | #dbdee1gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.34:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 7.36:1 | AAA |
| Muted text | 7.07:1 | AAA |
| Accent | 6.73:1 | AA |
| Destructive | 6.89:1 | AA |
| Text on background | 18.83:1 | AAA |
| Text on card | 18.83:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 7.36:1 | AAA |
| Muted text | 8.28:1 | AAA |
| Accent | 6.73:1 | AA |
| Destructive | 4.28:1 | AA Large |
Paste this into your globals.css to use Script White Hare in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.114 0.014 232.034);
--muted: oklch(0.905 0.006 341.957);
--muted-foreground: oklch(0.395 0.009 342.363);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.114 0.014 232.034);
--card: oklch(1 0 180);
--card-foreground: oklch(0.114 0.014 232.034);
--border: oklch(0.954 0.003 240.324);
--input: oklch(0.954 0.003 240.324);
--primary: oklch(0.899 0.006 240.37);
--primary-foreground: oklch(0.388 0.014 240.808);
--secondary: oklch(0.896 0.009 342.042);
--secondary-foreground: oklch(0.381 0.023 343.184);
--accent: oklch(0.906 0.009 125.879);
--accent-foreground: oklch(0.406 0.024 126.538);
--destructive: oklch(0.415 0.146 31.033);
--destructive-foreground: oklch(0.905 0.041 26.807);
--ring: oklch(0.899 0.006 240.37);
--chart-1: oklch(0.899 0.006 240.37);
--chart-2: oklch(0.896 0.009 342.042);
--chart-3: oklch(0.906 0.009 125.879);
--chart-4: oklch(0.92 0.007 341.982);
--chart-5: oklch(0.899 0.007 240.396);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.131 0.01 234.945);
--foreground: oklch(0.977 0.004 240.343);
--muted: oklch(0.234 0.008 342.604);
--muted-foreground: oklch(0.778 0.008 342.048);
--popover: oklch(0.131 0.01 234.945);
--popover-foreground: oklch(0.977 0.004 240.343);
--card: oklch(0.131 0.01 234.945);
--card-foreground: oklch(0.977 0.004 240.343);
--border: oklch(0.258 0.009 240.781);
--input: oklch(0.258 0.009 240.781);
--primary: oklch(0.899 0.006 240.37);
--primary-foreground: oklch(0.388 0.014 240.808);
--secondary: oklch(0.896 0.009 342.042);
--secondary-foreground: oklch(0.381 0.023 343.184);
--accent: oklch(0.906 0.009 125.879);
--accent-foreground: oklch(0.406 0.024 126.538);
--destructive: oklch(0.605 0.215 31.041);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.899 0.006 240.37);
--chart-1: oklch(0.899 0.006 240.37);
--chart-2: oklch(0.896 0.009 342.042);
--chart-3: oklch(0.906 0.009 125.879);
--chart-4: oklch(0.92 0.007 341.982);
--chart-5: oklch(0.899 0.007 240.396);
}