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 a3aab9a commit 5886d05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Models/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ public class He.Application : Gtk.Application {
derived_card_bg = Desktop.ColorScheme.DARK == desktop.prefers_color_scheme ? He.Color.CARD_BLACK : He.Color.CARD_WHITE;
}

var fg_contrast = Desktop.ColorScheme.DARK == desktop.prefers_color_scheme ? 15.2 : 13.6;
var bg_contrast = Desktop.ColorScheme.DARK == desktop.prefers_color_scheme ? 2.0 : 2.2;
var fg_contrast = Desktop.ColorScheme.DARK == desktop.prefers_color_scheme ? 15.2 : 7.6;
var bg_contrast = Desktop.ColorScheme.DARK == desktop.prefers_color_scheme ? 3.3 : 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 5886d05

Please sign in to comment.