Thank you and a maintained, TypeScript-first rewrite of v5 (open to collaborating)
Hi Brent (@jxnblk and maintainers),
First: thank you. styled-system shaped how a lot of us think about constraint-based, theme-aware style props, and I've leaned on it for years. This isn't a bug report, it's a note of appreciatio.
I've been maintaining a first-class-TypeScript rewrite of styled-system v5, published as @soroush.tech/styled-system. It's a drop-in replacement for the v5 runtim the root export surface matches upstream verbatim, while shipping its own types (so no separat package for type). It's MIT-licensed and credits/links back to this repo in the README.
A few specifics:
- Drop-in for the v5 runtime; same public API (space, layout, typography, color, variant, css, should-forward-prop, …), plus per-feature subpath exports.
- First-class, theme-scale-aware TypeScript types, replacing @types/styled-system.
- Full test coverage; dual ESM/CJS builds.
- npm: https://www.npmjs.com/package/@soroush.tech/styled-system
- Source: https://github.com/soroush-tech/core/tree/main/packages/styled-system
I'm not trying to redirect or fork anything out from under you, I just wanted you to know it exists, and to say the door's open. If there's ever interest in collaborating, cross-linking, or anything else useful to the community, I'd be glad to talk. And if you'd rather I didn't, that's completely fine too.
Either way, thanks for the original work. Masoud Soroush (soroush.tech)
Source: styled-system/styled-system