# @manager-laura-melo-solutions/tailwind-additional-classes

> Library of additional classes to complement the existing ones from Tailwind

Latest version **1.0.0** (published 2020-11-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install @manager-laura-melo-solutions/tailwind-additional-classes
pnpm add @manager-laura-melo-solutions/tailwind-additional-classes
yarn add @manager-laura-melo-solutions/tailwind-additional-classes
bun add @manager-laura-melo-solutions/tailwind-additional-classes
```

## 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.0 |
| Published | 2020-11-19 |
| First published | 2020-11-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 74.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Laura Melo Solutions |
| Maintainers | manager-laura-melo-solutions |
| Keywords | tailwind, ci, design, plugin, styles |

## Links

- npm: https://www.npmjs.com/package/@manager-laura-melo-solutions/tailwind-additional-classes
- Repository: https://github.com/Hanawa02/tailwind-additional-classes
- Homepage: https://github.com/Hanawa02/tailwind-additional-classes#readme
- Issues: https://github.com/Hanawa02/tailwind-additional-classes/issues
- npm.io page: https://npm.io/package/@manager-laura-melo-solutions/tailwind-additional-classes

## Dependencies (2)

- [core-js](https://npm.io/package/core-js.md) ^3.6.5
- [regenerator-runtime](https://npm.io/package/regenerator-runtime.md) ^0.13.7

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-11-19

## README

# Tailwind Additional Classes

## Usage

### Dependencies
This project depends on the following libraries to be properly used:
- [Tailwind](https://tailwindcss.com/docs/installation)

### Set Up

- Install the Library with:
  ``` bash
  npm install tailwind-additional-classes
  ```

- Add the [plugins](https://tailwindcss.com/docs/configuration#plugins) configuration for Tailwind:

``` js
// tailwind.config.js
const styles = require('tailwind-additional-classes');

module.exports = {
  future: {},
  purge: [],
  theme: {
    extend: {},
  },
  variants: {},
  plugins: [styles.pluginFunction],
}
```
The `styles.pluginFunction` will add the library styles as utilities to the rest of the Tailwind utilities.

You can find more information about writing tailwind plugins [here](https://tailwindcss.com/docs/plugins).

- Apply Styles
  You can apply the styles just like you would with a Tailwind class, all classes from the library are prefixed with `ac-`.

Example inside the library:

```js
".mb-1" {
    marginBottom: '0.25rem';
},


```

Using the classes above in your project:

```html
<button class="ac-mb-1">
  Test Button
</button>
```


## Development


- Must be framework agnostic
- No dependencies

## Test

To test if all the classes are properly included, run

```
npm i
npm run build
node test/test.js
```

This will console the list of classes available, in the near future a documentation with all the classes will be added.

---
_Source: https://npm.io/package/@manager-laura-melo-solutions/tailwind-additional-classes · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
