Skip to content

Commit

Permalink
lol it was swapped
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce authored Jan 22, 2023
1 parent 4c6e101 commit a3aab9a
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 ? 13.6 : 15.2;
var bg_contrast = Desktop.ColorScheme.DARK == desktop.prefers_color_scheme ? 2.1 : 2.2;
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;

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 a3aab9a

Please sign in to comment.