aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-05 16:21:38 -0800
committerfriendica <info@friendica.com>2013-11-05 16:21:38 -0800
commitf4cb145f3c248aab9188900baebaa5659fa4e343 (patch)
tree57f794db998dea570b76e585be41b70975941422 /view/theme/redbasic/php/style.php
parentb15c9de1e50437065fbdd1ac7e487687a4feda8d (diff)
downloadvolse-hubzilla-f4cb145f3c248aab9188900baebaa5659fa4e343.tar.gz
volse-hubzilla-f4cb145f3c248aab9188900baebaa5659fa4e343.tar.bz2
volse-hubzilla-f4cb145f3c248aab9188900baebaa5659fa4e343.zip
redbasic - allow changing icon colours
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r--view/theme/redbasic/php/style.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 426453cb7..6a1b9c65e 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -16,6 +16,8 @@
$schema = get_pconfig($uid,'redbasic','schema');
$bgcolour = get_pconfig($uid, "redbasic", "background_colour");
$background_image = get_pconfig($uid, "redbasic", "background_image");
+ $toolicon_colour = get_pconfig($uid,'redbasic','toolicon_colour');
+ $toolicon_activecolour = get_pconfig($uid,'redbasic','toolicon_activecolour');
$item_colour = get_pconfig($uid, "redbasic", "item_colour");
$item_opacity = get_pconfig($uid, "redbasic", "item_opacity");
$font_size = get_pconfig($uid, "redbasic", "font_size");
@@ -63,6 +65,10 @@
$background_image ='';
if (! $item_colour)
$item_colour = "#f8f8f8";
+ if (! $toolicon_colour)
+ $toolicon_colour = '#777777';
+ if (! $toolicon_activecolour)
+ $toolicon_activecolour = '#000';
if (! $item_opacity)
$item_opacity = "1";
if (! $font_size)
@@ -125,6 +131,8 @@ $options = array (
'$background_image' => $background_image,
'$item_colour' => $item_colour,
'$item_opacity' => $item_opacity,
+'$toolicon_colour' => $toolicon_colour,
+'$toolicon_activecolour' => $toolicon_activecolour,
'$font_size' => $font_size,
'$font_colour' => $font_colour,
'$radius' => $radius,