FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
I open-sourced salt-theme-gen
NewsWeb Development

I open-sourced salt-theme-gen

via Dev.to WebdevHasan Sarwer4h ago

I open-sourced salt-theme-gen — a zero-dependency OKLCH theme generator for JS/TS Theming often sounds simple until you actually try to do it well. You pick a primary color. Then you start adjusting secondary colors. Then dark mode looks wrong. Then hover and disabled states feel inconsistent. Then accessibility becomes a separate cleanup task. And after changing one base color, you end up reworking half the theme again. That repeated pain is why I built salt-theme-gen . It is an OKLCH-based design system generator for JavaScript and TypeScript that takes one color in and gives you a complete light and dark theme out . It is: zero dependency written in TypeScript platform agnostic usable with React Native, React, Next.js, Node, Bun, Deno, or any JavaScript runtime The problem I wanted to solve I kept running into the same friction points: picking colors that do not really work together dark mode looking washed out or too contrasty manually creating hover, pressed, focused, and disabled

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
2 views

Related Articles

I Found the Same Hidden Equation in a 2,000-Year-Old Calendar, QR Codes, Jazz Theory, and Quantum…
News

I Found the Same Hidden Equation in a 2,000-Year-Old Calendar, QR Codes, Jazz Theory, and Quantum…

Medium Programming • 4h ago

1 Dangerous Habit That Kills 99% of Programmers’ Startup Dreams Before They Start(Nobody Talks…
News

1 Dangerous Habit That Kills 99% of Programmers’ Startup Dreams Before They Start(Nobody Talks…

Medium Programming • 4h ago

Letting agents in 2026 do research? It’s still too early to tell..
News

Letting agents in 2026 do research? It’s still too early to tell..

Medium Programming • 4h ago

PEP Talk #1 -​ PEP 723: Inline Script Metadata
News

PEP Talk #1 -​ PEP 723: Inline Script Metadata

Medium Programming • 4h ago

Judge halts Nexstar/Tegna merger after FCC let firms exceed TV ownership limit
News

Judge halts Nexstar/Tegna merger after FCC let firms exceed TV ownership limit

Ars Technica • 4h ago

Discover More Articles