2.0.3 • Published 5 years ago

@wocss/settings-typography v2.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

TYPOGRAPHY

Setting

The @wocss/settings-typography module contains font size and weight variables for the framework. Feel free to reassign these variables.

Install using npm:

$ npm install @wocss/settings-typography --save

Usage

With a tool like webpack you can import this module writing:

@import '~@wocss/settings-typography';

Variables

Font sizes

Variable nameDefault value
$global-fz-xl1.5em
$global-fz-lg1.25em
$global-fz-md1.1em
$global-fz-sm0.9em
$global-fz-xs0.75em
$global-fz-h003rem
$global-fz-h02.4rem
$global-fz-h12rem
$global-fz-h21.5rem
$global-fz-h31.25rem
$global-fz-h41rem
$global-fz-h5$global-fz-h4
$global-fz-h6$globa-fz-h4
$wocss-font-sizes(...)

Font weights

Variable nameDefault value
$global-fw-x-bold800
$global-fw-bold700
$global-fw-s-bold600
$global-fw-regular400
$global-fw-light300
$wocss-font-weights(...)