Allowed dead code on theme which may not be used in certain projects

This commit is contained in:
Luke Else 2024-07-27 16:01:40 +01:00
parent 0960021ec3
commit 8906de1d50

View File

@ -3,6 +3,7 @@ use egui::Color32;
pub mod onedark; pub mod onedark;
//struct to store the colours used in a theme; //struct to store the colours used in a theme;
#[allow(dead_code)]
pub struct Theme { pub struct Theme {
pub bg: Color32, pub bg: Color32,
pub fg: Color32, pub fg: Color32,
@ -11,5 +12,5 @@ pub struct Theme {
pub opt3: Color32, pub opt3: Color32,
pub opt4: Color32, pub opt4: Color32,
pub opt5: Color32, pub opt5: Color32,
pub opt6: Color32 pub opt6: Color32,
} }