Skip to main content

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

Project description

Lektor 💛 Tailwind CSS

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

Build Status PyPI - Python Version PyPI

Get Started

  1. Add plugin to your project

    $ lektor plugin add lektor-tailwind
    $ lektor plugin list
    
  2. Add the Tailwind directives to your CSS

    In assets/static/style.css:

    @import "tailwindcss";
    @plugin "@tailwindcss/typography";
    
  3. Start lektor build or server:

    $ lektor build
    $ lektor server
    

You got it. Please refer to official Tailwind documentation 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lektor_tailwind-0.3.0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lektor_tailwind-0.3.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file lektor_tailwind-0.3.0.tar.gz.

File metadata

  • Download URL: lektor_tailwind-0.3.0.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for lektor_tailwind-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6a7a9dc1296b1c675394f2580d12f25646a618b3fb442c4f950e950bf98a9e1c
MD5 bebe797f9331844abf7df1fcc2cb8ea6
BLAKE2b-256 85e3a24f33dfd97d64f89ff9c641d857e3cefcffab6b64f449b04ab896495979

See more details on using hashes here.

File details

Details for the file lektor_tailwind-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lektor_tailwind-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b6bf92cd89d5b12cea73da436dd4a5ca10f5fcd792bf961ced53b892c4e4594
MD5 07cf254241c6406feb1e743cbb12fba6
BLAKE2b-256 a7cedcf52077afa1ab496828c16d294278772993a8254e2a2ce874821edd2900

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page