Mint looks like a great batteries-included successor to Elm.
One thing I'm not sure about from reading the docs is: can you customize things like available sizes? I mean, it's a design system, after all.
Hi 👋
can you customize things like available sizes?
There are no fixed sizes like in other design systems. You can make any element any size by providing a prop:
<Ui.Button label="I am a double size button!" size={Ui.Size::Em(2)}/>
Since every component is using em this cascades down to child components as well.
em
Currently there are not much design tokens other than ones for the color but in the future I'll add them for spacing, padding, border radius etc...
Let me know if you have any questions! Happy to answer them 🙂
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Mint looks like a great batteries-included successor to Elm.
One thing I'm not sure about from reading the docs is: can you customize things like available sizes? I mean, it's a design system, after all.
Hi 👋
There are no fixed sizes like in other design systems. You can make any element any size by providing a prop:
Since every component is using
em
this cascades down to child components as well.Currently there are not much design tokens other than ones for the color but in the future I'll add them for spacing, padding, border radius etc...
Let me know if you have any questions! Happy to answer them 🙂