Dobri Next -A07- Oxford is a shadcn/ui theme built around a green primary color (#63ca68) with muted blue accents (#445964). The light mode uses a blue-tinted background (#253137). Dark mode keeps the green primary (#63ca68) on a blue-tinted background (#253137).
| Token | Light | Dark |
|---|---|---|
| Background | #253137darkslategray | #253137darkslategray |
| Foreground | #f5f5f5whitesmoke | #f5f5f5whitesmoke |
| Card | #212b31darkslategray | #212b31darkslategray |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #1f292edarkslategray | #1f292edarkslategray |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #63ca68mediumseagreen | #63ca68mediumseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #2d532fdarkslategray | #2d532fdarkslategray |
| Secondary foreground | #cde4celightgrey | #cde4celightgrey |
| Muted | #313a3fdarkslategray | #313a3fdarkslategray |
| Muted foreground | #afbac0silver | #afbac0silver |
| Accent | #445964darkslategray | #445964darkslategray |
| Accent foreground | #eaeef1lavender | #eaeef1lavender |
| Destructive | #f64437tomato | #f64437tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #353c40darkslategray | #353c40darkslategray |
| Input | #3c4448darkslategray | #3c4448darkslategray |
| Ring | #63ca68mediumseagreen | #63ca68mediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 12.26:1 | AAA |
| Text on card | 14.38:1 | AAA |
| Primary button | 10.15:1 | AAA |
| Secondary button | 6.53:1 | AA |
| Muted text | 5.84:1 | AA |
| Accent | 6.25:1 | AA |
| Destructive | 3.62:1 | AA Large |
| Text on background | 12.26:1 | AAA |
| Text on card | 14.38:1 | AAA |
| Primary button | 10.15:1 | AAA |
| Secondary button | 6.53:1 | AA |
| Muted text | 5.84:1 | AA |
| Accent | 6.25:1 | AA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Dobri Next -A07- Oxford in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.304 0.019 229.767);
--foreground: oklch(0.97 0 180);
--muted: oklch(0.343 0.014 229.374);
--muted-foreground: oklch(0.783 0.015 229.013);
--popover: oklch(0.272 0.016 229.712);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.283 0.017 229.732);
--card-foreground: oklch(1 0 180);
--border: oklch(0.353 0.011 229.207);
--input: oklch(0.382 0.012 229.219);
--primary: oklch(0.754 0.166 144.666);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.403 0.074 145.11);
--secondary-foreground: oklch(0.897 0.038 146.634);
--accent: oklch(0.452 0.031 229.918);
--accent-foreground: oklch(0.947 0.006 228.83);
--destructive: oklch(0.646 0.216 28.7);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.754 0.166 144.666);
--chart-1: oklch(0.754 0.166 144.666);
--chart-2: oklch(0.403 0.074 145.11);
--chart-3: oklch(0.452 0.031 229.918);
--chart-4: oklch(0.435 0.081 145.076);
--chart-5: oklch(0.76 0.174 144.545);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.304 0.019 229.767);
--foreground: oklch(0.97 0 180);
--muted: oklch(0.343 0.014 229.374);
--muted-foreground: oklch(0.783 0.015 229.013);
--popover: oklch(0.272 0.016 229.712);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.283 0.017 229.732);
--card-foreground: oklch(1 0 180);
--border: oklch(0.353 0.011 229.207);
--input: oklch(0.382 0.012 229.219);
--primary: oklch(0.754 0.166 144.666);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.403 0.074 145.11);
--secondary-foreground: oklch(0.897 0.038 146.634);
--accent: oklch(0.452 0.031 229.918);
--accent-foreground: oklch(0.947 0.006 228.83);
--destructive: oklch(0.646 0.216 28.7);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.754 0.166 144.666);
--chart-1: oklch(0.754 0.166 144.666);
--chart-2: oklch(0.403 0.074 145.11);
--chart-3: oklch(0.452 0.031 229.918);
--chart-4: oklch(0.435 0.081 145.076);
--chart-5: oklch(0.76 0.174 144.545);
}