3.0.0 • Published 2 years ago

@viget/tailwindcss-plugins v3.0.0

Weekly downloads
40
License
MIT
Repository
github
Last release
2 years ago

Tailwind CSS Plugins

This plugin wraps up a collection of other plugins we've written for Tailwind CSS.

Plugins include:

Utilities include:

Installation

Add @viget/tailwindcss-plugins to devDependencies in package.json.

yarn add -D @viget/tailwindcss-plugins

Usage

Simply require the plugins or utilities in your tailwindcss.config.js file, and follow the usage instructions in each plugin’s README.

// utilities
const a = require('@viget/tailwindcss-plugins/utilities/alpha')
const { em, rem, remPair, pxPair } = require('@viget/tailwindcss-plugins/utilities/fns')
const plugins = require('@viget/tailwindcss-plugins')

// plugins
plugins: [
  plugins.rect,
  plugins.sr,
  // ...
],

Notes

There are some additional plugin examples included in this repository’s examples directory. These are not registerable in your Tailwind config. The reasons for this are that these represent plugins which:

  • could have a number of different outputs that require varying approaches
  • have a highly specific project use case
  • are an alternate approach to one of the registerable plugins

For example, heading components could be done any number of ways. They could be simple or complex, fixed or responsive, wrapped for rich text or classnames only. For this reason, we've included several examples of these. If you need one of these plugins, it is recommended to copy and paste the plugin code into a custom plugin for your project.


Visit code.viget.com to see more projects from Viget.

3.0.0

2 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago