Campaign Theming

The first half of the following Youtube videos describes this article.

Customising your Kanka campaign

Administrators of premium campaigns can write custom CSS for their campaigns. This interface is accessed in Settings > Theming.

To keep what little sanity you have left, it is recommended to split up your CSS into multiple themes.

Theme builder

When creating your first campaign style, you’ll be asked if you want to use the theme builder instead. The theme builder is a great way of changing just the various colours of Kanka without having to learn CSS!

Fonts

CSS fonts are only properly imported when they are at the beginning of the CSS file. Since all the campaign’s active themes are merged together in the order defined by the campaign’s admins, it is recommended to have a fonts theme in first position for all of your font import rules.

Adding custom fonts

Marketplace

Some older Marketplace plugins will require you to add font rules to your Kanka campaign. Having a _fonts theme at the top makes this super easy. Since October 2022, Marketplace themes no longer need this workaround.