Skip to content

Installation

The Gradient Theme is published on PyPI as zensical-gradient-theme. It needs Python 3.11 or newer and pulls in Zensical as a dependency.

With uv

Add the theme to the dependency group that holds your docs tooling:

uv add --group docs zensical-gradient-theme

With pip

pip install zensical-gradient-theme

From GitHub

To try unreleased changes, install straight from the repository:

uv add --group docs "zensical-gradient-theme @ git+https://github.com/maxludden/zensical-gradient-theme"

Check the install

The package registers a theme named gradient. Confirm it's visible to your environment:

uv run python -c "from importlib.metadata import entry_points; print([e.name for e in entry_points(group='mkdocs.themes')])"

gradient should appear in the list. Next, head to Getting Started to turn it on.