Plugin for Sketch allowing for CSS Flexbox layouts using stylesheets and prototypes
JavaScript
1,696
28 commits
updated Apr 4, 2017
A Plugin for Sketch allowing for CSS Flexbox layouts using stylesheets and prototypes. Here's a Medium article with some background. To install the plugin download this repository as a ZIP and double click the Flex-Layout.sketchplugin file. Important note : This is a very work in progress version for early testing. A lot of things are subject to change and using it on critical projects is not yet recommended.

Flex Layout allows you to use both a stylesheet text layer and 'prototypes'. Prototypes are layer groups with added style layers - their sizes work as base for establishing paddings, margins, sizes etc. There's an example file included in the repository that shows examples of working with both.


Tip - you can have both prototypes and a @stylesheet layer on the same page.
Pro Tip - when you duplicate your groups, you can prevent Sketch from adding "copy" to their names - Go to Preferences > Layers > Uncheck "Rename Duplicated Layers"
200 followers · starred Jul 2015
7,886 followers · starred Apr 2020
499 followers · starred Jul 2015
10,691 followers · starred Jul 2015
Plugin for Sketch allowing for CSS Flexbox layouts using stylesheets and prototypes
JavaScript
1,696
28 commits
updated Apr 4, 2017
A Plugin for Sketch allowing for CSS Flexbox layouts using stylesheets and prototypes. Here's a Medium article with some background. To install the plugin download this repository as a ZIP and double click the Flex-Layout.sketchplugin file. Important note : This is a very work in progress version for early testing. A lot of things are subject to change and using it on critical projects is not yet recommended.

Flex Layout allows you to use both a stylesheet text layer and 'prototypes'. Prototypes are layer groups with added style layers - their sizes work as base for establishing paddings, margins, sizes etc. There's an example file included in the repository that shows examples of working with both.


Tip - you can have both prototypes and a @stylesheet layer on the same page.
Pro Tip - when you duplicate your groups, you can prevent Sketch from adding "copy" to their names - Go to Preferences > Layers > Uncheck "Rename Duplicated Layers"
200 followers · starred Jul 2015
7,886 followers · starred Apr 2020
499 followers · starred Jul 2015
10,691 followers · starred Jul 2015