Skip to content

PaletteHeader

Source code in docs_src/capo_connect/types/palette_header.py
class PaletteHeader(TypedDict, closed=True):
    background: NotRequired["capo_connect.types.theme_string.ThemeString"]
    """<p>The background color of the header.</p>"""
    text: NotRequired["capo_connect.types.theme_string.ThemeString"]
    """<p>The text color in the header.</p>"""
    text_hover: NotRequired["capo_connect.types.theme_string.ThemeString"]
    """<p>The text color when hovering over header elements.</p>"""
    invert_actions_colors: "capo_connect.types.boolean.Boolean"
    """<p>Whether to invert the colors of action buttons in the header.</p>"""

background instance-attribute

background: NotRequired[ThemeString]

The background color of the header.

invert_actions_colors instance-attribute

invert_actions_colors: Boolean

Whether to invert the colors of action buttons in the header.

text instance-attribute

text: NotRequired[ThemeString]

The text color in the header.

text_hover instance-attribute

text_hover: NotRequired[ThemeString]

The text color when hovering over header elements.