Drawing is a shadcn/ui theme built around a blue primary color (#86aeea) with orange accents (#eac286). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the blue primary (#86aeea) on a blue-tinted background (#06090f).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #06090fblack |
| Foreground | #060b14black | #f5f7fawhitesmoke |
| Card | #f7f9fdghostwhite | #070c12black |
| Card foreground | #050910black | #f8fafcghostwhite |
| Popover | #fbfcfewhite | #06090fblack |
| Popover foreground | #060b14black | #f5f7fawhitesmoke |
| Primary | #86aeeaskyblue | #86aeeaskyblue |
| Primary foreground | #091a34black | #091a34black |
| Secondary | #eac286burlywood | #eac286burlywood |
| Secondary foreground | #342309black | #342309black |
| Muted | #e8e4degainsboro | #211d17black |
| Muted foreground | #4f4b45darkslategray | #bab6b0silver |
| Accent | #eac286burlywood | #eac286burlywood |
| Accent foreground | #342309black | #342309black |
| Destructive | #95390fsaddlebrown | #e35716chocolate |
| Destructive foreground | #fbe4daantiquewhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #86aeeaskyblue | #86aeeaskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.21:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 8.99:1 | AAA |
| Muted text | 6.83:1 | AA |
| Accent | 8.99:1 | AAA |
| Destructive | 6.01:1 | AA |
| Text on background | 18.55:1 | AAA |
| Text on card | 18.77:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 8.99:1 | AAA |
| Muted text | 8.30:1 | AAA |
| Accent | 8.99:1 | AAA |
| Destructive | 3.70:1 | AA Large |
Paste this into your globals.css to use Drawing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 258.32);
--foreground: oklch(0.15 0.021 255.974);
--muted: oklch(0.92 0.009 78.281);
--muted-foreground: oklch(0.415 0.012 78.196);
--popover: oklch(0.991 0.003 258.32);
--popover-foreground: oklch(0.15 0.021 255.974);
--card: oklch(0.982 0.005 258.327);
--card-foreground: oklch(0.138 0.017 253.293);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.744 0.098 258.302);
--primary-foreground: oklch(0.221 0.055 258.389);
--secondary: oklch(0.834 0.089 77.171);
--secondary-foreground: oklch(0.271 0.047 74.315);
--accent: oklch(0.834 0.089 77.171);
--accent-foreground: oklch(0.271 0.047 74.315);
--destructive: oklch(0.467 0.133 41.381);
--destructive-foreground: oklch(0.936 0.029 46.532);
--ring: oklch(0.744 0.098 258.302);
--chart-1: oklch(0.744 0.098 258.302);
--chart-2: oklch(0.834 0.089 77.171);
--chart-3: oklch(0.834 0.089 77.171);
--chart-4: oklch(0.852 0.08 77.446);
--chart-5: oklch(0.742 0.102 258.296);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.014 254.554);
--foreground: oklch(0.975 0.005 258.325);
--muted: oklch(0.233 0.012 78.018);
--muted-foreground: oklch(0.778 0.01 78.269);
--popover: oklch(0.14 0.014 254.554);
--popover-foreground: oklch(0.975 0.005 258.325);
--card: oklch(0.151 0.016 257.111);
--card-foreground: oklch(0.983 0.003 258.321);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.744 0.098 258.302);
--primary-foreground: oklch(0.221 0.055 258.389);
--secondary: oklch(0.834 0.089 77.171);
--secondary-foreground: oklch(0.271 0.047 74.315);
--accent: oklch(0.834 0.089 77.171);
--accent-foreground: oklch(0.271 0.047 74.315);
--destructive: oklch(0.635 0.187 40.736);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.744 0.098 258.302);
--chart-1: oklch(0.744 0.098 258.302);
--chart-2: oklch(0.834 0.089 77.171);
--chart-3: oklch(0.834 0.089 77.171);
--chart-4: oklch(0.852 0.08 77.446);
--chart-5: oklch(0.742 0.102 258.296);
}