# seed-opacity

> Opacity utility pack for Seed

Latest version **0.0.2** (published 2016-10-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install seed-opacity
pnpm add seed-opacity
yarn add seed-opacity
bun add seed-opacity
```

## 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.2 |
| Published | 2016-10-30 |
| First published | 2016-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | itsjonq |
| Keywords | bem, css, design, functional, itcss, modular, oocss, opacity, performance, seed, seed-pack, scss |

## Links

- npm: https://www.npmjs.com/package/seed-opacity
- Repository: https://github.com/helpscout/seed-opacity
- Issues: https://github.com/helpscout/seed-opacity/issues
- npm.io page: https://npm.io/package/seed-opacity

## Dependencies (2)

- [seed-props](https://npm.io/package/seed-props.md) ^0.3.0
- [seed-publish](https://npm.io/package/seed-publish.md) 0.0.4

## 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.2 (latest) — 2016-10-30
- 0.0.1 — 2016-07-14

## README

# seed-opacity [![Build Status](https://travis-ci.org/helpscout/seed-opacity.svg?branch=master)](https://travis-ci.org/helpscout/seed-opacity) [![npm version](https://badge.fury.io/js/seed-opacity.svg)](https://badge.fury.io/js/seed-opacity) [![Dependencies](https://david-dm.org/helpscout/seed-opacity.svg)](https://david-dm.org/helpscout/seed-opacity)

Opacity utility pack for [Seed](https://github.com/helpscout/seed)!

## Install
```
npm install seed-opacity --save
```


## Documentation

Check out our styleguide for **[documentation of this pack](http://style.helpscout.com/seed/packs/seed-opacity/)**.


## Basic Usage

### SCSS
This seed pack needs to be imported into your sass pipeline. Below is an example using Gulp:


```javascript
var gulp = require('gulp');
var sass = require('gulp-sass');
var pack = require('seed-opacity');

gulp.task('sass', function () {
  return gulp.src('./sass/**/*.scss')
    .pipe(sass({
      includePaths: pack
    }))
    .pipe(gulp.dest('./css'));
});
```

Once that is setup, simply `@import` *seed-opacity* as needed in your `.scss` file:

```sass
// Packs
@import "pack/seed-opacity/_index";
```

## Options

The following variables can be found in `_config.scss`

```sass
// Namespaces
$seed-opacity-namespace: "u-op" !default;

// Opacity
$seed-opacity: (
  0: 0,
  1: 0.1,
  2: 0.2,
  3: 0.3,
  4: 0.4,
  5: 0.5,
  6: 0.6,
  7: 0.7,
  8: 0.8,
  9: 0.9,
  10: 1
) !default;
```

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