()
| 231 | |
| 232 | #[test] |
| 233 | fn dark_and_light_themes_differ() { |
| 234 | let dark = Theme::dark(); |
| 235 | let light = Theme::light(); |
| 236 | |
| 237 | // Core text styles must differ between themes. |
| 238 | assert_ne!(dark.text, light.text, "text style should differ"); |
| 239 | assert_ne!(dark.muted, light.muted, "muted style should differ"); |
| 240 | assert_ne!(dark.accent, light.accent, "accent style should differ"); |
| 241 | assert_ne!(dark.border, light.border, "border style should differ"); |
| 242 | assert_ne!( |
| 243 | dark.title_bar, light.title_bar, |
| 244 | "title_bar style should differ" |
| 245 | ); |
| 246 | assert_ne!(dark.badge, light.badge, "badge style should differ"); |
| 247 | assert_ne!( |
| 248 | dark.log_cursor, light.log_cursor, |
| 249 | "log_cursor style should differ" |
| 250 | ); |
| 251 | assert_ne!( |
| 252 | dark.log_selection, light.log_selection, |
| 253 | "log_selection style should differ" |
| 254 | ); |
| 255 | } |
| 256 | |
| 257 | #[test] |
| 258 | fn dark_theme_matches_original_palette() { |
nothing calls this directly
no outgoing calls
no test coverage detected