Start redesign

This commit is contained in:
Satyajit Sahoo
2015-05-31 21:50:35 +05:30
parent 7bdd234dd9
commit 3b736963fb
122 changed files with 538 additions and 397 deletions
+10 -2
View File
@@ -17,7 +17,15 @@ $modules: () !default;
}
@function shade($color, $amount) {
@return unquote("shade(#{$color},#{$amount})");
@if type-of($color) == "color" {
@if ($amount > 1) {
@return lighten($color, ($amount - 1) * lightness($color))
} @else {
@return darken($color, (1 - $amount) * lightness($color))
}
} @else {
@return unquote("shade(#{$color},#{$amount})");
}
}
@function mix($color1, $color2, $amount) {
@@ -37,7 +45,7 @@ $modules: () !default;
}
@function border_insensitive($color) {
@return shade($color, ($contrast + .1));
@return shade($color, ($contrast + .05));
}
@mixin linear-gradient($color, $direction: to bottom) {