aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-28 16:33:24 -0700
committerfriendica <info@friendica.com>2013-05-28 16:33:24 -0700
commit6bb35832674e35aa4505cd636b6f42c6d0a1a7f4 (patch)
tree89aeeac25abedeec92a1a6503ec7db1877eb4189 /view/theme/redbasic/php/style.php
parent281d73b03adb4906acd9483911aa8edb04e68f6b (diff)
parent5f629ea6102acb0c117c2152e5bc7404b3b8b668 (diff)
downloadvolse-hubzilla-6bb35832674e35aa4505cd636b6f42c6d0a1a7f4.tar.gz
volse-hubzilla-6bb35832674e35aa4505cd636b6f42c6d0a1a7f4.tar.bz2
volse-hubzilla-6bb35832674e35aa4505cd636b6f42c6d0a1a7f4.zip
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r--view/theme/redbasic/php/style.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index e011d6185..e5b128546 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -41,7 +41,9 @@
// In non-expert mode, we just let them choose font size, line height, and a colour scheme. A colour scheme is just a pre-defined set of the above variables.
// But only apply these settings in non-expert mode to prevent confusion when turning expert mode on and off.
if(! feature_enabled(local_user(),'expert')) {
- if ($colour_scheme === 'fancyred') {$shadows = true; $navcolour = 'black'; $shadows = true; $displaystyle = 'fancy'; $linkcolour = 'f00'; $shiny = "opaque";}
+ if ($colour_scheme === 'fancyred') {$shadows = true; $navcolour = 'black'; $displaystyle = 'fancy'; $linkcolour = 'f00'; $shiny = "opaque";}
+ // Dark themes are very different - we need to do some of these from scratch, so don't bother setting vars for anything else
+ if ($colour_scheme === 'dark') {$colour = 'dark'; $navcolour = 'black';}
}
// This is probably the easiest place to apply global settings. Don't bother with site line height and such. Instead, check pconfig for global user settings.