aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-03-20 08:27:30 +0000
committerMario <mario@mariovavti.com>2022-03-20 08:27:30 +0000
commit9081a25e64e5350826eb5cc5af6879099fd031d5 (patch)
treea4d0a612dcfe7ec348964d999bfc285af688e0d0 /view/theme/redbasic/php/style.php
parent1beadfc6e769cfe21d6c3d6c13f7db29210e40fb (diff)
parent76eb1a9d78c4849e96de3b8719c08ef7aaea5dcc (diff)
downloadvolse-hubzilla-9081a25e64e5350826eb5cc5af6879099fd031d5.tar.gz
volse-hubzilla-9081a25e64e5350826eb5cc5af6879099fd031d5.tar.bz2
volse-hubzilla-9081a25e64e5350826eb5cc5af6879099fd031d5.zip
Merge branch 'volse-redbasic-dark' into 'dev'
redbasic/dark: Use bootstrap-nightfall for dark schema. See merge request hubzilla/core!2016
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 9cb835ec6..6ff281581 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -112,6 +112,10 @@ if(file_exists('view/theme/redbasic/css/style.css')) {
$x = file_get_contents('view/theme/redbasic/css/style.css');
+ if($schema === 'dark' && file_exists('view/theme/redbasic/schema/bootstrap-nightfall.css')) {
+ $x .= file_get_contents('view/theme/redbasic/schema/bootstrap-nightfall.css');
+ }
+
if($narrow_navbar && file_exists('view/theme/redbasic/css/narrow_navbar.css')) {
$x .= file_get_contents('view/theme/redbasic/css/narrow_navbar.css');
}