Sha256: 389599303e3d101e62a98db3a84877a9d94343612d34b8deae2b2c2374b2683b

Contents?: true

Size: 1.61 KB

Versions: 48

Compression:

Stored size: 1.61 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
```

#### Changes when update to <small>0.0.0.55</small>:</h4>
- *corporate/typo* is removed!
- *corporate/fonts* doesn't contain css anymore, just variables
With Version **0.0.0.55** I merged *corporate/typo* into *corporate/fonts* (they where so similar). I also removed all css from *corporate/fonts*, because it causes trouble with update generator (and also is not a variable).



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

48 entries across 48 versions & 1 rubygems

Version Path
magic_stylez-0.0.330 README.md
magic_stylez-0.1.1 README.md
magic_stylez-0.1.0 README.md
magic_stylez-0.0.0.99 README.md
magic_stylez-0.0.0.98 README.md
magic_stylez-0.0.0.97 README.md
magic_stylez-0.0.0.96 README.md
magic_stylez-0.0.0.95 README.md
magic_stylez-0.0.0.94 README.md
magic_stylez-0.0.0.93 README.md
magic_stylez-0.0.0.92 README.md
magic_stylez-0.0.0.91 README.md
magic_stylez-0.0.0.90 README.md
magic_stylez-0.0.0.89 README.md
magic_stylez-0.0.0.88 README.md
magic_stylez-0.0.0.87 README.md
magic_stylez-0.0.0.86 README.md
magic_stylez-0.0.0.85 README.md
magic_stylez-0.0.0.84 README.md
magic_stylez-0.0.0.83 README.md