adjusted the gradient

This commit is contained in:
Nickiel12 2023-11-09 16:28:21 -08:00
parent 7e55537503
commit c23ac22e06

View file

@ -152,7 +152,7 @@ pub fn run_calendar(args: &CliArgs) {
"#d3d3d3" "#d3d3d3"
}; };
println!("linear-gradient({}deg, {}, #262626 30%)", (output_state.gradient_angle_percentage * 180.0 - 90.0) as i32, 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());