Ownership is a shadcn/ui theme built around an indigo primary color (#807fdc) with yellow accents (#dadc7f). The light mode uses a neutral background (#f6f6fd). Dark mode keeps the indigo primary (#807fdc) on an indigo-tinted background (#04040c).
| Token | Light | Dark |
|---|---|---|
| Background | #f6f6fdghostwhite | #04040cblack |
| Foreground | #020208black | #f9f9fbghostwhite |
| Card | #f6f6fdghostwhite | #04040cblack |
| Card foreground | #020208black | #f9f9fbghostwhite |
| Popover | #f6f6fdghostwhite | #04040cblack |
| Popover foreground | #020208black | #f9f9fbghostwhite |
| Primary | #807fdcmediumpurple | #807fdcmediumpurple |
| Primary foreground | #000000black | #000000black |
| Secondary | #dadc7fkhaki | #dadc7fkhaki |
| Secondary foreground | #202009black | #202009black |
| Muted | #f1f1e4linen | #1b1b0eblack |
| Muted foreground | #5a5b49darkolivegreen | #b6b6a4darkgray |
| Accent | #dadc7fkhaki | #dadc7fkhaki |
| Accent foreground | #202009black | #202009black |
| Destructive | #b91c0efirebrick | #f04c3dtomato |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #807fdcmediumpurple | #807fdcmediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.29:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 5.98:1 | AA |
| Secondary button | 11.42:1 | AAA |
| Muted text | 6.09:1 | AA |
| Accent | 11.42:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 5.98:1 | AA |
| Secondary button | 11.42:1 | AAA |
| Muted text | 8.45:1 | AAA |
| Accent | 11.42:1 | AAA |
| Destructive | 3.61:1 | AA Large |
Paste this into your globals.css to use Ownership in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.976 0.009 286.991);
--foreground: oklch(0.091 0.024 281.674);
--muted: oklch(0.955 0.017 107.496);
--muted-foreground: oklch(0.464 0.028 108.227);
--popover: oklch(0.976 0.009 286.991);
--popover-foreground: oklch(0.091 0.024 281.674);
--card: oklch(0.976 0.009 286.991);
--card-foreground: oklch(0.091 0.024 281.674);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.639 0.137 282.549);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.873 0.116 109.416);
--secondary-foreground: oklch(0.237 0.038 109.879);
--accent: oklch(0.873 0.116 109.416);
--accent-foreground: oklch(0.237 0.038 109.879);
--destructive: oklch(0.505 0.192 30.087);
--destructive-foreground: oklch(0.99 0.004 23.623);
--ring: oklch(0.639 0.137 282.549);
--chart-1: oklch(0.639 0.137 282.549);
--chart-2: oklch(0.873 0.116 109.416);
--chart-3: oklch(0.873 0.116 109.416);
--chart-4: oklch(0.884 0.106 109.215);
--chart-5: oklch(0.633 0.144 282.214);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.024 282.914);
--foreground: oklch(0.982 0.003 287.114);
--muted: oklch(0.217 0.024 109.032);
--muted-foreground: oklch(0.772 0.025 107.747);
--popover: oklch(0.11 0.024 282.914);
--popover-foreground: oklch(0.982 0.003 287.114);
--card: oklch(0.11 0.024 282.914);
--card-foreground: oklch(0.982 0.003 287.114);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.639 0.137 282.549);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.873 0.116 109.416);
--secondary-foreground: oklch(0.237 0.038 109.879);
--accent: oklch(0.873 0.116 109.416);
--accent-foreground: oklch(0.237 0.038 109.879);
--destructive: oklch(0.646 0.204 29.081);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.639 0.137 282.549);
--chart-1: oklch(0.639 0.137 282.549);
--chart-2: oklch(0.873 0.116 109.416);
--chart-3: oklch(0.873 0.116 109.416);
--chart-4: oklch(0.884 0.106 109.215);
--chart-5: oklch(0.633 0.144 282.214);
}