Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/qrac/mdtone

Material Design Variable of SCSS & Stylus
https://github.com/qrac/mdtone

color material-design mdtone sass scss stylus variable

Last synced: 25 days ago
JSON representation

Material Design Variable of SCSS & Stylus

Awesome Lists containing this project

README

        

# MDTONE

## Site

- https://mixtone.qranoko.jp/mdtone/

## About

Material Design Color を Sass で使いやすいよう変数化しました。

## How To Use

### デザインツールで使う場合

- ツールに合わせて `dist/swatches` のスウォッチファイルを使用
- NSColorList 形式のスウォッチは Mac のさまざまなソフトウェアで共有利用が可能

### コーディングで使う場合

- CSS > デモサイトの色コードを直接コピー
- SCSS > `/src/scss/tone/_mdtone.scss` を変数ファイルとして include
- Stylus > `/src/stylus/tone/_mdtone.styl` を変数ファイルとして include

[npm](https://www.npmjs.com/package/mdtone) で `_mdtone.scss` や `_mdtone.styl` をインストールして使えます。

```bash
$ npm install mdtone
```

## Reference

- [The color system - Material Design](https://material.io/design/color/)

## License

- CC0 1.0 Public Domain

## Credit

- Author: [Qrac](https://qrac.jp)
- Organization: [QRANOKO](https://qranoko.jp)