Gestalt: A set of React UI components that supports Pinterest’s design language
1–10 of 21 posts
Re: Gestalt: A set of React UI components that supports Pinterest’s design language
#2Re: Gestalt: A set of React UI components that supports Pinterest’s design language
#3Re: Gestalt: A set of React UI components that supports Pinterest’s design language
#4I (alongside some very talented people) work on this. AMA!
Re: Gestalt: A set of React UI components that supports Pinterest’s design language
#5I (alongside some very talented people) work on this. AMA!
Re: Gestalt: A set of React UI components that supports Pinterest’s design language
#6I (alongside some very talented people) work on this. AMA!
Congrats on getting this released! Does it support theming? Took a quick look at the docs I don't think it does.
One of the benefits of Gestalt is that all styling is statically resolvable. This means that all it's CSS can be built to one small file or inline styles. We get a bunch of perf. & portability for free. (Unconstrained) theming requires runtime style resolution which would negate those benefits. There are also things that we'd like to be able to change and tweak globally and those get difficult if everybody is running separate themes. We recently switched to using system fonts and we're planning on bumping the color contrast.
However, we're generally _really_ open to constrained theming (i.e. more button colors).
Re: Gestalt: A set of React UI components that supports Pinterest’s design language
#7Re: Gestalt: A set of React UI components that supports Pinterest’s design language
#8I (alongside some very talented people) work on this. AMA!
QQ- why declare typing in both flow and proptypes? Thanks!
Re: Gestalt: A set of React UI components that supports Pinterest’s design language
#9One point about the docs - you can cut down on the verbosity of those examples by using arrow functions (instead of .bind) and class properties instead of state initialization in constructors.
Re: Gestalt: A set of React UI components that supports Pinterest’s design language
#10Earlier quoted context omitted.
Congrats on getting this released! Does it support theming? Took a quick look at the docs I don't think it does.
Not currently, though this is a question that gets asked a lot. One of the benefits of Gestalt is that all styling is statically resolvable. This means that all it's CSS can be built to one small file or inline styles. We get a bunch of perf. & portability for free. (Unconstrained) theming requires runtime style resolution which would negate those benefits. There are also things that we'd like to be able to change an…