updated gradient

This commit is contained in:
Nickiel12 2023-11-09 16:23:38 -08:00
parent e40bfb1a06
commit 44c4e2d1db

View file

@ -152,7 +152,7 @@ pub fn run_calendar(args: &CliArgs) {
"#d3d3d3" "#d3d3d3"
}; };
println!("linear-gradient({}deg, {}, #262626)", (output_state.gradient_angle_percentage * 180.0 - 90.0) as u32, gradient_color); println!("linear-gradient({}deg, {}, #262626 30%)", (output_state.gradient_angle_percentage * 180.0 - 90.0) as i32 * (-1), gradient_color);
} }
// println!("{}", serde_json::to_string(&output_state).unwrap()); // println!("{}", serde_json::to_string(&output_state).unwrap());