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.1b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98a4c9ce1eb8fc9a4210d93c4c86701b773e8dbec7b0d91435224415855a6d81 |
|
MD5 | a92fb06172fb6d25b897d974c1f3a8d3 |
|
BLAKE2b-256 | c9842ed0b82ce7f7a650568dc3053c7d67b2cd9c398d071901c8fd045eb34214 |
Hashes for render_engine_tailwindcss-2024.1.1b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d725a64febc19b25f40aafed94d0f79d370e0e5069883f8fa8eeec831eaecb7f |
|
MD5 | 0a2468e60f1bf730d4bf14476d4c2a20 |
|
BLAKE2b-256 | a81dbb7323b55646915c0ab2805ea8ff4a17803ca3bfca6ab842b88131a4dbd4 |