Auto-Layout icon indicating copy to clipboard operation
Auto-Layout copied to clipboard

change "pins" to actual flexbox CSS naming

Open ninjasort opened this issue 8 years ago • 2 comments

"Pins" is cute, but it's not the actual way designers work. Ideally this should be renamed to the flexbox terminology. If you forgot about that, here's a mapping:

Overview

http://devdocs.io/css/css_flexible_box_layout/advanced_layouts_with_flexbox

Justify Content

http://devdocs.io/css/justify-content pin left => justify-content: left pin right => justify-content: right center vertically => justify-content: center

Align Items

http://devdocs.io/css/align-items pin top => align-items: start pin bottom => align-items: end center horizontally => align-items: center

Grow

http://devdocs.io/css/flex-grow For all stretching parameters. Set as 1 for even distribution.

ninjasort avatar Jun 27 '17 00:06 ninjasort

Hi @cameronroe, thanks for the feedback. I think there is a misunderstanding as to what Pins are.

Pins are actually not a part of Stacks which is Flexbox.

Pins works outside of a flexbox. The CSS equivalents would be something like: width height top left

https://animaapp.github.io/docs/v1/guide/03-pins.html

etc..

orarbel avatar Jun 27 '17 13:06 orarbel

@orarbel Sure, that's fine. But it just adds more complexity to language of design > dev when new terms are added that duplicate already existing terminology.. Is there an absolute reason for needing to do so?

ninjasort avatar Jul 01 '17 20:07 ninjasort