feat: Created a theme validation macro to verify theme configurations before allowing the TUI to start
This commit is contained in:
@@ -222,6 +222,7 @@ async fn start_ui(
|
||||
Theme::default()
|
||||
};
|
||||
debug!("Managarr loaded using theme: {theme:?}");
|
||||
theme.validate();
|
||||
THEME.set(theme);
|
||||
|
||||
let mut stdout = io::stdout();
|
||||
|
||||
Reference in New Issue
Block a user