Sha256: 6177d544ef0cce1b64ae5cb0289c8826a47fc26bea38b618f66797bd710f631b

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

# magic-stylez

*Some style helpers used in a lot of our apps.*


## dependencies

- [bootstrap-sass](https://github.com/twbs/bootstrap-sass)
- [bourbon](http://bourbon.io/)


## Usage

- add the gem 
```ruby
  gem "magic_stylez"
```
- run the generator
```ruby
  $ rails g magic_stylez:install
```
- add to stylesheets
```sass
  @import 'magic-stylez'; // import all
  @import 'magic-min';    // import basic
```
```css
  //= 'magic-stylez'; /* import all */
  //= 'magic-min';    /* import basic */
```
- add to javascripts:
```javascript
  //= 'magic-stylez'; /* import all */
  //= 'magic-min';    /* import basic */
```

## NEW*

- **magic-styles update generator**
- in the process I often add new variables to the corporate files
(*what causes "Missing variable!" when you update to new version*)
- this generator adds all new variables without touching your settings
```ruby
$ rails g magic_stylez:update
```



### Thanks

A lot of code for this gem is taken from [bootstrap-sass](https://github.com/twbs/bootstrap-sass), so thank you guys for the great work. Same goes for bourbon thanks for a lightweight helper set.



### Authors

- Torsten Wetzel
- Austin Strange
- Marco Sebald
- many others ... (especially stackoverflow users)


#### License 

MIT-License

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
magic_stylez-0.0.0.54 README.md
magic_stylez-0.0.0.53 README.md