frio: readability improvement, first pass
This commit is contained in:
parent
545de9f9aa
commit
fb904ad5de
2 changed files with 7 additions and 5 deletions
|
@ -16,13 +16,15 @@ switch ($scheme_accent) {
|
||||||
default:
|
default:
|
||||||
$link_color = '#' . $accentColor->lighten(25);
|
$link_color = '#' . $accentColor->lighten(25);
|
||||||
}
|
}
|
||||||
$nav_icon_color = $scheme_accent;
|
$nav_icon_color = '#' . $accentColor->lighten(40);
|
||||||
$nav_icon_hover_color = '#' . $accentColor->darken(20);
|
$nav_icon_hover_color = '#' . $accentColor->darken(20);
|
||||||
|
|
||||||
switch ($scheme_accent) {
|
switch ($scheme_accent) {
|
||||||
case FRIO_SCHEME_ACCENT_GREEN:
|
case FRIO_SCHEME_ACCENT_GREEN:
|
||||||
case FRIO_SCHEME_ACCENT_RED:
|
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;
|
break;
|
||||||
default:
|
default:
|
||||||
$nav_bg = '#' . $accentColor->darken(30);
|
$nav_bg = '#' . $accentColor->darken(30);
|
||||||
|
|
|
@ -188,8 +188,8 @@ $options = [
|
||||||
'$background_repeat' => $background_repeat,
|
'$background_repeat' => $background_repeat,
|
||||||
'$login_bg_image' => $login_bg_image,
|
'$login_bg_image' => $login_bg_image,
|
||||||
'$login_bg_color' => $login_bg_color,
|
'$login_bg_color' => $login_bg_color,
|
||||||
'$font_color_darker' => $font_color_darker ?? '#555',
|
'$font_color_darker' => $font_color_darker ?? '#222',
|
||||||
'$font_color' => $font_color ?? '#777',
|
'$font_color' => $font_color ?? '#444',
|
||||||
];
|
];
|
||||||
|
|
||||||
$css_tpl = file_get_contents('view/theme/frio/css/style.css');
|
$css_tpl = file_get_contents('view/theme/frio/css/style.css');
|
||||||
|
|
Loading…
Reference in a new issue