Appropriation is a shadcn/ui theme built around a yellow primary color (#ddd483) with purple accents (#d483dd). The light mode uses a neutral background (#fefdfb). Dark mode keeps the yellow primary (#ddd483) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #040301black |
| Foreground | #151404black | #ffffffwhite |
| Card | #fefdfbsnow | #040301black |
| Card foreground | #151404black | #ffffffwhite |
| Popover | #fefdfbsnow | #040301black |
| Popover foreground | #151404black | #ffffffwhite |
| Primary | #ddd483khaki | #ddd483khaki |
| Primary foreground | #24210ablack | #24210ablack |
| Secondary | #83ddd4skyblue | #83ddd4skyblue |
| Secondary foreground | #0a2421black | #0a2421black |
| Muted | #e8f3f2whitesmoke | #0c1716black |
| Muted foreground | #4d5151darkslategray | #aeb2b2darkgray |
| Accent | #d483ddorchid | #d483ddorchid |
| Accent foreground | #210a24black | #210a24black |
| Destructive | #ad1010firebrick | #e01515crimson |
| Destructive foreground | #fef1f1lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ddd483khaki | #ddd483khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.26:1 | AAA |
| Text on card | 18.26:1 | AAA |
| Primary button | 10.65:1 | AAA |
| Secondary button | 10.29:1 | AAA |
| Muted text | 7.07:1 | AAA |
| Accent | 7.13:1 | AAA |
| Destructive | 6.68:1 | AA |
| Text on background | 20.58:1 | AAA |
| Text on card | 20.58:1 | AAA |
| Primary button | 10.65:1 | AAA |
| Secondary button | 10.29:1 | AAA |
| Muted text | 8.50:1 | AAA |
| Accent | 7.13:1 | AAA |
| Destructive | 4.89:1 | AA |
Paste this into your globals.css to use Appropriation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 101.334);
--foreground: oklch(0.187 0.029 103.529);
--muted: oklch(0.955 0.012 189.794);
--muted-foreground: oklch(0.432 0.006 189.75);
--popover: oklch(0.995 0.003 101.334);
--popover-foreground: oklch(0.187 0.029 103.529);
--card: oklch(0.995 0.003 101.334);
--card-foreground: oklch(0.187 0.029 103.529);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.859 0.103 102.806);
--primary-foreground: oklch(0.246 0.038 102.994);
--secondary: oklch(0.839 0.088 187.434);
--secondary-foreground: oklch(0.239 0.032 186.364);
--accent: oklch(0.726 0.153 323.357);
--accent-foreground: oklch(0.196 0.059 323.544);
--destructive: oklch(0.475 0.186 28.279);
--destructive-foreground: oklch(0.968 0.014 17.394);
--ring: oklch(0.859 0.103 102.806);
--chart-1: oklch(0.859 0.103 102.806);
--chart-2: oklch(0.839 0.088 187.434);
--chart-3: oklch(0.726 0.153 323.357);
--chart-4: oklch(0.853 0.081 187.74);
--chart-5: oklch(0.865 0.107 102.842);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.1 0.01 103.836);
--foreground: oklch(1 0 180);
--muted: oklch(0.195 0.016 188.068);
--muted-foreground: oklch(0.761 0.005 189.915);
--popover: oklch(0.1 0.01 103.836);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.1 0.01 103.836);
--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.859 0.103 102.806);
--primary-foreground: oklch(0.246 0.038 102.994);
--secondary: oklch(0.839 0.088 187.434);
--secondary-foreground: oklch(0.239 0.032 186.364);
--accent: oklch(0.726 0.153 323.357);
--accent-foreground: oklch(0.196 0.059 323.544);
--destructive: oklch(0.575 0.228 28.463);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.859 0.103 102.806);
--chart-1: oklch(0.859 0.103 102.806);
--chart-2: oklch(0.839 0.088 187.434);
--chart-3: oklch(0.726 0.153 323.357);
--chart-4: oklch(0.853 0.081 187.74);
--chart-5: oklch(0.865 0.107 102.842);
}