Skip to content

konki-vienna/sketch-bootstrap-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(Bootstrap) grid helpers 💎

A plugin to help working with vertical grids in Sketch

Download

Download here, extract zip-file and double click on 'BootstrapHelpers.sketchplugin' or install with Sketch Runner.

Functionality

1. Draw a bootstrap grid

Draw Grid

  1. Select an artboard or layer
  2. Select Grid without outer gutter (CTRL + Shift+ 0) or Grid with outer gutter (CTRL + Shift+ CMD + 0)

2. Move and in-/decrease width of layers according to the vertical grid

General idea: To move or in-/decrease the with of a selected layer, you have to have a folder named 'CU$T0M-GR1D' with a grid (=some rectanlges) as a sibling or ancestor of the selected layer(s).

Move or de-/increase layer(s)

  • Move selected layer(s) left (Shortcut: CTRL + Shift+ )
  • Move selected layer(s) right (CTRL + Shift+ )
  • Increase selected layer(s) in width (CTRL + Shift+ +)
  • Decrease selected layer(s) in width (CTRL + Shift+ -)

You can draw a custom grid (within a folder named 'CU$T0M-GR1D') as well:

Move or de-/increase layer(s) with custom grid)

3. Toggle visibility of the grid(s)

  • Un-/Hide (CMD + Shift+ 1)

Ideas for improvement

  • Add UI to adjust ** Grid color/opacity ** Grid tiers ** Gutter width ** Amount of columns (?)
  • Functionality to left/right align layer(s) to grid/to each other
  • ...

Compatibility

The plugin is compatible with Sketch 53.x

Donations

If this project helps you, you can invite me on a ☕ ;) Or share it via social media. Thank you!

paypal

Contact

If you have any questions or troubles with our product, please feel free to open an issue here. But be aware that I have unfortunately very limited resources to work on that plugin.

Licence

The MIT License (MIT)

Copyright 2017 Konstantin Demblin

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.