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.10.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3253f87d62d875443b86ac11730d3a810513a2162d1c3ae4587a0a17b78364e0 |
|
MD5 | d073ee6f9c2e984dc9ef40577d4196b9 |
|
BLAKE2b-256 | 082033699de05033bb94fffd747169934f5c9a1598c8f21fa506d731f6e0b1a7 |
Hashes for render_engine_tailwindcss-2023.10.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06f77ceb4af36d7e64ee5662953f2e90bdbf9c1708b90cb591bc363ff88d24d2 |
|
MD5 | 07c31bbf7e2e94eb623f1a5101c10682 |
|
BLAKE2b-256 | f313aae0143bff6bca2bd005a12ee01d5e29551a958e71628fb68acfbe3b727d |