diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2022-03-13 16:03:15 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2022-03-13 17:07:45 +0100 |
commit | 46f54db197a36bfb235d306c40eed5c292fb97d6 (patch) | |
tree | 7573292f6697317015a67d3753acdfec5bc3c25c /view/theme/redbasic/php/style.php | |
parent | 34ffff3947b8e89a667367277f0fde9c626fd143 (diff) | |
download | volse-hubzilla-46f54db197a36bfb235d306c40eed5c292fb97d6.tar.gz volse-hubzilla-46f54db197a36bfb235d306c40eed5c292fb97d6.tar.bz2 volse-hubzilla-46f54db197a36bfb235d306c40eed5c292fb97d6.zip |
redbasic/dark: Use bootstrap-nightfall for dark schema.
This is a color only stylesheet, modifying the original Bootstrap colors
to a dark variant. Insert this as base before the redbasic dark schema
modifications, and any custom modifications to have a nicer base for the
dark schema.
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r-- | view/theme/redbasic/php/style.php | 4 |
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'); } |