Skip to main content

override_theme_background

Function override_theme_background 

Source
pub fn override_theme_background(theme: &Theme, bg: (u8, u8, u8)) -> Theme
Expand description

Create a theme with overridden background color.

This is equivalent to Python’s override_background() function. It modifies a theme to use a custom background color and removes all token-specific background colors.