def tailwind_app(tmp_path, tailwind_version) -> Generator[AppHarness, None, None]:
    """Start TailwindApp app at tmp_path via AppHarness with tailwind disabled via config.

    Args:
        tmp_path: pytest tmp_path fixture
        tailwind_version: Whether tailwind is disabled for the app.

    Yields:
        running AppHarness instance
    """
    with AppHarness.create(
        root=tmp_path,
        app_source=functools.partial(TailwindApp, tailwind_version=tailwind_version),
        app_name="tailwind_"
        + ("disabled" if tailwind_version == 0 else str(tailwind_version)),
    ) as harness:
        yield harness
Start TailwindApp app at tmp_path via AppHarness with tailwind disabled via config.

    Args:
        tmp_path: pytest tmp_path fixture
        tailwind_version: Whether tailwind is disabled for the app.

    Yields:
        running AppHarness instance
    
tests/integration/test_tailwind.py