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.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2717bd99792f7ddd357a86da3a6570dc53c0ba9a01be34478028149ccae3996a |
|
MD5 | 4b66d6f2d61537dc3321b789ccd88a87 |
|
BLAKE2b-256 | c1e43d7465a83977b0be18b22cb7fda93784440512edc06fda19845307936d7e |
Hashes for render_engine_tailwindcss-2023.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2d590a0dcadc538dea20a0aa28ad37edc37b46dc2c4be41ee14ae29378d695a |
|
MD5 | 15dff2ab398aa75f6b3eba25779d613d |
|
BLAKE2b-256 | 05ad4d5b18fd37e271ffe2be803d074e87d27cbda5e111e4183c46038cdcdc85 |