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-2024.1.1a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90fee38f926a3180cacddd1cf3ba9fa48cc876eed46301bc169b2005db244d71 |
|
MD5 | b8d3ffa8e466fbc202aeb198d7f2cc08 |
|
BLAKE2b-256 | 9ff53e33363ca6ebd77a55a08a88b1b6c8dcf208b90ed25a274590fb45a3d180 |
Hashes for render_engine_tailwindcss-2024.1.1a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b046c0a893375bdd7daf13c7831697dc08bdf788b89cf48c97f895f86ec1751 |
|
MD5 | fed000e04586d1de138a59088d7fb798 |
|
BLAKE2b-256 | d440dc11b8f65d4a2b0b1c13e005d60d3f59bc7afb6d0d41adc9de0722143d5b |