Skip to content

ThemeContext

Information about the theme.

admonitions class-attribute instance-attribute

admonitions: list = field(default_factory=list)

css_accent_bg class-attribute instance-attribute

css_accent_bg: str = ''

css_accent_fg class-attribute instance-attribute

css_accent_fg: str = ''

css_accent_fg_transparent class-attribute instance-attribute

css_accent_fg_transparent: str = ''

css_default_bg class-attribute instance-attribute

css_default_bg: str = ''

css_default_fg class-attribute instance-attribute

css_default_fg: str = ''

css_primary_bg class-attribute instance-attribute

css_primary_bg: str = ''

css_primary_bg_light class-attribute instance-attribute

css_primary_bg_light: str = ''

css_primary_fg class-attribute instance-attribute

css_primary_fg: str = ''

data class-attribute instance-attribute

data: dict[str, str] = field(default_factory=dict)

Additional data of the theme.

name class-attribute instance-attribute

name: str = ''

Name of the theme.

primary_color class-attribute instance-attribute

primary_color: str = ''

Primary color.

text_color class-attribute instance-attribute

text_color: str = ''

Primary text color.

__init__

__init__(
    name: str = "",
    primary_color: str = "",
    text_color: str = "",
    data: dict[str, str] = dict(),
    admonitions: list = list(),
    css_primary_fg: str = "",
    css_primary_bg: str = "",
    css_primary_bg_light: str = "",
    css_accent_fg: str = "",
    css_accent_fg_transparent: str = "",
    css_accent_bg: str = "",
    css_default_fg: str = "",
    css_default_bg: str = "",
) -> None

__repr__

__repr__()
Page info
Resources
Resources(css=[],
          markdown_extensions={'attr_list': {},
                               'md_in_html': {},
                               'pymdownx.emoji': {'emoji_generator': <function to_svg at 0x7fd7a6931800>,
                                                  'emoji_index': <function twemoji at 0x7fd7a69316c0>},
                               'pymdownx.magiclink': {'repo': 'mknodes',
                                                      'repo_url_shorthand': True,
                                                      'user': 'phil65'}},
          plugins=[Plugin('mkdocstrings')],
          js=[],
          assets=[],
          packages=[])
Metadata
created:
  source_filename: /home/runner/work/mknodes/mknodes/mknodes/manual/templating_section.py
  source_function: _
  source_line_no: 42
template: SUMMARY.html
title: ThemeContext