# postcss-light-text

> PostCSS plugin that adds webkit antialiasing for light text

Latest version **0.0.1** (published 2017-10-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install postcss-light-text
pnpm add postcss-light-text
yarn add postcss-light-text
bun add postcss-light-text
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-10-05 |
| First published | 2017-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Author | James Steinbach |
| Maintainers | jdsteinbach |
| Keywords | postcss, css, postcss-plugin, text, antialiasing, legibility |

## Links

- npm: https://www.npmjs.com/package/postcss-light-text
- Repository: https://github.com/jdsteinbach/postcss-light-text
- Issues: https://github.com/jdsteinbach/postcss-light-text/issues
- npm.io page: https://npm.io/package/postcss-light-text

## Dependencies (2)

- [postcss](https://npm.io/package/postcss.md) ^6.0.1
- [tinycolor2](https://npm.io/package/tinycolor2.md) ^1.4.1

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2017-10-05
- 0.0.0 — 2017-10-05

## README

# PostCSS Light Text [![Build Status][ci-img]][ci]

[PostCSS] plugin that adds webkit antialiasing for light text.

[PostCSS]: https://github.com/postcss/postcss
[ci-img]:  https://travis-ci.org/jdsteinbach/postcss-light-text.svg
[ci]:      https://travis-ci.org/jdsteinbach/postcss-light-text

```css
.light-text {
  color: #eee;
}
```

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

## Usage

```js
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:

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

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

See [PostCSS] docs for examples for your environment.

---
_Source: https://npm.io/package/postcss-light-text · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
