Publican v0.12.1 update and documentation theme

By Craig Buckler

262 words, 2-minute read

root
Image courtesy of Ally Griffin

Publican v0.12.1 was released on .

This was a third-party module update so there are no breaking changes.

Documentation theme #

A new Publican theme is available that’s designed for documentation websites.

Publican documentation theme

The theme is fast, standards based, and uses best practise techniques. It features main menus, page menus, StaticSearch, a responsive layout, a light/dark switcher, sitemaps, security, and a 100% Lighthouse performance score.

The theme uses new CSS techniques to provide complimentary light and dark mode color schemes from a single hue value (0 to 360) set in the .env.dev file:

.env.dev

# default blue
SITE_THEMEHUE=270

If necessary, you can override this and specify your own CSS colors. The theme uses esbuild to bundle and minify client-side CSS and JavaScript files.

Please download and adapt the theme for your own purposes. Alternatives are available on the themes page.

Get started #

The Publican documentation provides a quick start guide, a detailed set-up guide, API references, and common recipes you can use and adapt for your own projects.