set_global_css

Function set_global_css 

Source
pub fn set_global_css(style_data: &str)
Expand description

Sets a custom global stylesheet.

Examples found in repository?
examples/tracker.rs (line 136)
134fn main() {
135    let app = RelmApp::new("relm4.example.tracker");
136    relm4::set_global_css(".identical { background: #00ad5c; }");
137
138    app.run::<AppModel>(());
139}