Dark Serpent Llama is a shadcn/ui theme built around a deep green primary color (#193711) with deep purple accents (#2e1137). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#193711) on a green-tinted background (#071005).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #071005black |
| Foreground | #071004black | #f6f9f6whitesmoke |
| Card | #fcfcfcsnow | #091306black |
| Card foreground | #050c03black | #f9fbf9mintcream |
| Popover | #ffffffwhite | #071005black |
| Popover foreground | #071004black | #f6f9f6whitesmoke |
| Primary | #193711darkgreen | #193711darkgreen |
| Primary foreground | #66c84climegreen | #66c84climegreen |
| Secondary | #2e1137midnightblue | #2e1137midnightblue |
| Secondary foreground | #d19ae0plum | #d19ae0plum |
| Muted | #e1d9e3gainsboro | #241c26black |
| Muted foreground | #56435bdarkslategray | #b7a4bcdarkgray |
| Accent | #2e1137midnightblue | #2e1137midnightblue |
| Accent foreground | #d19ae0plum | #d19ae0plum |
| Destructive | #bc3301firebrick | #fe6a34tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e7eae6linen | #242a22darkslategray |
| Input | #e7eae6linen | #242a22darkslategray |
| Ring | #193711darkgreen | #193711darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.35:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 7.51:1 | AAA |
| Muted text | 6.46:1 | AA |
| Accent | 7.51:1 | AAA |
| Destructive | 5.83:1 | AA |
| Text on background | 18.28:1 | AAA |
| Text on card | 18.19:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 7.51:1 | AAA |
| Muted text | 7.13:1 | AAA |
| Accent | 7.51:1 | AAA |
| Destructive | 7.31:1 | AAA |
Paste this into your globals.css to use Dark Serpent Llama in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.159 0.029 137.703);
--muted: oklch(0.894 0.017 318.884);
--muted-foreground: oklch(0.412 0.045 318.842);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.159 0.029 137.703);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.142 0.025 137.253);
--border: oklch(0.934 0.007 138.893);
--input: oklch(0.934 0.007 138.893);
--primary: oklch(0.302 0.072 139.377);
--primary-foreground: oklch(0.747 0.186 139.46);
--secondary: oklch(0.242 0.077 318.414);
--secondary-foreground: oklch(0.761 0.115 318.809);
--accent: oklch(0.242 0.077 318.414);
--accent-foreground: oklch(0.761 0.115 318.809);
--destructive: oklch(0.527 0.18 35.936);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.302 0.072 139.377);
--chart-1: oklch(0.302 0.072 139.377);
--chart-2: oklch(0.242 0.077 318.414);
--chart-3: oklch(0.242 0.077 318.414);
--chart-4: oklch(0.271 0.09 318.349);
--chart-5: oklch(0.305 0.075 139.437);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.027 137.789);
--foreground: oklch(0.979 0.005 138.892);
--muted: oklch(0.24 0.023 318.85);
--muted-foreground: oklch(0.742 0.039 318.871);
--popover: oklch(0.158 0.027 137.789);
--popover-foreground: oklch(0.979 0.005 138.892);
--card: oklch(0.174 0.031 138.343);
--card-foreground: oklch(0.986 0.003 138.892);
--border: oklch(0.277 0.016 138.918);
--input: oklch(0.277 0.016 138.918);
--primary: oklch(0.302 0.072 139.377);
--primary-foreground: oklch(0.747 0.186 139.46);
--secondary: oklch(0.242 0.077 318.414);
--secondary-foreground: oklch(0.761 0.115 318.809);
--accent: oklch(0.242 0.077 318.414);
--accent-foreground: oklch(0.761 0.115 318.809);
--destructive: oklch(0.701 0.193 39.151);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.302 0.072 139.377);
--chart-1: oklch(0.302 0.072 139.377);
--chart-2: oklch(0.242 0.077 318.414);
--chart-3: oklch(0.242 0.077 318.414);
--chart-4: oklch(0.271 0.09 318.349);
--chart-5: oklch(0.305 0.075 139.437);
}