Allowed dead code on theme which may not be used in certain projects
This commit is contained in:
		@@ -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,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user