feat: Created a theme validation macro to verify theme configurations before allowing the TUI to start

This commit is contained in:
Dark-Alex-17 committed 2025-03-05 14:37:34 -07:00
1 parent fd14a8152c
commit 72c922b311
6 files changed
+151 -44

No files matched your search

+1
View File
@@ -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();