Majorelle Blue Sheep is a shadcn/ui theme built around an indigo primary color (#5c4de6) with green accents (#d6e64d). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the indigo primary (#5c4de6) on an indigo-tinted background (#07070e).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #07070eblack |
| Foreground | #010104black | #ffffffwhite |
| Card | #fcfcfdwhite | #07070eblack |
| Card foreground | #010104black | #ffffffwhite |
| Popover | #fcfcfdwhite | #07070eblack |
| Popover foreground | #010104black | #ffffffwhite |
| Primary | #5c4de6slateblue | #5c4de6slateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d6e64dgreenyellow | #d6e64dgreenyellow |
| Secondary foreground | #000000black | #000000black |
| Muted | #e7e9d2antiquewhite | #2a2d16black |
| Muted foreground | #4a4c39darkolivegreen | #c4c6b3silver |
| Accent | #d6e64dgreenyellow | #d6e64dgreenyellow |
| Accent foreground | #000000black | #000000black |
| Destructive | #792101maroon | #fd5f26tomato |
| Destructive foreground | #fec4aelightpink | #000000black |
| Border | #e8e8eelavender | #191820black |
| Input | #e8e8eelavender | #191820black |
| Ring | #5c4de6slateblue | #5c4de6slateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.28:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 5.77:1 | AA |
| Secondary button | 15.23:1 | AAA |
| Muted text | 7.14:1 | AAA |
| Accent | 15.23:1 | AAA |
| Destructive | 6.73:1 | AA |
| Text on background | 20.10:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 5.77:1 | AA |
| Secondary button | 15.23:1 | AAA |
| Muted text | 8.14:1 | AAA |
| Accent | 15.23:1 | AAA |
| Destructive | 6.84:1 | AA |
Paste this into your globals.css to use Majorelle Blue Sheep in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 290.975);
--foreground: oklch(0.071 0.022 286.942);
--muted: oklch(0.927 0.031 111.632);
--muted-foreground: oklch(0.408 0.03 112.361);
--popover: oklch(0.991 0.002 290.975);
--popover-foreground: oklch(0.071 0.022 286.942);
--card: oklch(0.991 0.002 290.975);
--card-foreground: oklch(0.071 0.022 286.942);
--border: oklch(0.932 0.008 290.847);
--input: oklch(0.932 0.008 290.847);
--primary: oklch(0.53 0.221 280.209);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.885 0.172 114.889);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.885 0.172 114.889);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.387 0.127 37.289);
--destructive-foreground: oklch(0.866 0.074 40.889);
--ring: oklch(0.53 0.221 280.209);
--chart-1: oklch(0.53 0.221 280.209);
--chart-2: oklch(0.885 0.172 114.889);
--chart-3: oklch(0.885 0.172 114.889);
--chart-4: oklch(0.892 0.164 114.589);
--chart-5: oklch(0.526 0.229 279.557);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.132 0.017 289.247);
--foreground: oklch(1 0 180);
--muted: oklch(0.287 0.039 113.518);
--muted-foreground: oklch(0.82 0.025 111.592);
--popover: oklch(0.132 0.017 289.247);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.132 0.017 289.247);
--card-foreground: oklch(1 0 180);
--border: oklch(0.213 0.016 289.505);
--input: oklch(0.213 0.016 289.505);
--primary: oklch(0.53 0.221 280.209);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.885 0.172 114.889);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.885 0.172 114.889);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.685 0.203 38.387);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.53 0.221 280.209);
--chart-1: oklch(0.53 0.221 280.209);
--chart-2: oklch(0.885 0.172 114.889);
--chart-3: oklch(0.885 0.172 114.889);
--chart-4: oklch(0.892 0.164 114.589);
--chart-5: oklch(0.526 0.229 279.557);
}