Contents:
A container for style information, used by Console.
Console
styles (Dict[str, Style], optional) – A mapping of style names on to styles. Defaults to None for a theme with no styles.
inherit (bool, optional) – Inherit default styles. Defaults to True.
Get contents of a config file for this theme.
Load a theme from a text mode file.
config_file (IO[str]) – An open conf file.
source (str, optional) – The filename of the open file. Defaults to None.
A New theme instance.
Theme
Read a theme from a path.
path (str) – Path to a config file readable by Python configparser module.
A new theme instance.