Postcss Yu Gothic
Motivation
わざわざ游ゴシックについてグーグル検索しなくても、楽に使いたい
Do not bother to use Google Search for Gothic but want to use it comfortably
このプラグインはChromeでも読みやすい游ゴシックを指定する方法を参照して作られました。
This plugin was created with reference to link.
Example
最初に現れたYu Gothic
を値に持ったセレクタの前に@font-face
が挿入されます。
@Font-face
is inserted before the selector whose value isYu Gothic
which first appeared.
前...
Before...
後!!!
After!!!
Install
$ npm i --save-dev postcss-yu-gothic# or `yarn add --dev postcss-yu-gothic`
Postcss
Transform with The; ;
Option
weight
: default:['medium', 'bold']
出力するfont-weight
を指定
Specify outputfont-weight
License
MIT © nju33 nju33.ki@gmail.com