flojoy-ai / studio

Joyful visual programming for Python
https://docs.flojoy.ai
MIT License
202 stars 20 forks source link

make node colors & shapes consistent and visually meaningful #628

Closed jackparmer closed 1 year ago

jackparmer commented 1 year ago

Currently there are 5 top-level node categories:

To make it easier to associate nodes with their functional category, their coloring and shapes should be meaningful, distinctive, and consistent.

I propose the color and shape scheme below

Studio canvas

image

Docs sidebar

image

Docs sidebar when fully collapsed

image

Studio sidebar

image

Previous studio canvas mocks (for comparison)

image
jackparmer commented 1 year ago

SVG icons

Pyramid_953

Cuboid_949

Icosahedron_995

Cylinder_563

jackparmer commented 1 year ago

(cc @bbogens who first pointed out the inconsistency ⬆️ )

trbritt commented 1 year ago

BTW the SVGs used for the NumPy and SciPy autogenerated nodes are hardcoded https://github.com/flojoy-io/studio/blob/main/src/feature/flow_chart_panel/svgs/add-multiply-svg.tsx#L130, just FYI

scorinaldi commented 1 year ago

Note: Node styling will have to be updated in the docs renderer also

jackparmer commented 1 year ago

Nodes navigation home page on docs

Dark theme

image image image image

Light theme

image image image image