#!/usr/bin/env bash
# Build Tailwind CSS from source templates.
# Requires: tailwindcss CLI standalone binary on PATH.
#   curl -sL https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64 \
#     -o /usr/local/bin/tailwindcss && chmod +x /usr/local/bin/tailwindcss
set -euo pipefail
cd "$(dirname "$0")"
tailwindcss -i shared/static/styles/tailwind.css -o shared/static/styles/tw.css --minify
echo "Built shared/static/styles/tw.css ($(wc -c < shared/static/styles/tw.css) bytes)"
