Playing with custom themes

Table of Contents

The party trick of Marisa theme is to replace the main theme with anything CSS library you want.

By defining config.toml or markdown front matters, you can easily create pages with different styles on the same site.

#config.toml

marisa_theme_color = "custom"
marisa_theme_custom = "holiday.css"
marisa_theme_tweak = "marisa-alt.css"

Then put your custom css files in static/ folder.

#front matters

+++
[extra]
marisa_theme_color = "custom"
marisa_theme_custom = "holiday.css"
marisa_theme_tweak = "marisa-alt.css"
+++

Then put your custom css files in asset co-locate folder.

#css libraies

For a selection of good classless css library, see these sites:

🔍 Search results