# tailwindcss-vanilla

> A Tailwind CSS plugin that allows CSS properties to be used in utility classes without modification.

Latest version **0.1.1** (published 2023-11-13) · MIT license · 0 weekly downloads

## Install

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

## 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.1.1 |
| Published | 2023-11-13 |
| First published | 2023-11-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 46.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | ixkaito |
| Keywords | tailwind, tailwindcss, plugin, css, vanilla, vanilla css |

## Links

- npm: https://www.npmjs.com/package/tailwindcss-vanilla
- Repository: https://github.com/ixkaito/tailwindcss-vanilla
- Homepage: https://github.com/ixkaito/tailwindcss-vanilla#readme
- Issues: https://github.com/ixkaito/tailwindcss-vanilla/issues
- npm.io page: https://npm.io/package/tailwindcss-vanilla

## 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

- 0.1.1 (latest) — 2023-11-13
- 0.1.0 — 2023-11-10

## README

# tailwindcss-vanilla

A Tailwind CSS plugin that allows CSS properties to be used in utility classes without modification.

## Example

```html
<div class="border-radius-lg background-color-black padding-8 color-white">
  <h1 class="font-size-2xl">...</h1>
  <p class="line-height-loose">...</p>
</div>
```

## Installation

Install the plugin from npm:

```sh
npm install -D tailwindcss-vanilla
```

Then add the plugin to your `tailwind.config.js` file:

```js
/** @type {import('tailwindcss').Config} */
module.exports = {
  theme: {
    // ...
  },
  plugins: [
    require('tailwindcss-vanilla'),
    // ...
  ],
}
```

### Options

By default, core plugins with the same feature are disabled. If you want to enable them, set the `disableCorePlugins` option to `false`.

```js
/** @type {import('tailwindcss').Config} */
module.exports = {
  theme: {
    // ...
  },
  plugins: [
    require('tailwindcss-vanilla')({
      disableCorePlugins: false,
    }),
    // ...
  ],
}
```

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