Build Your Own Theme
You can refer to the source code of themes. The main things to implement are:
- Customize the color theme by modifying
self.colors
. - Customize the header.
- Customize the footer.
- Optionally, customize the
alert
function. - Customize the
slide
function. - Customize special slide functions, such as
title-slide
andfocus-slide
functions. - Customize the
slide-in-slides
function, which will be called by theslides
function. - Optionally, customize the
slides
function. - Customize the
register
function to initialize the global singletons
. - Optionally, customize the
init
function.
More detailed documentation to be added.