All Projects → phuctm97 → tailwindcss-autofill

phuctm97 / tailwindcss-autofill

Licence: MIT license
🎨 TailwindCSS variant to style autocompleted form fields.

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to tailwindcss-autofill

react-tailwind
This is a complementary React code for the tailwindcss project.
Stars: ✭ 29 (+31.82%)
Mutual labels:  tailwindcss-plugin, tailwindcss-extension
tailwindcss-aria-attributes
TailwindCSS variants for aria-* attributes
Stars: ✭ 92 (+318.18%)
Mutual labels:  tailwindcss-plugin
tailwindcss-background-extended
All of the missing background utilities for Tailwind CSS.
Stars: ✭ 25 (+13.64%)
Mutual labels:  tailwindcss-plugin
notus-angular
Notus Angular: Free Tailwind CSS UI Kit and Admin
Stars: ✭ 148 (+572.73%)
Mutual labels:  tailwindcss-extension
tailwindcss-triangle-after
CSS :after triangle plugin for tailwindcss framework
Stars: ✭ 19 (-13.64%)
Mutual labels:  tailwindcss-plugin
notus-js
Notus JS: Free Tailwind CSS UI Kit and Admin
Stars: ✭ 191 (+768.18%)
Mutual labels:  tailwindcss-extension
movie-app
🌈 TMDB + Laravel + LiveWire + AlpineJS + ViewModels + Components = ❤️ Movies App 🔥
Stars: ✭ 43 (+95.45%)
Mutual labels:  tailwindcss-plugin
tailwindcss-custom-native
Tailwind CSS plugin that lets you write your configuration file with your own custom utilities as though they were native to the framework
Stars: ✭ 65 (+195.45%)
Mutual labels:  tailwindcss-plugin
tailwind-bootstrap-grid
Tailwind CSS plugin that generates Bootstrap's flexbox grid
Stars: ✭ 96 (+336.36%)
Mutual labels:  tailwindcss-plugin
variantwind
Most elegant way to work with TailwindCSS variants in Vue
Stars: ✭ 45 (+104.55%)
Mutual labels:  tailwindcss-plugin
tailwind-color-alpha
Automatic alpha variants for your Tailwind CSS colors based on your opacity config
Stars: ✭ 21 (-4.55%)
Mutual labels:  tailwindcss-plugin
intellij-tailwind-css
Tailwind IntelliJ Plugin Tailwind Cheat Sheet
Stars: ✭ 49 (+122.73%)
Mutual labels:  tailwindcss-plugin
tailwindcss-capsize
✂️ Tailwind CSS utility classes for trimming whitespace above & below capital letters.
Stars: ✭ 46 (+109.09%)
Mutual labels:  tailwindcss-plugin
tailwindcss-scrims
Configurable Tailwind plugin for generating scrim classes.
Stars: ✭ 35 (+59.09%)
Mutual labels:  tailwindcss-plugin
windstrap
Tailwind CSS with Bootstrap JS
Stars: ✭ 63 (+186.36%)
Mutual labels:  tailwindcss-plugin
tailwind-safelist-generator
Tailwind plugin to generate purge-safe.txt files
Stars: ✭ 89 (+304.55%)
Mutual labels:  tailwindcss-plugin
Tailwind Starter Kit
Tailwind Starter Kit a beautiful extension for TailwindCSS, Free and Open Source
Stars: ✭ 4,434 (+20054.55%)
Mutual labels:  tailwindcss-extension
material-tailwind
@material-tailwind is an easy-to-use components library for Tailwind CSS and Material Design.
Stars: ✭ 861 (+3813.64%)
Mutual labels:  tailwindcss-extension

🎨 tailwindcss-autofill

npm version GitHub license

TailwindCSS variant to style autocompleted form fields.

Requirements

  • Node.js 12+

  • TailwindCSS 2+

Install

yarn add tailwindcss-autofill

Or if you use npm:

npm i --save tailwindcss-autofill

Usage

Add to plugins in your tailwind.config.js:

module.exports = {
  // ....
  plugins: [
    require("tailwindcss-autofill"),
    // ...other plugins
  ],
  // For TailwindCSS v2 only
  variants: {
    extend: {
      // Enable `autofill` variant for plugins you want
      borderColor: ["autofill"],
      shadowFill: ["autofill"],
      textFill: ["autofill"],
    },
  },
};

This plugin is often used with the tailwindcss-shadow-fill and tailwindcss-text-fill because background-color and color won't work.

Style your components using autofill::

<input className="autofill:border-gray-900 autofill:shadow-fill-white autofill:text-fill-gray-900" />

Contributing

Requirements

  • Node 12+

  • Yarn 1.22+

Setup

  1. Install requirements

  2. Clone the repository

  3. Run yarn to install dependencies

Develop

  • Commit adhering to Angular commit convention, use yarn commit or Code conventional commits to commit interactively

  • Submit a PR and make sure required status checks pass

  • When a PR is merged or code is pushed to master, Github automatically builds and publishes a new release if there're relevant changes

Author

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].