tailwindcss-parser for Render Engine
Project description
Render Engine TailwindCSS Plugin
Add tailwindcss to your Render Engine site.
TailwindCSS is a utility-first CSS framework for rapidly building custom designs.
The pytailwindcss package is used to install compile the tailwindcss stylesheets without the need of npm.
This plugin installs builds a tailwindcss file from the default configuration and adds a tailwind.css
file to your static files.
Warning: This is in early development.
Installation
Install the extension with pip:
pip install render-engine-tailwindcss
Usage
-
Import the plugin.
# app.py from render_engine import Site from render_engine_tailwindcss import TailwindCSS
-
Add the plugin to your site.
# app.py class site(Site): static_path = 'static' plugins=[ TailwindCSS(), ] )
-
In your 'static_path', add your pre-tailwindcss stylesheets.
# static/styles.css @tailwind base; @tailwind components; @tailwind utilities;
You can add multiple CSS files to the static path and they will all converted into their own files.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for render_engine_tailwindcss-2023.7.1a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 371d22c329573dfa758dac4b25866ca9ed9b90ebcb8e5c5fe32b9dcea07f8801 |
|
MD5 | 1cae579c594de13acb25a0865cb6f8c8 |
|
BLAKE2b-256 | 3e79ad4d81274ed26f8d88986fe0e20f4669a58f4eaed43c10c7bbef5c884943 |
Hashes for render_engine_tailwindcss-2023.7.1a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fab681d18a433c3786dd47b7a0af587ceb35c462c8ed3f85480fdb141a1349a3 |
|
MD5 | 1c9e66a6819280c8d7963d2576c576f9 |
|
BLAKE2b-256 | a09e99265fed25b8216b76723534406dba181af0c457d751721cbd128108aa5c |