From 1e475e9a7bfe5f996c9c3577c5ed667d91da89fa Mon Sep 17 00:00:00 2001 From: Lains <4886639+lainsce@users.noreply.github.com> Date: Sun, 22 Jan 2023 02:23:47 -0300 Subject: [PATCH] owo --- lib/Models/Application.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Models/Application.vala b/lib/Models/Application.vala index c527d500..2f187996 100644 --- a/lib/Models/Application.vala +++ b/lib/Models/Application.vala @@ -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);