Publican themes

306 words, 2-minute read

The following pre-built Publican themes can be used and adapted for your own website.

Basic theme #

The basic theme is fast, standards based, uses best practise techniques, and is an ideal starting point for a personal blog. It features pages, blog posts, tag indexes, desktop/mobile responsive layout, light/dark switcher (shown below), RSS feed, sitemaps, security, and a 100% Lighthouse performance score.

Publican basic theme

The theme can quicky be configured by editing an .env file and changing colors using CSS custom properties.

Documentation theme #

This theme is an ideal starting point for web-based documentation. It features main menus, page menus, StaticSearch, easy theming, a responsive layout, a light/dark switcher, sitemaps, security, and a 100% Lighthouse performance score.

Publican documentation theme

A single hue value (0 to 360) set in the .env.dev file can provide complimentary light and dark mode color schemes:

.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.

Publican.dev website #

The code for the Publican.dev website is publicly available. It’s not an ideal starter theme, but you may find code snippets you want to use and adapt.