Dobri Next -A06- Amethyst is a shadcn/ui theme built around a vivid violet primary color (#a51fff) with vivid deep violet accents (#450070). The light mode uses a violet-tinted background (#160024). Dark mode keeps the vivid violet primary (#a51fff) on a violet-tinted background (#160024).
| Token | Light | Dark |
|---|---|---|
| Background | #160024black | #160024black |
| Foreground | #f5f5f5whitesmoke | #f5f5f5whitesmoke |
| Card | #10001ablack | #10001ablack |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #0d0014black | #0d0014black |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #a51fffblueviolet | #a51fffblueviolet |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c3acd2silver | #c3acd2silver |
| Secondary foreground | #291b32darkslategray | #291b32darkslategray |
| Muted | #27222bdarkslategray | #27222bdarkslategray |
| Muted foreground | #a89bb0darkgray | #a89bb0darkgray |
| Accent | #450070indigo | #450070indigo |
| Accent foreground | #dca3ffplum | #dca3ffplum |
| Destructive | #d41811firebrick | #d41811firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #25033amidnightblue | #25033amidnightblue |
| Input | #2e0449midnightblue | #2e0449midnightblue |
| Ring | #a51fffblueviolet | #a51fffblueviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.18:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 4.95:1 | AA |
| Secondary button | 7.83:1 | AAA |
| Muted text | 5.92:1 | AA |
| Accent | 7.20:1 | AAA |
| Destructive | 5.32:1 | AA |
| Text on background | 18.18:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 4.95:1 | AA |
| Secondary button | 7.83:1 | AAA |
| Muted text | 5.92:1 | AA |
| Accent | 7.20:1 | AAA |
| Destructive | 5.32:1 | AA |
Paste this into your globals.css to use Dobri Next -A06- Amethyst in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.154 0.078 310.172);
--foreground: oklch(0.97 0 180);
--muted: oklch(0.261 0.019 312.499);
--muted-foreground: oklch(0.708 0.034 312.659);
--popover: oklch(0.118 0.059 313.723);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.131 0.065 312.254);
--card-foreground: oklch(1 0 180);
--border: oklch(0.21 0.099 307.967);
--input: oklch(0.241 0.116 307.196);
--primary: oklch(0.584 0.288 305.014);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.777 0.059 311.795);
--secondary-foreground: oklch(0.25 0.046 310.927);
--accent: oklch(0.313 0.162 305.055);
--accent-foreground: oklch(0.801 0.139 311.765);
--destructive: oklch(0.554 0.217 29.063);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.584 0.288 305.014);
--chart-1: oklch(0.584 0.288 305.014);
--chart-2: oklch(0.777 0.059 311.795);
--chart-3: oklch(0.313 0.162 305.055);
--chart-4: oklch(0.804 0.052 311.883);
--chart-5: oklch(0.586 0.293 304.664);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.078 310.172);
--foreground: oklch(0.97 0 180);
--muted: oklch(0.261 0.019 312.499);
--muted-foreground: oklch(0.708 0.034 312.659);
--popover: oklch(0.118 0.059 313.723);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.131 0.065 312.254);
--card-foreground: oklch(1 0 180);
--border: oklch(0.21 0.099 307.967);
--input: oklch(0.241 0.116 307.196);
--primary: oklch(0.584 0.288 305.014);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.777 0.059 311.795);
--secondary-foreground: oklch(0.25 0.046 310.927);
--accent: oklch(0.313 0.162 305.055);
--accent-foreground: oklch(0.801 0.139 311.765);
--destructive: oklch(0.554 0.217 29.063);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.584 0.288 305.014);
--chart-1: oklch(0.584 0.288 305.014);
--chart-2: oklch(0.777 0.059 311.795);
--chart-3: oklch(0.313 0.162 305.055);
--chart-4: oklch(0.804 0.052 311.883);
--chart-5: oklch(0.586 0.293 304.664);
}