Skip to content

A fork of Tailwind + DaisyUI Standalone built for FastHTML

License

Notifications You must be signed in to change notification settings

banditburai/fastwindcss

 
 

Repository files navigation

Tailwind CSS

A Tailwind CSS distribution bundled with DaisyUI, optimized for fastHTML and standalone use.

Based on Tailwind CSS and includes DaisyUI


About This Fork

This is a specialized distribution of Tailwind CSS that:

  • Includes DaisyUI plugin out of the box
  • Provides standalone executables for easy integration
  • Is optimized for use with python-fasthtml
  • Can be used in any project requiring Tailwind CSS + DaisyUI

Usage

With FastHTML

  1. Download the appropriate binary

For macOS ARM64 (M1/M2)

curl -sLO https://github.com/banditburai/fastwindcss/releases/latest/download/tailwindcss-macos-arm64

For macOS x64 (Intel)

curl -sLO https://github.com/banditburai/fastwindcss/releases/latest/download/tailwindcss-macos-x64

For Linux x64

curl -sLO https://github.com/banditburai/fastwindcss/releases/latest/download/tailwindcss-linux-x64

For Linux ARM64

curl -sLO https://github.com/banditburai/fastwindcss/releases/latest/download/tailwindcss-linux-arm64

For Windows x64

curl -sLO https://github.com/banditburai/fastwindcss/releases/latest/download/tailwindcss-windows-x64.exe
  1. Rename and make executable

On Unix-like systems (macOS/Linux):

mv tailwindcss-* tailwindcss
chmod +x tailwindcss

On Windows:

mv tailwindcss-windows-x64.exe tailwindcss.exe
  1. Create your input CSS with DaisyUI plugin

Create a styles directory with an input.css file:

mkdir -p styles
echo '@import "tailwindcss";
@plugin "daisyui";' > styles/input.css
  1. Usage Options

Build CSS once:

./tailwindcss -i styles/input.css -o styles/output.css

Development mode with watch (automatically rebuilds when files change):

./tailwindcss -i styles/input.css -o styles/output.css --watch

Documentation

Original Project

This is a fork of Tailwind CSS. For the original project:

License

This project is licensed under the same terms as Tailwind CSS. See the LICENSE file for details.

Build Status Total Downloads Latest Release License

About

A fork of Tailwind + DaisyUI Standalone built for FastHTML

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 86.4%
  • Rust 10.5%
  • CSS 1.1%
  • HTML 1.1%
  • JavaScript 0.9%