system-props / system-props

Responsive, theme-based style props for building design systems with React. Written in TypeScript.

Home Page:https://system-props.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strict Mode Types

roginfarrer opened this issue · comments

That's a good idea! On that subject, would it be possible to validate strict mode with TypeScript?

I mean, if I don't have a red color in my theme and I'm passing color="red", TS should raise an error.

Originally posted by @Kerumen in #53 (comment)