betty.content_builders.raspberry_mint_color_style module#
The color style content plugin.
- final class betty.content_builders.raspberry_mint_color_style.ColorStyle#
Bases:
Template,DataManufacturable[ColorStyleData]Change the color style for all containing content.
The
raspberry-mint-color-stylecontent builderplugin.Plugin ID
raspberry-mint-color-styleClass
Configuration
- __init__(content: Iterable[ContentBuilder], *, jinja: Environment, style: RaspberryMintColorStyle)#
- async build_template(document: Document) TemplateBuild#
Build template data.
Return a template name, a tuple of a template name and template date to render it. Return
Noneto prevent anything from being rendered at all.
- new = <betty.requirement._RequirableDecorator object>#
- classmethod new_data_cls() type[ColorStyleData]#
The object’s defined data class.
- final class betty.content_builders.raspberry_mint_color_style.ColorStyleData#
-
Configuration for
betty.content_builders.raspberry_mint_color_style.ColorStyle.- betty.content_builders.raspberry_mint_color_style:ColorStyleData
- __init__(content: ResolvablePluginManufacturerSequence[ContentBuilderDefinition, ContentBuilder], *, style: RaspberryMintColorStyle)#
- content#
The content within this color style.
- style#
The style.