0.0.2 • Published 8 years ago

postcss-japanese-stylesheets v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

PostCSS Japanese Stylesheets Build Status

:japanese_goblin: PostCSS plugin for writing Japanese Stylesheets, especially for Japanese Traditional Colors.

Input

.foo {
  背景: 肌色 !重要;
  幅: 300px;
  高さ: 200px;
}

.bar {
  色: 暗黒色;
  行揃え: 中央寄せ;
  太さ: 太い;
  行高: 1.6;
}

Output

.foo {
  background: #fce2c4 !important;
  width: 300px;
  height: 200px;
}

.bar {
  color: #16160e;
  text-align: center;
  font-weight: bold;
  line-height: 1.6;
}

Usage

postcss([ require('postcss-japanese-stylesheets') ])

See PostCSS docs for examples for your environment.

Thanks to

Inspiration from postcss-russian-stylesheets