Sha256: 9eca2c9957d073196fecdd36da4d67446ac1e0d7c3feaa5282f2cf0601a4d6fe

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

#Staple - COMING SOON

High level UI framework. Built on top of foundation.

#STRATEGY

##Main
* Overrides
* Default Styles
* Additional Styles
* Generate

##Import
* Override defaults
* Add additional
	* Styles
	* Type of generators
* Components - inherit default styles

##TODO

* Incorporate sizes into eveything
* Better default fonts


##LOW PRIORITY
* declaring as dependency does not load it?
* integration with existing projects
* turbolinks messed with abide validation: https://github.com/zurb/foundation/issues/2902
* don't require other gems

##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.6 README.md