body bg mixing instead of a variable

This commit is contained in:
nixa 2016-05-18 13:08:55 +03:00
parent 563c03f7d1
commit de84c1f885
4 changed files with 13 additions and 1 deletions

View file

@ -15,7 +15,7 @@ html, body {
main {
font: 14px/16px $font-family;
color: $default-text;
background-color: $body-bg;
@include body-bg();
&.blur-theme {
@include main-background();
}

View file

@ -115,3 +115,9 @@
color: darken($color, 20);
}
}
@mixin gradient($color-1, $color-2, $color-3) {
background: $color-1;
background: -webkit-linear-gradient(left top, $color-1,$color-2 50%,$color-3);
background: linear-gradient(to right bottom,$color-1,$color-2 50%,$color-3);
}

View file

@ -1,5 +1,8 @@
$default: rgba(#000000, 0.2);
$body-bg: #F0F3F4;
@mixin body-bg() {
background-color: $body-bg;
}
$default-text: #ffffff;
$content-text: $default-text;
$help-text: #eeeeee;

View file

@ -1,5 +1,8 @@
$default: #ffffff;
$body-bg: #F0F3F4;
@mixin body-bg() {
background-color: $body-bg;
}
$default-text: #666666;
$content-text: $default-text;
$help-text: #949494;