Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

An Atom autocompletion provider for the utility-first CSS framework Tailwind v2

License

Notifications You must be signed in to change notification settings

toddy15/tailwindcss-autocomplete

 
 

Repository files navigation

tailwindcss-autocomplete

🚨 DEPRECATED 🚨

Atom has been archived on December 15, 2022. Therefore, this package is no longer maintained and will not receive updates.

Introduction

This package uses the great work of raybrownco/atom-tailwindcss and vinkla/autocomplete-tailwind. Unfortunately, both projects are stuck at Tailwind CSS v1 and there does not seem to be any activity in both repositories.

This project is updated to include the classnames of Tailwind CSS v2.2.19 and has been fixed to show a preview of the color names.

Manually Installing this Atom Package

git clone https://github.com/toddy15/tailwindcss-autocomplete.git
cd tailwindcss-autocomplete
npm install
npm run build
apm install
apm link .

Creating a New Release

The following process should be followed to create a new release of this package. (I'm writing these words just as much for myself as I am for anyone interested in sending a PR.)

# If the project's not set up yet:
git clone https://github.com/toddy15/tailwindcss-autocomplete.git
cd tailwindcss-autocomplete
npm install

# Grab the latest version of Tailwind CSS
npm update tailwindcss

# Run a script to update the `src/completions.json` file
npm run build

# Run tests to make sure the update hasn't broken anything
npm run test

# Perform a manual visual inspection of the completions
git diff src/completions.json

If nothing has failed and the inspection goes well enough, you're ready to create a new version! All this means is that you crack open package.json and bump the version number. After that's done, send a pull request!

MIT © Dr. Tobias Quathamer

About

An Atom autocompletion provider for the utility-first CSS framework Tailwind v2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.3%
  • Less 8.7%