added the new 'gap' color in the configuration file, predefined by default as 'FFFFFF'

This commit is contained in:
Jordi Sanfeliu 2013-06-28 12:38:53 +02:00
parent 0d6be1d4d2
commit e5bdc2862b
2 changed files with 4 additions and 0 deletions

View File

@ -253,6 +253,7 @@ if(!$config{theme}->{$color}) {
$config{theme}->{$color}->{title_bg} = "777777";
$config{theme}->{$color}->{title_fg} = "CCCC00";
$config{theme}->{$color}->{graph_bg} = "CCCCCC";
$config{theme}->{$color}->{gap} = "FFFFFF";
}
if($color eq "black") {
@ -273,6 +274,7 @@ $colors{fg_color} = $config{theme}->{$color}->{main_fg};
$colors{title_bg_color} = $config{theme}->{$color}->{title_bg};
$colors{title_fg_color} = $config{theme}->{$color}->{title_fg};
$colors{graph_bg_color} = $config{theme}->{$color}->{graph_bg};
$colors{gap} = $config{theme}->{$color}->{gap};
($tf{twhen}) = ($when =~ m/(hour|day|week|month|year)$/);

View File

@ -522,6 +522,7 @@ logo_bottom = logo_bot.png
title_bg = 777777
title_fg = CCCC00
graph_bg = CCCCCC
gap = FFFFFF
</white>
<black>
canvas = 000000
@ -539,6 +540,7 @@ logo_bottom = logo_bot.png
title_bg = 333333
title_fg = 888800
graph_bg = 888888
gap = FFFFFF
</black>
</theme>