Skip to content

src/dazzle_ui/build_css.py

Generated: 2026-03-30T04:38:48.793171+00:00

Commit: 615f1354a103

Language: python

Scope: dazzle_ui

Purpose

CSS build system for Dazzle UI.

Downloads the Tailwind CSS standalone CLI on first use and compiles a production CSS bundle from the template directory. The bundle contains only the utility classes actually used in templates — no runtime JIT.

Usage::

from dazzle_ui.build_css import build_css

...

Key Exports

  • get_tailwind_binary
  • build_css

Dependencies

Imports

  • logging
  • os
  • platform
  • shutil
  • stat
  • subprocess
  • tempfile
  • pathlib.Path
  • urllib.request

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/unit/test_build_css.py

Notes

This page was automatically generated by tools/gen_reference_docs.py.