forge
Explore
Log in

Don't you dare go Hollow

config: Fix discrepancy in default shadow color

Browse files at this commit

6451d6be4f7046bd3d02bbe22dc50bb7b94235a5Ivan MolodetskikhParent: 00a4e22
niri-config/src/appearance.rsmodified+1 -1
@@ -350,7 +350,7 @@ impl Default for Shadow {
350 softness: FloatOrInt(30.),350 softness: FloatOrInt(30.),
351 spread: FloatOrInt(5.),351 spread: FloatOrInt(5.),
352 draw_behind_window: false,352 draw_behind_window: false,
353- color: Color::from_rgba8_unpremul(0, 0, 0, 0x70),353+ color: Color::from_rgba8_unpremul(0, 0, 0, 0x77),
354 inactive_color: None,354 inactive_color: None,
355 }355 }
356 }356 }
niri-config/src/lib.rsmodified+1 -4
@@ -872,7 +872,7 @@ mod tests {
872 r: 0.0,872 r: 0.0,
873 g: 0.0,873 g: 0.0,
874 b: 0.0,874 b: 0.0,
875- a: 0.4392157,875+ a: 0.46666667,
876 },876 },
877 inactive_color: None,877 inactive_color: None,
878 },878 },
@@ -1844,9 +1844,6 @@ mod tests {
1844 + },1844 + },
1845 + ],1845 + ],
1846 1846
1847- - a: 0.4392157,
1848- + a: 0.46666667,
1849-
1850 - preset_column_widths: [],1847 - preset_column_widths: [],
1851 - default_column_width: None,1848 - default_column_width: None,
1852 + preset_column_widths: [1849 + preset_column_widths: [