Adwaita: parametric headerbar_fill highlight

This commit is contained in:
Lapo Calamandrei 2014-09-02 20:39:25 +02:00
parent c90d8dafd8
commit c1e831e595

View File

@ -413,9 +413,15 @@
@return linear-gradient(to bottom, lighten($c,4%), $c);
}
@mixin headerbar_fill($c:$bg_color) {
@mixin headerbar_fill($c:$bg_color, $hc:$top_hilight) {
//
// headerbar fill
//
// $c: base color
// $hc: top highlight color
//
background-image: headerbar_gradient($c);
box-shadow: inset 0 -1px mix($borders_color, $c, 30%), // bottom shade
inset 0 1px $top_hilight; // top highlight
inset 0 1px $hc; // top highlight
}