From 46f54db197a36bfb235d306c40eed5c292fb97d6 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 13 Mar 2022 16:03:15 +0100 Subject: 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. --- view/theme/redbasic/php/style.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'view/theme/redbasic/php/style.php') 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'); } -- cgit v1.2.3