Live data from Hacker News

Gestalt: A set of React UI components that supports Pinterest’s design language

github.com

1–10 of 21 posts

Re: Gestalt: A set of React UI components that supports Pinterest’s design language

#6
post #5

I (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.

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 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

#7
post #4

I (alongside some very talented people) work on this. AMA!

Chris, the docs are fantastic!

Thanks! It's been a big group effort. We've put a lot of work into them (with much more to come) and they've massively helped Gestalt's adoption in both the eng. and design orgs.

Re: Gestalt: A set of React UI components that supports Pinterest’s design language

#10
post #5

Earlier 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…

Thanks for the explanation, that makes sense. Being able to change colours would go a long way in and of itself.
Post reply on HN