forked from mirrors/thatmattlove-hyperglass
improve footer layout
This commit is contained in:
parent
7fd5c45ca1
commit
27bf5b2d1c
1 changed files with 10 additions and 1 deletions
|
|
@ -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)
|
||||
Loading…
Add table
Reference in a new issue