1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

improve footer layout

This commit is contained in:
checktheroads
2019-08-20 10:20:03 -07:00
parent 7fd5c45ca1
commit 27bf5b2d1c

View File

@@ -19,12 +19,21 @@ $hg-warning: {{ colors.warning }}
@else
@return $hg-dark
@function findFooterColor($color)
@if (lightness($color) > 55%)
$darker-color: scale-color($hg-light, $lightness: -3%)
@return grayscale($darker-color)
@else
$darker-color: scale-color($hg-dark, $lightness: -3%)
@return grayscale($darker-color)
// App variables
$hg-loading: findAltBackgroundColor($hg-background)
$hg-footer: findFooterColor($hg-background)
// Theme Overrides
$enable-responsive-font-sizes: true
$theme-colors: ("primary": $hg-primary, "danger": $hg-danger, "warning": $hg-warning, "light": $hg-light, "dark": $hg-dark, "loading": $hg-loading)
$theme-colors: ("primary": $hg-primary, "danger": $hg-danger, "warning": $hg-warning, "light": $hg-light, "dark": $hg-dark, "loading": $hg-loading, "footer": $hg-footer)
$body-bg: $hg-background
$body-color: findTextColor($body-bg)