Drawbridge is a shadcn/ui theme built around a light violet primary color (#dec8ea) with light teal accents (#c8eade). The light mode uses a neutral background (#ffffff). Dark mode keeps the light violet primary (#dec8ea) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #060109black | #f8f5f9whitesmoke |
| Card | #ffffffwhite | #000000black |
| Card foreground | #060109black | #f8f5f9whitesmoke |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #060109black | #f8f5f9whitesmoke |
| Primary | #dec8eathistle | #dec8eathistle |
| Primary foreground | #48235cindigo | #48235cindigo |
| Secondary | #eadec8bisque | #eadec8bisque |
| Secondary foreground | #5c4823darkolivegreen | #5c4823darkolivegreen |
| Muted | #f1ebdfbeige | #201a0eblack |
| Muted foreground | #514c43darkslategray | #bcb7aesilver |
| Accent | #c8eadegainsboro | #c8eadegainsboro |
| Accent foreground | #235c48darkslategray | #235c48darkslategray |
| Destructive | #601906maroon | #e33b0dorangered |
| Destructive foreground | #f9b29flightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dec8eathistle | #dec8eathistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 8.08:1 | AAA |
| Secondary button | 6.55:1 | AA |
| Muted text | 7.16:1 | AAA |
| Accent | 6.03:1 | AA |
| Destructive | 7.22:1 | AAA |
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 8.08:1 | AAA |
| Secondary button | 6.55:1 | AA |
| Muted text | 8.68:1 | AAA |
| Accent | 6.03:1 | AA |
| Destructive | 4.29:1 | AA Large |
Paste this into your globals.css to use Drawbridge in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.098 0.034 317.137);
--muted: oklch(0.941 0.017 83.065);
--muted-foreground: oklch(0.418 0.015 83.039);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.098 0.034 317.137);
--card: oklch(1 0 180);
--card-foreground: oklch(0.098 0.034 317.137);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.861 0.053 313.884);
--primary-foreground: oklch(0.336 0.103 312.121);
--secondary: oklch(0.904 0.033 83.041);
--secondary-foreground: oklch(0.415 0.06 81.32);
--accent: oklch(0.909 0.04 172.245);
--accent-foreground: oklch(0.432 0.069 167.123);
--destructive: oklch(0.33 0.107 35.524);
--destructive-foreground: oklch(0.826 0.088 36.074);
--ring: oklch(0.861 0.053 313.884);
--chart-1: oklch(0.861 0.053 313.884);
--chart-2: oklch(0.904 0.033 83.041);
--chart-3: oklch(0.909 0.04 172.245);
--chart-4: oklch(0.923 0.026 83.056);
--chart-5: oklch(0.859 0.056 313.86);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.974 0.006 314.185);
--muted: oklch(0.22 0.023 82.425);
--muted-foreground: oklch(0.781 0.013 83.065);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.974 0.006 314.185);
--card: oklch(0 0 0);
--card-foreground: oklch(0.974 0.006 314.185);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.861 0.053 313.884);
--primary-foreground: oklch(0.336 0.103 312.121);
--secondary: oklch(0.904 0.033 83.041);
--secondary-foreground: oklch(0.415 0.06 81.32);
--accent: oklch(0.909 0.04 172.245);
--accent-foreground: oklch(0.432 0.069 167.123);
--destructive: oklch(0.603 0.209 34.287);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.861 0.053 313.884);
--chart-1: oklch(0.861 0.053 313.884);
--chart-2: oklch(0.904 0.033 83.041);
--chart-3: oklch(0.909 0.04 172.245);
--chart-4: oklch(0.923 0.026 83.056);
--chart-5: oklch(0.859 0.056 313.86);
}