New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

postcss-light-text

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-light-text

PostCSS plugin that adds webkit antialiasing for light text

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

PostCSS Light Text Build Status

PostCSS plugin that adds webkit antialiasing for light text.

.light-text {
  color: #eee;
}
.light-text {
  color: #eee;
  -webkit-font-smoothing: antialiased;
}

Usage

var lightText = require('postcss-light-text');

postcss([ lightText ]);

Options

The plugin defaults to a luminance value of 0.5. If you'd like to change that, pass the following option:

var lightText = require('postcss-light-text');

postCSS([ lightText({ luminance: 0.7 }) ]);

See PostCSS docs for examples for your environment.

Keywords

postcss

FAQs

Package last updated on 05 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts