frio: readability improvement, first pass

This commit is contained in:
Extarys 2021-01-16 16:54:23 -05:00
parent 545de9f9aa
commit fb904ad5de
2 changed files with 7 additions and 5 deletions

View File

@ -16,13 +16,15 @@ switch ($scheme_accent) {
default:
$link_color = '#' . $accentColor->lighten(25);
}
$nav_icon_color = $scheme_accent;
$nav_icon_color = '#' . $accentColor->lighten(40);
$nav_icon_hover_color = '#' . $accentColor->darken(20);
switch ($scheme_accent) {
case FRIO_SCHEME_ACCENT_GREEN:
case FRIO_SCHEME_ACCENT_RED:
$nav_bg = '#' . $accentColor->darken(25);
$background_color = '#' . $accentColor->darken(27);
$nav_bg = '#' . $accentColor->darken(27);
$background_color = '#' . $accentColor->darken(29);
break;
default:
$nav_bg = '#' . $accentColor->darken(30);

View File

@ -188,8 +188,8 @@ $options = [
'$background_repeat' => $background_repeat,
'$login_bg_image' => $login_bg_image,
'$login_bg_color' => $login_bg_color,
'$font_color_darker' => $font_color_darker ?? '#555',
'$font_color' => $font_color ?? '#777',
'$font_color_darker' => $font_color_darker ?? '#222',
'$font_color' => $font_color ?? '#444',
];
$css_tpl = file_get_contents('view/theme/frio/css/style.css');