2020-08-19 22:58:47 -04:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* Name: Dark
|
|
|
|
* Licence: AGPL
|
|
|
|
* Author: Hypolite Petovan <hypolite@friendica.mrpetovan.com>
|
2020-09-10 20:11:53 -04:00
|
|
|
* Overwrites: nav_bg, nav_icon_color, link_color, background_color, background_image, contentbg_transp
|
2020-08-19 22:58:47 -04:00
|
|
|
* Accented: yes
|
|
|
|
*/
|
|
|
|
|
|
|
|
require_once 'view/theme/frio/php/PHPColors/Color.php';
|
|
|
|
|
|
|
|
$accentColor = new Color($scheme_accent);
|
|
|
|
|
|
|
|
$menu_background_hover_color = '#' . $accentColor->darken(20);
|
|
|
|
switch ($scheme_accent) {
|
|
|
|
default:
|
|
|
|
$link_color = '#' . $accentColor->lighten(25);
|
|
|
|
}
|
2021-01-16 16:54:23 -05:00
|
|
|
$nav_icon_color = '#' . $accentColor->lighten(40);
|
2020-08-19 22:58:47 -04:00
|
|
|
$nav_icon_hover_color = '#' . $accentColor->darken(20);
|
2021-01-16 16:54:23 -05:00
|
|
|
|
2020-08-19 22:58:47 -04:00
|
|
|
switch ($scheme_accent) {
|
|
|
|
case FRIO_SCHEME_ACCENT_GREEN:
|
|
|
|
case FRIO_SCHEME_ACCENT_RED:
|
2021-01-16 16:54:23 -05:00
|
|
|
|
|
|
|
$nav_bg = '#' . $accentColor->darken(27);
|
|
|
|
$background_color = '#' . $accentColor->darken(29);
|
2020-08-19 22:58:47 -04:00
|
|
|
break;
|
|
|
|
default:
|
|
|
|
$nav_bg = '#' . $accentColor->darken(30);
|
|
|
|
$background_color = '#' . $accentColor->darken(33);
|
|
|
|
}
|
|
|
|
|
|
|
|
$contentbg_transp = 4;
|
|
|
|
$font_color = '#e4e4e4';
|
|
|
|
$font_color_darker = '#dcdcdc';
|
2020-09-10 20:11:53 -04:00
|
|
|
$background_image = '';
|