forked from AuroraMiddleware/gtk
Adwaita: parametric headerbar_fill highlight
This commit is contained in:
parent
c90d8dafd8
commit
c1e831e595
@ -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
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user