# tailwindcss-webgradients

> Tailwind CSS plugin that adds the gradients from https://webgradients.com as background gradients

Latest version **1.0.2** (published 2020-07-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install tailwindcss-webgradients
pnpm add tailwindcss-webgradients
yarn add tailwindcss-webgradients
bun add tailwindcss-webgradients
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-07-16 |
| First published | 2020-07-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 29.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Lazar Nikolov |
| Maintainers | lazarnikolov94 |
| Keywords | tailwind css, tailwind, webgradients, gradients |

## Links

- npm: https://www.npmjs.com/package/tailwindcss-webgradients
- Repository: https://github.com/codechem/tailwindcss-webgradients
- Issues: https://github.com/codechem/tailwindcss-webgradients/issues
- npm.io page: https://npm.io/package/tailwindcss-webgradients

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads
- [@modern-js/plugin-swc](https://npm.io/package/@modern-js/plugin-swc.md) — 3.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2020-07-16
- 1.0.1 — 2020-07-16
- 1.0.0 — 2020-07-16

## README

# Webgradients Plugin for Tailwind CSS
![npm](https://img.shields.io/npm/v/tailwindcss-webgradients?color=green&label=VERSION&style=for-the-badge)

This Tailwind CSS plugin is a collection of [WebGradient](https://webgradients.com)'s gradients. It adds background utilities with the gradients.

## Installation

```bash
npm install tailwindcss-webgradients
```

## Usage
In your `tailwind.config.js` file:
```javascript
plugins: [
    require('tailwindcss-gradients'),
],
```

The default specified variant is `responsive`. You can specify the variants like this:
```javascript
variants: {
    webGradient: ['responsive', 'hover']
},
```
Adding the background gradients in your code:
```html
<div class="bg-webgradient-heavy-rain">
</div>
<div class="bg-webgradient-new-life">
</div>
<div class="bg-webgradient-loon-crest">
</div>
```
Visit [WebGradients](https://webgradients.com) to pick a gradient, then append its name (dash-cased) on `bg-webgradient-{gradient-name-dashed}`.

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