Elite is a shadcn/ui theme built around a vivid blue primary color (#0b87e0) with vivid orange accents (#e0640b). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#0b87e0) on a blue-tinted background (#050b10).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050b10black |
| Foreground | #010304black | #ffffffwhite |
| Card | #ffffffwhite | #050b10black |
| Card foreground | #010304black | #ffffffwhite |
| Popover | #ffffffwhite | #050b10black |
| Popover foreground | #010304black | #ffffffwhite |
| Primary | #0b87e0dodgerblue | #0b87e0dodgerblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e0640bchocolate | #e0640bchocolate |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e2dad4gainsboro | #2b231dblack |
| Muted foreground | #696059dimgray | #a69d96darkgray |
| Accent | #e0640bchocolate | #e0640bchocolate |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #770d04maroon | #f94534tomato |
| Destructive foreground | #fdb6b0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0b87e0dodgerblue | #0b87e0dodgerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 3.77:1 | AA Large |
| Secondary button | 3.51:1 | AA Large |
| Muted text | 4.45:1 | AA Large |
| Accent | 3.51:1 | AA Large |
| Destructive | 6.78:1 | AA |
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 3.77:1 | AA Large |
| Secondary button | 3.51:1 | AA Large |
| Muted text | 5.82:1 | AA |
| Accent | 3.51:1 | AA Large |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Elite in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.091 0.01 230.807);
--muted: oklch(0.894 0.012 58.172);
--muted-foreground: oklch(0.494 0.015 57.927);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.091 0.01 230.807);
--card: oklch(1 0 180);
--card-foreground: oklch(0.091 0.01 230.807);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.61 0.164 248.719);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.646 0.176 46.911);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.646 0.176 46.911);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.364 0.139 30.422);
--destructive-foreground: oklch(0.841 0.083 24.816);
--ring: oklch(0.61 0.164 248.719);
--chart-1: oklch(0.61 0.164 248.719);
--chart-2: oklch(0.646 0.176 46.911);
--chart-3: oklch(0.646 0.176 46.911);
--chart-4: oklch(0.677 0.185 46.778);
--chart-5: oklch(0.614 0.168 249.207);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.145 0.016 235.797);
--foreground: oklch(1 0 180);
--muted: oklch(0.262 0.017 57.451);
--muted-foreground: oklch(0.701 0.014 58.082);
--popover: oklch(0.145 0.016 235.797);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.145 0.016 235.797);
--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.61 0.164 248.719);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.646 0.176 46.911);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.646 0.176 46.911);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.652 0.219 29.489);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.61 0.164 248.719);
--chart-1: oklch(0.61 0.164 248.719);
--chart-2: oklch(0.646 0.176 46.911);
--chart-3: oklch(0.646 0.176 46.911);
--chart-4: oklch(0.677 0.185 46.778);
--chart-5: oklch(0.614 0.168 249.207);
}