Open theme.domi.ninja · Source on GitHub
Why this exists
While working on color.domi.ninja and writing about OKLCH colors, I tried turning color gradients directly into full shadcn/ui themes by mapping positions along a ramp to Background, Card, Primary, Secondary, and Accent. I wasn’t happy with the results.
Instead of forcing every UI role onto a single gradient, I forked ui.jln.dev and turned it into an independent theme studio focused on picking colors, checking readability, and exporting clean CSS. Marketing banners, affiliate links, and tracking were stripped out, and there are no plans to sync with upstream.
What it does
- Multi-space color pickers: Pick a Primary color (plus optional Secondary and Accent colors) using side-by-side OKHCL, HCL, HSL, and RGB views, complete with sRGB vs. Display P3 gamut comparisons.
- Light & dark theme generation: Hit Generate theme (or
Ctrl/Cmd+Enter) to generate matched light and dark palettes around your chosen colors, including hue-matched surfaces and semantic feedback colors (success, warning, destructive). - Per-token fine-tuning: Edit individual theme colors, link or unlink eligible tokens across light and dark mode, and tweak border radius, border width, card shadows, and filled vs. outlined button styles.
- Live APCA contrast auditing: Both light and dark component previews are audited concurrently with APCA contrast checks. Low-contrast combinations are flagged right in the workspace, and generation automatically repairs contrast issues where it can.
- Built-in CSS editor & export: Inspect or edit the generated CSS variables directly in the workspace (with validation and undo), then use Copy code to drop the theme into your project.
- Shareable URLs: The entire studio state is encoded in the URL, so copying the address bar shares your exact theme and picker setup without an account or browser storage. Desktop uses a split workspace; mobile splits into tabs.
Stack & hosting
Built with Next.js, React, Tailwind CSS, shadcn/ui, culori, and apca-w3. Self-hosted and deployed with pp.