@@ -144,8 +144,8 @@ impl ThemeName {
144144 overlay_text : Color :: LightGreen ,
145145 } ,
146146 Self :: CyanCrush => Theme {
147- notes_border : Color :: LightMagenta ,
148- notes_title : Color :: Cyan ,
147+ notes_border : Color :: Cyan ,
148+ notes_title : Color :: LightMagenta ,
149149 notes_highlight_bg : Color :: LightMagenta ,
150150 notes_highlight_fg : Color :: Black ,
151151 note_fg : Color :: LightMagenta ,
@@ -232,27 +232,3 @@ impl Default for ThemeName {
232232 Self :: Default
233233 }
234234}
235-
236- #[ cfg( test) ]
237- mod tests {
238- use super :: * ;
239-
240- #[ test]
241- fn display_names_match ( ) {
242- assert_eq ! ( ThemeName :: Default . display_name( ) , "Default" ) ;
243- assert_eq ! ( ThemeName :: Matrix . display_name( ) , "Matrix" ) ;
244- assert_eq ! ( ThemeName :: CyanCrush . display_name( ) , "Cyan Crush" ) ;
245- }
246-
247- #[ test]
248- fn save_and_load_theme ( ) {
249- let path = ThemeName :: config_path_for_test ( ) ;
250- if path. exists ( ) {
251- let _ = std:: fs:: remove_file ( & path) ;
252- }
253- ThemeName :: Matrix . save ( ) ;
254- let loaded = ThemeName :: load_or_default ( ) ;
255- assert_eq ! ( loaded, ThemeName :: Matrix ) ;
256- let _ = std:: fs:: remove_file ( path) ;
257- }
258- }
0 commit comments