naturtag.widgets.style module

naturtag.widgets.style.fa_icon(icon_name, secondary=False, color=None, **kwargs)

Get a FontAwesome icon, using a primary, secondary, or arbitrary color.

Primary (default): palette highlight color Secondary: palette link color color: explicit color; skips palette lookup

naturtag.widgets.style.mod_dark_palette(palette)
Return type:

QPalette

naturtag.widgets.style.mod_light_palette(palette)
Return type:

QPalette

naturtag.widgets.style.set_theme(dark_mode=True)
naturtag.widgets.style.set_theme_2(dark_mode=True)