tnc-ca-geo / animl-frontend

A frontend web app for viewing & labeling camera trap data by The Nature Conservancy.
https://animl.camera
Other
18 stars 0 forks source link

Refactor design system with Radix #71

Open nathanielrindlaub opened 2 years ago

nathanielrindlaub commented 2 years ago

https://www.radix-ui.com/

I really like the simplicity and flexibility of this component library, and it's made by Modulz (creators of Stitches, which we're using for styling), so they should play nicely together.

Check out Radix primatives: https://www.radix-ui.com/docs/primitives/overview/introduction

Radix Icons: https://icons.modulz.app/

Radix Colors: https://www.radix-ui.com/colors

nathanielrindlaub commented 2 years ago

https://ped.ro/writing/why-i-build-design-systems-with-stitches-and-radix

nathanielrindlaub commented 2 years ago

https://design-system.modulz-deploys.com/ https://github.com/radix-ui/design-system

nathanielrindlaub commented 2 years ago

Potential things to progressively transition to Radix components:

Other cool ones that might come in handy:

nathanielrindlaub commented 2 years ago

IMO select should be top priority. I don't love styling override approach forced by react-select

nathanielrindlaub commented 1 year ago

Scroll area would provide consistent scroll bar styling across browsers.

nathanielrindlaub commented 1 year ago

Now depends on transitioning away from CRA #73