metawards.themes.SpringFlowers

class metawards.themes.SpringFlowers(frames: Dict[int, List[str]] = <factory>, panel_colors: List[str] = <factory>)[source]

This is the colourful ‘SpringFlowers’ theme

__init__(frames: Dict[int, List[str]] = <factory>, panel_colors: List[str] = <factory>) → None

Methods

__init__(frames, List[str]] = <factory>, …)
error()
get_frames(width) Return the frames used to animate a spinner in a console of specified width
highlighter()
info()
padding_style(style)
panel(style[, advance])
panel_box(style)
rule(style)
should_highlight()
should_markup()
spinner_failure(spinner)
spinner_success(spinner)
text(style)
warning()

Attributes

panel_color_count
get_frames(width: int = 80)[source]

Return the frames used to animate a spinner in a console of specified width

This returns the list of frames plus the timeout between the list