diff --git a/crates/egui/src/style.rs b/crates/egui/src/style.rs index 41471a83e70..0f6c9633ebd 100644 --- a/crates/egui/src/style.rs +++ b/crates/egui/src/style.rs @@ -1387,14 +1387,14 @@ impl Default for Visuals { impl Selection { fn dark() -> Self { Self { - bg_fill: Color32::from_rgb(0, 92, 128).gamma_multiply(0.75), + bg_fill: Color32::from_rgb(0, 92, 128), stroke: Stroke::new(1.0, Color32::from_rgb(192, 222, 255)), } } fn light() -> Self { Self { - bg_fill: Color32::from_rgb(144, 209, 255).gamma_multiply(0.75), + bg_fill: Color32::from_rgb(144, 209, 255), stroke: Stroke::new(1.0, Color32::from_rgb(0, 83, 125)), } }