postcss-font-smoothing

WebJar for postcss-font-smoothing

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

postcss-font-smoothing
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

postcss-font-smoothing
WebJar for postcss-font-smoothing
Project URL

Project URL

http://webjars.org

Download postcss-font-smoothing

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/postcss-font-smoothing/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>postcss-font-smoothing</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/postcss-font-smoothing/
implementation 'org.webjars.npm:postcss-font-smoothing:0.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/postcss-font-smoothing/
implementation ("org.webjars.npm:postcss-font-smoothing:0.1.0")
'org.webjars.npm:postcss-font-smoothing:jar:0.1.0'
<dependency org="org.webjars.npm" name="postcss-font-smoothing" rev="0.1.0">
  <artifact name="postcss-font-smoothing" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='postcss-font-smoothing', version='0.1.0')
)
libraryDependencies += "org.webjars.npm" % "postcss-font-smoothing" % "0.1.0"
[org.webjars.npm/postcss-font-smoothing "0.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

postcss-font-smoothing Build Status

PostCSS plugin to fallback font-smoothing property

Installation

$ npm install postcss-font-smoothing

Example

input:

.font {
  font-smoothing: antialiased;
}

output:

.font {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

Usage

// dependencies
var fs = require("fs")
var postcss = require("postcss")
var fontSmoothing = require("postcss-font-smoothing")

// css to be processed
var css = fs.readFileSync("input.css", "utf8")

// process css
var output = postcss()
  .use(fontSmoothing())
  .process(css)
  .css

License

The MIT License (MIT)

Copyright (c) 2016 Masaaki Morishita

Versions

Version
0.1.0