Sha256: a322023a08fcc8ea7586b95c325dd85c6ab155de858788c3fd8368b7a606be6b

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

#Staple - COMING SOON

High level UI framework. Built on top of foundation.

##TODO

* Simple default generators first. Basic Theme.
* Load vars then override before
* Generate override components after using vars
* Modify files using generators or manual

##LOW PRIORITY
* declaring as dependency does not load it?
* integration with existing projects

##Install

```ruby
#Gemfile
gem 'slim-rails'
gem 'foundation-rails'
gem 'font-awesome-rails'
gem 'simple_form'
gem 'staple'
```

```command
bundle install
spring stop
rails g staple:install
```

##Simple, Universal Markup
```slim
section.row
	nav.columns.small-3
		ul.side-nav
		  li
		    a href="#"  Link 1
		  li
		    a href="#"  Link 2
	article.columns.small-9
		h1 Article title
		h5.subheader Subheader
		p Lorem ipsum dolor sit amet, consectetur adipisicing elit.
```

##Modify Overall, Modular Style With Commands
```console
staple theme:flat
```

```console
staple type-face-primary:HelveticaNeau
```

```console
staple type-face-secondary:ComicSans
```

```console
staple color-scheme:Flatland
```

##Build

gem build staple.gemspec
gem push staple-0.0.1.gem

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
staple-0.1.1 README.md