Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/berlinmagic/magic_stylez
some Our usual style framework. depends on bootstrap and bourbon.
https://github.com/berlinmagic/magic_stylez
Last synced: about 2 months ago
JSON representation
some Our usual style framework. depends on bootstrap and bourbon.
- Host: GitHub
- URL: https://github.com/berlinmagic/magic_stylez
- Owner: berlinmagic
- License: mit
- Created: 2014-06-14T19:59:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-11-20T17:08:57.000Z (about 7 years ago)
- Last Synced: 2024-10-31T13:39:11.619Z (2 months ago)
- Language: HTML
- Homepage: http://berlinmagic.github.io/magic_stylez/
- Size: 12.8 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# 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 0.0.0.55:
- *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