From 8906de1d507533f7f7f90abff8b1b465d214f00a Mon Sep 17 00:00:00 2001 From: Luke Else Date: Sat, 27 Jul 2024 16:01:40 +0100 Subject: [PATCH] Allowed dead code on theme which may not be used in certain projects --- src/theme/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/theme/mod.rs b/src/theme/mod.rs index 9e3a2b1..ceef7b7 100644 --- a/src/theme/mod.rs +++ b/src/theme/mod.rs @@ -3,6 +3,7 @@ use egui::Color32; pub mod onedark; //struct to store the colours used in a theme; +#[allow(dead_code)] pub struct Theme { pub bg: Color32, pub fg: Color32, @@ -11,5 +12,5 @@ pub struct Theme { pub opt3: Color32, pub opt4: Color32, pub opt5: Color32, - pub opt6: Color32 -} \ No newline at end of file + pub opt6: Color32, +}