Drop is a shadcn/ui theme built around a deep yellow primary color (#433b0e) with deep blue accents (#0e1643). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep yellow primary (#433b0e) on a yellow-tinted background (#0e0d07).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0d07black |
| Foreground | #0c0b03black | #ffffffwhite |
| Card | #ffffffwhite | #0e0d07black |
| Card foreground | #0c0b03black | #ffffffwhite |
| Popover | #ffffffwhite | #0e0d07black |
| Popover foreground | #0c0b03black | #ffffffwhite |
| Primary | #433b0edarkolivegreen | #433b0edarkolivegreen |
| Primary foreground | #d8c246darkkhaki | #d8c246darkkhaki |
| Secondary | #0e1643midnightblue | #0e1643midnightblue |
| Secondary foreground | #9aa6ealightsteelblue | #9aa6ealightsteelblue |
| Muted | #e2e3e9gainsboro | #16171dblack |
| Muted foreground | #5e606edimgray | #9193a1lightslategray |
| Accent | #0e1643midnightblue | #0e1643midnightblue |
| Accent foreground | #9aa6ealightsteelblue | #9aa6ealightsteelblue |
| Destructive | #92320csaddlebrown | #ee622bchocolate |
| Destructive foreground | #fce0d5antiquewhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #433b0edarkolivegreen | #433b0edarkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.72:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 7.40:1 | AAA |
| Muted text | 4.86:1 | AA |
| Accent | 7.40:1 | AAA |
| Destructive | 6.23:1 | AA |
| Text on background | 19.49:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 7.40:1 | AAA |
| Muted text | 5.86:1 | AA |
| Accent | 7.40:1 | AAA |
| Destructive | 6.40:1 | AA |
Paste this into your globals.css to use Drop in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.147 0.019 101.614);
--muted: oklch(0.917 0.008 278.196);
--muted-foreground: oklch(0.493 0.022 277.622);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.147 0.019 101.614);
--card: oklch(1 0 180);
--card-foreground: oklch(0.147 0.019 101.614);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.352 0.063 99.046);
--primary-foreground: oklch(0.81 0.142 99.125);
--secondary: oklch(0.227 0.085 270.437);
--secondary-foreground: oklch(0.741 0.099 276.025);
--accent: oklch(0.227 0.085 270.437);
--accent-foreground: oklch(0.741 0.099 276.025);
--destructive: oklch(0.453 0.138 38.793);
--destructive-foreground: oklch(0.925 0.034 42.838);
--ring: oklch(0.352 0.063 99.046);
--chart-1: oklch(0.352 0.063 99.046);
--chart-2: oklch(0.227 0.085 270.437);
--chart-3: oklch(0.227 0.085 270.437);
--chart-4: oklch(0.251 0.098 270.005);
--chart-5: oklch(0.356 0.065 98.943);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.013 99.821);
--foreground: oklch(1 0 180);
--muted: oklch(0.207 0.011 277.469);
--muted-foreground: oklch(0.667 0.021 277.853);
--popover: oklch(0.157 0.013 99.821);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.157 0.013 99.821);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.352 0.063 99.046);
--primary-foreground: oklch(0.81 0.142 99.125);
--secondary: oklch(0.227 0.085 270.437);
--secondary-foreground: oklch(0.741 0.099 276.025);
--accent: oklch(0.227 0.085 270.437);
--accent-foreground: oklch(0.741 0.099 276.025);
--destructive: oklch(0.666 0.185 40.003);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.352 0.063 99.046);
--chart-1: oklch(0.352 0.063 99.046);
--chart-2: oklch(0.227 0.085 270.437);
--chart-3: oklch(0.227 0.085 270.437);
--chart-4: oklch(0.251 0.098 270.005);
--chart-5: oklch(0.356 0.065 98.943);
}