From 1383297b50273cd2838c36ed60e749c760370cf0 Mon Sep 17 00:00:00 2001 From: iliajie Date: Fri, 4 Aug 2023 15:21:42 +0300 Subject: [PATCH] Fix Chrome application header to contrast with the main accent color --- authentic-init.pl | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/authentic-init.pl b/authentic-init.pl index 4fe7fc78f..7c0fec120 100644 --- a/authentic-init.pl +++ b/authentic-init.pl @@ -75,15 +75,16 @@ sub settings_filter sub get_theme_color { - my %theme_colors = ('blue' => '#004090', - 'brown' => '#5d4839', - 'gold' => '#7e6143', - 'green' => '#247648', - 'grey' => '#464b49', - 'orange' => '#8b5f37', - 'purple' => '#4f3b56', - 'red' => '#8e2b2b', - 'white' => '#ffffff'); + # Chrome application header color should be darker than the theme color + my %theme_colors = ('blue' => '#003374', # '#004090', + 'brown' => '#423328', # '#5d4839', + 'gold' => '#624b33', # '#7e6143', + 'green' => '#1a5936', # '#247648', + 'grey' => '#313533', # '#464b49', + 'orange' => '#724e2d', # '#8b5f37', + 'purple' => '#3a2b3f', # '#4f3b56', + 'red' => '#752323', # '#8e2b2b', + 'white' => '#eeeeee');# '#ffffff' my $color = $theme_config{'settings_navigation_color'}; return $theme_colors{$color};