Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce authored Jan 22, 2023
1 parent 0946849 commit 6b63a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Models/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public class He.Application : Gtk.Application {
}

var fg_contrast = Desktop.ColorScheme.DARK == desktop.prefers_color_scheme ? 15.2 : 7.6;
var bg_contrast = Desktop.ColorScheme.DARK == desktop.prefers_color_scheme ? 1.3 : 5.6;
var bg_contrast = Desktop.ColorScheme.DARK == desktop.prefers_color_scheme ? 9.2 : 5.6;

He.Color.RGBColor derived_accent_fg;
var derived_accent_as_fg = He.Color.derive_contasting_color(lch_color, fg_contrast, null);
Expand Down

0 comments on commit 6b63a02

Please sign in to comment.