GitHub

API reference for Theme.

The symbols and colors prompts render with.

Attributes

AttributeTypeDescription
prefixstr = '?'
pointerstr = '❯'
pointer_smallstr = '›'
ellipsisstr = '…'
tickstr = '✔'
arrow_upstr = '↑'
arrow_downstr = '↓'
checkbox_onstr = '☒'
checkbox_offstr = '☐'
description_separatorstr = '- '
password_maskstr = '*'
toggle_separatorstr = '/'
primary_colorstr = ansi.cyan_bright
muted_colorstr = ansi.black_bright
success_colorstr = ansi.green
error_colorstr = ansi.red
submitted_colorstr = ansi.white
colorsbool = False

Functions

__init__

__init__(*, prefix='?', pointer='❯', pointer_small='›', ellipsis='…', tick='✔', arrow_up='↑', arrow_down='↓', checkbox_on='☒', checkbox_off='☐', description_separator='- ', password_mask='*', toggle_separator='/', primary_color=ansi.cyan_bright, muted_color=ansi.black_bright, success_color=ansi.green, error_color=ansi.red, submitted_color=ansi.white, colors=False) -> None
ParameterTypeDescription
prefixstr = '?'
pointerstr = '❯'
pointer_smallstr = '›'
ellipsisstr = '…'
tickstr = '✔'
arrow_upstr = '↑'
arrow_downstr = '↓'
checkbox_onstr = '☒'
checkbox_offstr = '☐'
description_separatorstr = '- '
password_maskstr = '*'
toggle_separatorstr = '/'
primary_colorstr = ansi.cyan_bright
muted_colorstr = ansi.black_bright
success_colorstr = ansi.green
error_colorstr = ansi.red
submitted_colorstr = ansi.white
colorsbool = False