aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-15 02:43:59 -0800
committerfriendica <info@friendica.com>2013-11-15 02:43:59 -0800
commitfc0a5d58d1defc55c556544f165c23e4c0779d53 (patch)
tree04277d741342da8b972117d64c4805e88980d24d /view/theme/redbasic/php/style.php
parent725440145273d66d4b5d56f7b8cbb0c4868941e6 (diff)
downloadvolse-hubzilla-fc0a5d58d1defc55c556544f165c23e4c0779d53.tar.gz
volse-hubzilla-fc0a5d58d1defc55c556544f165c23e4c0779d53.tar.bz2
volse-hubzilla-fc0a5d58d1defc55c556544f165c23e4c0779d53.zip
make font size tweakable for the whole app
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r--view/theme/redbasic/php/style.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 63e7b379f..2fcda2cc8 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -20,6 +20,7 @@
$toolicon_activecolour = get_pconfig($uid,'redbasic','toolicon_activecolour');
$item_colour = get_pconfig($uid, "redbasic", "item_colour");
$item_opacity = get_pconfig($uid, "redbasic", "item_opacity");
+ $body_font_size = get_pconfig($uid, "redbasic", "body_font_size");
$font_size = get_pconfig($uid, "redbasic", "font_size");
$font_colour = get_pconfig($uid, "redbasic", "font_colour");
$radius = get_pconfig($uid, "redbasic", "radius");
@@ -78,6 +79,8 @@
$item_opacity = "1";
if (! $font_size)
$font_size = "1.0em";
+ if (! $body_font_size)
+ $body_font_size = "11px";
if (! $font_colour)
$font_colour = "#4D4D4D";
if (! $radius)
@@ -148,6 +151,7 @@ $options = array (
'$toolicon_activecolour' => $toolicon_activecolour,
'$font_size' => $font_size,
'$font_colour' => $font_colour,
+'$body_font_size' => $body_font_size,
'$radius' => $radius,
'$shadow' => $shadow,
'$active_colour' => $active_colour,