Appropriation is a shadcn/ui theme built around a muted blue primary color (#3e465b) with muted indigo accents (#453e5b). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted blue primary (#3e465b) on a neutral background (#030408).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030408black |
| Foreground | #030408black | #f9fafbghostwhite |
| Card | #ffffffwhite | #030408black |
| Card foreground | #030408black | #f9fafbghostwhite |
| Popover | #ffffffwhite | #030408black |
| Popover foreground | #030408black | #f9fafbghostwhite |
| Primary | #3e465bdarkslategray | #3e465bdarkslategray |
| Primary foreground | #e1e3eagainsboro | #e1e3eagainsboro |
| Secondary | #3e545bdarkslategray | #3e545bdarkslategray |
| Secondary foreground | #e1e8ealavender | #e1e8ealavender |
| Muted | #edf5f7whitesmoke | #080f12black |
| Muted foreground | #495a5fdarkslategray | #a0b1b6darkgray |
| Accent | #453e5bdarkslategray | #453e5bdarkslategray |
| Accent foreground | #e3e1eagainsboro | #e3e1eagainsboro |
| Destructive | #6b230bmaroon | #df4816chocolate |
| Destructive foreground | #f7c2b0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3e465bdarkslategray | #3e465bdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.49:1 | AAA |
| Text on card | 20.49:1 | AAA |
| Primary button | 7.36:1 | AAA |
| Secondary button | 6.43:1 | AA |
| Muted text | 6.52:1 | AA |
| Accent | 7.76:1 | AAA |
| Destructive | 7.14:1 | AAA |
| Text on background | 19.62:1 | AAA |
| Text on card | 19.62:1 | AAA |
| Primary button | 7.36:1 | AAA |
| Secondary button | 6.43:1 | AA |
| Muted text | 8.68:1 | AAA |
| Accent | 7.76:1 | AAA |
| Destructive | 4.13:1 | AA Large |
Paste this into your globals.css to use Appropriation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.106 0.013 263.56);
--muted: oklch(0.965 0.009 217.796);
--muted-foreground: oklch(0.455 0.022 218.178);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.106 0.013 263.56);
--card: oklch(1 0 180);
--card-foreground: oklch(0.106 0.013 263.56);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.395 0.038 269.097);
--primary-foreground: oklch(0.917 0.01 270.029);
--secondary: oklch(0.431 0.029 218.475);
--secondary-foreground: oklch(0.926 0.009 217.798);
--accent: oklch(0.383 0.049 294.664);
--accent-foreground: oklch(0.913 0.013 296.818);
--destructive: oklch(0.362 0.108 37.495);
--destructive-foreground: oklch(0.857 0.066 39.236);
--ring: oklch(0.395 0.038 269.097);
--chart-1: oklch(0.395 0.038 269.097);
--chart-2: oklch(0.431 0.029 218.475);
--chart-3: oklch(0.383 0.049 294.664);
--chart-4: oklch(0.46 0.032 218.49);
--chart-5: oklch(0.392 0.044 268.882);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.106 0.013 263.721);
--foreground: oklch(0.984 0.002 270.108);
--muted: oklch(0.163 0.013 218.256);
--muted-foreground: oklch(0.748 0.02 217.934);
--popover: oklch(0.106 0.013 263.721);
--popover-foreground: oklch(0.984 0.002 270.108);
--card: oklch(0.106 0.013 263.721);
--card-foreground: oklch(0.984 0.002 270.108);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.395 0.038 269.097);
--primary-foreground: oklch(0.917 0.01 270.029);
--secondary: oklch(0.431 0.029 218.475);
--secondary-foreground: oklch(0.926 0.009 217.798);
--accent: oklch(0.383 0.049 294.664);
--accent-foreground: oklch(0.913 0.013 296.818);
--destructive: oklch(0.61 0.195 36.648);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.395 0.038 269.097);
--chart-1: oklch(0.395 0.038 269.097);
--chart-2: oklch(0.431 0.029 218.475);
--chart-3: oklch(0.383 0.049 294.664);
--chart-4: oklch(0.46 0.032 218.49);
--chart-5: oklch(0.392 0.044 268.882);
}