Mobile Chrysomela Goettingensis is a shadcn/ui theme built around a muted deep violet primary color (#393149) with muted deep green accents (#314939). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the muted deep violet primary (#393149) on a violet-tinted background (#09050f).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #09050fblack |
| Foreground | #000000black | #f9f8fcghostwhite |
| Card | #f9f7fdghostwhite | #0b0713black |
| Card foreground | #000000black | #fcfbfdsnow |
| Popover | #f9f7fdghostwhite | #0b0713black |
| Popover foreground | #000000black | #fcfbfdsnow |
| Primary | #393149darkslategray | #393149darkslategray |
| Primary foreground | #d3cedelightgrey | #d3cedelightgrey |
| Secondary | #493931darkslategray | #493931darkslategray |
| Secondary foreground | #ded3celightgrey | #ded3celightgrey |
| Muted | #f2efedwhitesmoke | #120e0dblack |
| Muted foreground | #5c524ddimgray | #b2a8a3darkgray |
| Accent | #314939darkslategray | #314939darkslategray |
| Accent foreground | #ceded3lightgrey | #ceded3lightgrey |
| Destructive | #b60707firebrick | #f60e0ered |
| Destructive foreground | #fef0f0lavenderblush | #ffffffwhite |
| Border | #eaeaeblavender | #232324black |
| Input | #eaeaeblavender | #232324black |
| Ring | #393149darkslategray | #393149darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.35:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 7.98:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 6.62:1 | AA |
| Accent | 6.96:1 | AA |
| Destructive | 6.26:1 | AA |
| Text on background | 19.06:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 7.98:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 8.22:1 | AAA |
| Accent | 6.96:1 | AA |
| Destructive | 4.20:1 | AA Large |
Paste this into your globals.css to use Mobile Chrysomela Goettingensis in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 301.423);
--foreground: oklch(0 0 0);
--muted: oklch(0.954 0.004 48.694);
--muted-foreground: oklch(0.445 0.016 48.349);
--popover: oklch(0.979 0.009 301.351);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.979 0.009 301.351);
--card-foreground: oklch(0 0 0);
--border: oklch(0.938 0.001 301.473);
--input: oklch(0.938 0.001 301.473);
--primary: oklch(0.333 0.044 299.325);
--primary-foreground: oklch(0.861 0.023 301.062);
--secondary: oklch(0.36 0.027 47.95);
--secondary-foreground: oklch(0.876 0.014 48.557);
--accent: oklch(0.382 0.041 154.824);
--accent-foreground: oklch(0.886 0.023 156.731);
--destructive: oklch(0.49 0.198 28.89);
--destructive-foreground: oklch(0.967 0.015 17.423);
--ring: oklch(0.333 0.044 299.325);
--chart-1: oklch(0.333 0.044 299.325);
--chart-2: oklch(0.36 0.027 47.95);
--chart-3: oklch(0.382 0.041 154.824);
--chart-4: oklch(0.389 0.03 47.935);
--chart-5: oklch(0.329 0.05 298.946);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.023 300.721);
--foreground: oklch(0.981 0.005 301.406);
--muted: oklch(0.169 0.007 48.293);
--muted-foreground: oklch(0.74 0.014 48.529);
--popover: oklch(0.14 0.027 299.181);
--popover-foreground: oklch(0.991 0.003 301.45);
--card: oklch(0.14 0.027 299.181);
--card-foreground: oklch(0.991 0.003 301.45);
--border: oklch(0.257 0.003 301.322);
--input: oklch(0.257 0.003 301.322);
--primary: oklch(0.333 0.044 299.325);
--primary-foreground: oklch(0.861 0.023 301.062);
--secondary: oklch(0.36 0.027 47.95);
--secondary-foreground: oklch(0.876 0.014 48.557);
--accent: oklch(0.382 0.041 154.824);
--accent-foreground: oklch(0.886 0.023 156.731);
--destructive: oklch(0.615 0.248 28.858);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.333 0.044 299.325);
--chart-1: oklch(0.333 0.044 299.325);
--chart-2: oklch(0.36 0.027 47.95);
--chart-3: oklch(0.382 0.041 154.824);
--chart-4: oklch(0.389 0.03 47.935);
--chart-5: oklch(0.329 0.05 298.946);
}