Metadata-Version: 2.4
Name: lektor-tailwind
Version: 0.3.0
Summary: A Lektor plugin that adds Tailwind CSS to your project seamlessly.
Home-page: https://github.com/frostming/lektor-tailwind
Author: Frost Ming
Author-email: mianghong@gmail.com
License: MIT
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Lektor
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pytailwindcss>=0.1.4
Dynamic: license-file

# Lektor 💛 Tailwind CSS

A Lektor plugin that adds Tailwind CSS to your project seamlessly.

[![Build Status](https://github.com/frostming/lektor-tailwind/actions/workflows/testing.yaml/badge.svg)][gha]
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/lektor-tailwind)][pypi]
[![PyPI](https://img.shields.io/pypi/v/lektor-tailwind)][pypi]

[gha]: https://github.com/frostming/lektor-tailwind/actions/workflows/testing.yaml
[pypi]: https://pypi.org/project/lektor-tailwind

## Get Started

1. Add plugin to your project

   ```bash
   $ lektor plugin add lektor-tailwind
   $ lektor plugin list
   ```

2. Add the Tailwind directives to your CSS

   In `assets/static/style.css`:

   ```css
   @import "tailwindcss";
   @plugin "@tailwindcss/typography";
   ```

3. Start lektor build or server:

   ```bash
   $ lektor build
   $ lektor server
   ```

You got it. Please refer to [official Tailwind documentation](https://tailwindcss.com/docs/installation) for more information on using Tailwind CSS and its CLI.

## Configuration

By default, the input CSS file in `assets/static/style.css`, while it can be changed by `css_path` plugin config.
