metawards.themes.Simple

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

This is the monochrome ‘Simple’ theme

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

Methods

__init__(frames, List[str]] = <factory>)
error()
error_text()
get_frames(width) Return the frames used to animate a spinner in a console of specified width
highlighter()
info()
info_text()
padding_style(style)
panel(style)
panel_box(style)
rule(style)
should_highlight()
should_markup()
spinner_failure(spinner)
spinner_success(spinner)
text(style)
warning()
warning_text()
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