Configs.get_theme
Configs.get_theme( current=False )
This function returns the list of avaliable themes or dictionary detailing the customizable elements.
Parameters:
- current : bool, default False
If True, returns details about the current theme, including customizable elements and their corresponding color values. If False (default), returns a list of available themes.
Returns:
- list or dict:
list or dict: If current is False, returns a list of available themes. If current is True, returns a dictionary detailing the customizable elements and their corresponding color values within the current theme.
Examples
#To get a list of available themes:
>>> ix.Configs.get_theme()
...
['Theme1', 'Theme2', 'Theme3']
#To get details about the current theme:
>>> ix.Configs.get_theme(current=True)
...
{'dash_donuts_color': '#FFCBA5',
'dash_bars_color': '#FF9899',
'dash_bars_text_color': '#525252',
'label_color': '#FF9899',
'mini_hist_color': '#FFCBA5',
'hist_color': '#FFCBA5',
'hist_kde_color': '#FF9899',
'bar_color': 'light:#FF9899',
'bar_font_color': '#525252',
'hover_color': '#FF9899'}