An open API service indexing awesome lists of open source software.

https://github.com/raulghm/multi-brand-colors

Multi Brand Colors with support for CSS/CSS-Vars/SCSS/SASS/Stylus/LESS/JSON
https://github.com/raulghm/multi-brand-colors

brand color colors css css-variables json less multi-brand-colors postcss sass scss stylus w3c

Last synced: 8 months ago
JSON representation

Multi Brand Colors with support for CSS/CSS-Vars/SCSS/SASS/Stylus/LESS/JSON

Awesome Lists containing this project

README

          

Multi Brand Colors
===================





> Multi Brand Colors with support for CSS/CSS-Vars/SCSS/SASS/Stylus/LESS/JSON

#### Bower support
```
bower install --save multi-brand-colors
```

#### NPM support
```
npm install --save multi-brand-colors
```

## How use

### CSS
```html


Document





```

### W3C CSS Variables
About CSS Variables:
[www.w3.org/TR/css-variables](http://www.w3.org/TR/css-variables/)

How use with PostCSS:
[github.com/postcss/postcss-custom-properties](https://github.com/postcss/postcss-custom-properties)
```css
@import 'bower_components/multi-brand-colors/dist/css-vars/index.css';
// or
@import 'multi-brand-colors';

.div {
color: var(--mbc-twitter);
}
```

### SCSS
```scss
@import 'bower_components/multi-brand-colors/dist/scss/index.scss';

.div {
color: $mbc-twitter;
}
```

### SASS
```sass
@import 'bower_components/multi-brand-colors/dist/sass/index.sass'

.div {
color: $mbc-twitter
}
```

### LESS
```less
@import 'bower_components/multi-brand-colors/dist/less/index.less';

.div {
color: @mbc-twitter;
}
```

### Stylus
```styl
@import bower_components/multi-brand-colors/dist/stylus/index.styl

.div
color $mbc-twitter
```

### JSON
```javascript
// simple example
var json = require('./dist/json/index.json');

console.log(json);
```