postcss-minify-font-weight

Minimise font weight values in your CSS.

This module has been superceded by postcss-minify-font-values.
Last updated 11 years ago by beneb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install postcss-minify-font-weight 
SYNC missed versions from official npm registry.

postcss-minify-font-weight Build Status NPM version Dependency Status

Minimise font-weight values in your CSS.

Install

With npm do:

npm install postcss-minify-font-weight --save

Example

Input

h1 {
    font-weight: bold;
    font-weight: normal;
}

Output

h1 {
    font-weight: 700;
    font-weight: 400;
}

Usage

See the PostCSS documentation for examples for your environment.

Contributing

Pull requests are welcome. If you add functionality, then please add unit tests to cover it.

License

MIT © Ben Briggs

Current Tags

  • 2.0.0                                ...           latest (11 years ago)

3 Versions

  • 2.0.0 [deprecated]           ...           11 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 3
Dependencies (1)
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |