├── README.md └── Snippets └── Sublime Snippets ├── Snippet.block.sublime-snippet ├── Snippet.boilerplate.sublime-snippet ├── Snippet.button.sublime-snippet ├── Snippet.columns.sublime-snippet ├── Snippet.container.sublime-snippet ├── Snippet.image.sublime-snippet ├── Snippet.row.sublime-snippet ├── Snippet.sub-columns.sublime-snippet └── Snippet.wrapper.sublime-snippet /README.md: -------------------------------------------------------------------------------- 1 | # ZURB Ink Sublime Snippets 2 | 3 | ###### ZURB Ink version: v1.0.5 4 | 5 | ## Installation 6 | 7 | ZURB Ink Sublime Snippets work with the latest development builds of Sublime Text, including [Sublime Text 2](http://www.sublimetext.com/dev) and [Sublime Text 3](http://www.sublimetext.com/3dev). 8 | 9 | ### Using Sublime Package Control 10 | 11 | If you are using Will Bond's excellent [Sublime Package Control](http://wbond.net/sublime_packages/package_control), you can easily install ZURB Ink Sublime Snippets via the `Package Control: Install Package` menu item. The ZURB Ink Sublime Snippets package is listed as `ZURB Ink Snippets` in the packages list. 12 | 13 | ### Using Git 14 | 15 | Alternatively, if you are a git user, you can install the snippets and keep up to date by cloning the repo directly into your `Packages` directory in the Sublime Text application settings area. 16 | 17 | ###### Mac/Linux Instructions 18 | 19 | 1. CD into Sublime Text packages folder 20 | `cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages` 21 | 22 | 2. Clone repository into packages folder 23 | `git clone https://github.com/christianrojas/zurb-ink-sublime-snippets.git` 24 | 25 | ###### Windows Instructions 26 | 27 | 1. CD into Sublime Text packages folder 28 | `cd "%AppData%\Sublime Text 3\Packages\User"` 29 | 2. Clone repository into packages folder 30 | `git clone https://github.com/christianrojas/zurb-ink-sublime-snippets.git` 31 | 32 | 33 | ### Download Manually 34 | 35 | * Download the files using the GitHub .zip download option 36 | * Unzip the files. 37 | * Find your `Packages` directory using the menu item `Preferences -> Browse Packages...` 38 | * Copy the folder into your Sublime Text `Packages` directory 39 | 40 | 41 | ## Snippets 42 | 43 | + Each snippet is prefixed with zi- (ZURB Ink). 44 | + Each snippet is singular, unless the name of the component ends in an s (columns) 45 | + Available classes are included as comments in the snippets 46 | 47 | 48 | ### Grid Structure 49 | 50 | Component | Usage 51 | :----------- | :-----------: 52 | Boilerplate | zi-boilerplate + tab 53 | Container | zi-container + tab 54 | Row | zi-row + tab 55 | Wrapper | zi-wrapper + tab 56 | Columns | zi-columns + tab 57 | Sub Columns | zi-sub-columns + tab 58 | Buttons | zi-button + tab 59 | Images | zi-image + tab 60 | Block Grid | zi-block + tab 61 | 62 | 63 | ## Contributing 64 | 65 | 1. Fork it. 66 | 2. Create your feature branch (`git checkout -b my-new-feature`). 67 | 3. Test your changes to the best of your ability. 68 | 4. Update the documentation to reflect your changes if they add or changes current functionality. 69 | 5. Commit your changes (`git commit -am 'Added some feature'`). 70 | 6. Push to the branch (`git push origin my-new-feature`). 71 | 7. Create a new pull request. 72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /Snippets/Sublime Snippets/Snippet.block.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | Column #1 9 | 10 | 11 | 12 | Column #2 13 | 14 | 15 | 16 | 17 | ]]> 18 | 19 | zi-block 20 | ZURB Ink Block Grid 21 | 22 | text.html 23 | 24 | -------------------------------------------------------------------------------- /Snippets/Sublime Snippets/Snippet.boilerplate.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 16 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | $1 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | ]]> 38 | 39 | zi-boilerplate 40 | ZURB Ink Boilerplate 41 | 42 | text.html 43 | 44 | -------------------------------------------------------------------------------- /Snippets/Sublime Snippets/Snippet.button.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | ${1:Button Name} 10 | 11 | 12 | 13 | ]]> 14 | 15 | zi-button 16 | ZURB Ink Button 17 | 18 | text.html 19 | 20 | -------------------------------------------------------------------------------- /Snippets/Sublime Snippets/Snippet.columns.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | $2 10 | 11 | 12 | 13 | 14 | ]]> 15 | 16 | zi-columns 17 | ZURB Ink Columns 18 | 19 | text.html 20 | -------------------------------------------------------------------------------- /Snippets/Sublime Snippets/Snippet.container.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | $1 7 | 8 | 9 | 10 | ]]> 11 | 12 | zi-container 13 | ZURB Ink Container 14 | 15 | text.html 16 | 17 | -------------------------------------------------------------------------------- /Snippets/Sublime Snippets/Snippet.image.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | ]]> 6 | 7 | zi-image 8 | ZURB Ink Image 9 | 10 | text.html 11 | -------------------------------------------------------------------------------- /Snippets/Sublime Snippets/Snippet.row.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | $1 6 | 7 | 8 | ]]> 9 | 10 | zi-row 11 | ZURB Ink Row 12 | 13 | text.html 14 | 15 | -------------------------------------------------------------------------------- /Snippets/Sublime Snippets/Snippet.sub-columns.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | $3 7 | 8 | ]]> 9 | 10 | zi-sub-columns 11 | ZURB Ink Sub Columns 12 | 13 | text.html 14 | -------------------------------------------------------------------------------- /Snippets/Sublime Snippets/Snippet.wrapper.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | $2 5 | 6 | ]]> 7 | 8 | zi-wrapper 9 | ZURB Ink Wrapper 10 | 11 | text.html 12 | 13 | --------------------------------------------------------------------------------