tailwindcss-wordpress

0.1.1 • Public • Published

Tailwind Plugins for WordPress

Currently this plugin just creates the rules for WordPress generated classes. Perhaps, it could create components for comments and forms in the future.

Installation

# NPM 
npm i -D tailwindcss-wordpress
 
# Yarn 
yarn -D tailwindcss-wordpress

Usage

const { wordpressUtilities } = require('tailwindcss-wordpress');
 
module.exports = {
  theme: {
    extend: {},
  },
  variants: {},
  plugins: [
    wordpressUtilities,
  ],
};

Plugins

Utilities

These styles are based on the styles that were included in Sage 9. The following classes are generated:

  • .alignnone
  • .aligncenter
  • .alignright
  • .alignleft
  • .wp-caption (img)
  • .wp-caption-text
  • .screen-reader-text (:focus, :active)

Readme

Keywords

none

Package Sidebar

Install

npm i tailwindcss-wordpress

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

2.56 kB

Total Files

6

Last publish

Collaborators

  • knowler