Lone Hunter Dragon is a shadcn/ui theme built around a green primary color (#90c846) with pink accents (#c84690). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#90c846) on a green-tinted background (#0b0e07).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0e07black |
| Foreground | #080c03black | #fdfdfcwhite |
| Card | #ffffffwhite | #0b0e07black |
| Card foreground | #080c03black | #fdfdfcwhite |
| Popover | #ffffffwhite | #0b0e07black |
| Popover foreground | #080c03black | #fdfdfcwhite |
| Primary | #90c846yellowgreen | #90c846yellowgreen |
| Primary foreground | #24330fdarkgreen | #24330fdarkgreen |
| Secondary | #4690c8steelblue | #4690c8steelblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #cadbe8gainsboro | #172835darkslategray |
| Muted foreground | #666666dimgray | #999999darkgray |
| Accent | #c84690palevioletred | #c84690palevioletred |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #711505maroon | #f52d0aorangered |
| Destructive foreground | #fcb8aclightpink | #ffffffwhite |
| Border | #f2f3f1whitesmoke | #1f201dblack |
| Input | #f2f3f1whitesmoke | #1f201dblack |
| Ring | #90c846yellowgreen | #90c846yellowgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.73:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 6.76:1 | AA |
| Secondary button | 6.07:1 | AA |
| Muted text | 4.03:1 | AA Large |
| Accent | 4.42:1 | AA Large |
| Destructive | 6.97:1 | AA |
| Text on background | 19.13:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 6.76:1 | AA |
| Secondary button | 6.07:1 | AA |
| Muted text | 5.28:1 | AA |
| Accent | 4.42:1 | AA Large |
| Destructive | 3.99:1 | AA Large |
Paste this into your globals.css to use Lone Hunter Dragon in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.148 0.025 125.152);
--muted: oklch(0.882 0.026 240.688);
--muted-foreground: oklch(0.51 0 171.87);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.148 0.025 125.152);
--card: oklch(1 0 180);
--card-foreground: oklch(0.148 0.025 125.152);
--border: oklch(0.963 0.002 125.769);
--input: oklch(0.963 0.002 125.769);
--primary: oklch(0.768 0.169 129.684);
--primary-foreground: oklch(0.298 0.061 129.196);
--secondary: oklch(0.63 0.112 244.08);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.596 0.18 348.944);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.358 0.128 32.357);
--destructive-foreground: oklch(0.841 0.081 30.121);
--ring: oklch(0.768 0.169 129.684);
--chart-1: oklch(0.768 0.169 129.684);
--chart-2: oklch(0.63 0.112 244.08);
--chart-3: oklch(0.596 0.18 348.944);
--chart-4: oklch(0.653 0.105 243.496);
--chart-5: oklch(0.776 0.176 129.901);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.156 0.016 126.296);
--foreground: oklch(0.993 0.002 125.761);
--muted: oklch(0.269 0.033 242.414);
--muted-foreground: oklch(0.683 0 180);
--popover: oklch(0.156 0.016 126.296);
--popover-foreground: oklch(0.993 0.002 125.761);
--card: oklch(0.156 0.016 126.296);
--card-foreground: oklch(0.993 0.002 125.761);
--border: oklch(0.242 0.007 126.142);
--input: oklch(0.242 0.007 126.142);
--primary: oklch(0.768 0.169 129.684);
--primary-foreground: oklch(0.298 0.061 129.196);
--secondary: oklch(0.63 0.112 244.08);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.596 0.18 348.944);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.625 0.235 31.603);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.768 0.169 129.684);
--chart-1: oklch(0.768 0.169 129.684);
--chart-2: oklch(0.63 0.112 244.08);
--chart-3: oklch(0.596 0.18 348.944);
--chart-4: oklch(0.653 0.105 243.496);
--chart-5: oklch(0.776 0.176 129.901);
}