Sha256: 787ed025f14cf2fd02167663ac577bfc07dece1c0b61aaa46a426460bf9c7248

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 KB

Contents

#staple

Modular UI framework for rails built on top of foundation and sass.

##todo

* plastic should be theme/template: seperate generator? yes.
	* theme folder in buttons? begin with underscore for theme?
	* seperate generator? Yes. will call lower level generators in order specified
	* theme generator will call each component generator

##lower priority todo
* declaring as dependency does not load it? vs don't require other gems
* integration with existing projects
* reinstall places foundation again then does replace, separate generator for update?
* bring repeated generator code into mixin
* Set variables with generator: default
	* radius
	* font
	* primary-color
	* border-size
	* change ammount (color dif, hover dif)
* create executables

##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
```

#how to use

rails g staple:{import|remove||append|amputate} buttons round

#staple command
staple {button-style|button-theme} {pattern} (append)
staple buttons round
staple buttons-theme plastic

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
staple-0.2.1 README.md
staple-0.2.0 README.md