Skip to content

Customization Guide

Master_Bw3 edited this page Jul 13, 2025 · 2 revisions

Book.json

You may create a file named book.json in your mod's assets/[mod name]/coleus folder.

The following options may be set:

  • default_theme: the identifier of a theme to set as the default theme for your book. The themes that come with Coleus are under the coleus namespace. The list of themes is available here.
  • css: a list of identifiers pointing to css files to be included in each page.

Example

{
  "default_theme": "coleus:atelierforest"
  "css": ["mymod:coleus/mymod.css"],
}

Custom Templates

By default, Coleus will expand your templates to an image of the rendered owo-ui component. If you would instead like to expand the template to custom html, you may register a template expander to the HtmlTemplateRegistry.

Clone this wiki locally