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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2de4211a0a1720968beac3e20a91df9f838e0733dc3a0329ee80deefe6b6614 |
|
MD5 | 76f3b5d3a05abd69a512787eb115ab59 |
|
BLAKE2b-256 | 6f0b3a2d6849bd38eb51df5d3b7c8cbd74ea1b413cc0337ccbb8d7d7413a0d1a |
Hashes for render_engine_tailwindcss-2023.10.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c431628c226bfc42615c2a3ead6646f4c6035c04e5ef3cdc9eda3126224e3db5 |
|
MD5 | ea864a3d0032f73e1bf09260610d3e79 |
|
BLAKE2b-256 | c609fb8e3f5c76305a4d6d9bf79070cddfc2b2c3f095303c857eef0ed4f57181 |