DEV Community

Introducing salt-theme-gen: Generate a Complete Design System from One Color (opens in new tab)

Discussed on DEV

You have a design system problem if any of these sound familiar: Your _variables.scss has 80 hardcoded colors, half of them unused Dark mode is a second file someone maintains by hand (when they remember) Changing the primary color means grepping through a dozen partials and hoping nothing was hardcoded elsewhere The designer asked for "slightly more rounded corners" and you spent 45 minutes finding every border-radius value salt-theme-gen is a zero-dependency TypeScript package that generate...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help