theme.register_section

theme

register_section(name, builder_fn)

Add a themed section

builder_fn(palette) returns the section's default rss table. It runs at once against the active palette, and again on every set. A name already taken, built-in sections included, is replaced.