0.1.2 • Published 8 years ago

iotacss-weight v0.1.2

Weekly downloads
16
License
-
Repository
github
Last release
8 years ago

Weight Utility

The weight utility contains helper classes for the font-weight CSS property.

Installation

npm install --save iotacss-weight

Dependencies

Options

$iota-weight-namespace  : 'weight-' !default;
$iota-weight-sizes      : () !default;

Example

$iota-weight-sizes: (
  thin    : 300,
  normal  : 400,
  bold    : 700
);

It will generate:

.u-weight-thin {
  font-weight: 300 !important;
}

.u-weight-normal {
  font-weight: 400 !important;
}

.u-weight-bold {
  font-weight: 700 !important;
}