Skip to content

Commit

Permalink
owo
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce authored Jan 22, 2023
1 parent c6212c3 commit 1e475e9
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.85 : 7.72;
var bg_contrast = Desktop.ColorScheme.DARK == desktop.prefers_color_scheme ? 3.23 : 4.52;
var fg_contrast = Desktop.ColorScheme.DARK == desktop.prefers_color_scheme ? 15.0 : 7.0;
var bg_contrast = Desktop.ColorScheme.DARK == desktop.prefers_color_scheme ? 4.5 : 3.0;

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 1e475e9

Please sign in to comment.