Skip to content

Commit

Permalink
Forgot to put the ramp
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Aug 6, 2024
1 parent 2ac7c3a commit a6b57e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Models/StyleManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ public class He.StyleManager : Object {
var error_container_hex = Color.hct_to_hex (error_container_hct.h, error_container_hct.c, error_container_hct.t);

var on_error_container_hct = is_dark ?
Color.from_params (20.0, 10.0, 90.0) :
Color.from_params (25.0, 65.0, 10.0);
Color.from_params (20.0, 10.0, new ContrastCurve (contrast, 85, 90, 100, 100).contrast_level) :
Color.from_params (25.0, 65.0, new ContrastCurve (contrast, 20, 10, 0, 0).contrast_level);
var on_error_container_hex = Color.hct_to_hex (on_error_container_hct.h, on_error_container_hct.c, on_error_container_hct.t);

// HCT Color blendin'
Expand Down

0 comments on commit a6b57e3

Please sign in to comment.