Skip to content

Themes

This module containts some general-purpose data models for the themes. The themes are encouraged to inherit from these data models and add their own options, to avoid code duplication.

PageMargins

Bases: BaseModel

This class is a data model for the page margins.

SectionTitleMargins

Bases: BaseModel

This class is a data model for the section title margins.

EntryAreaMargins

Bases: BaseModel

This class is a data model for the entry area margins.

HighlightsAreaMargins

Bases: BaseModel

This class is a data model for the highlights area margins.

HeaderMargins

Bases: BaseModel

This class is a data model for the header margins.

Margins

Bases: BaseModel

This class is a data model for the margins.

ThemeOptions

Bases: BaseModel

This class is a generic data model for the theme options. The themes are encouraged to inherit from this data model and add their own options, to avoid code duplication.