[libadwaita/wip/exalm/backdrop: 21/24] stylesheet: Adjust devel header bar gradient
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/backdrop: 21/24] stylesheet: Adjust devel header bar gradient
- Date: Sun, 2 May 2021 10:23:36 +0000 (UTC)
commit 5a4a971a41c9284fe1eab8bb4e6fa923ed5e2e4e
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sat May 1 13:49:21 2021 +0500
stylesheet: Adjust devel header bar gradient
Reuse the regular gradient.
src/stylesheet/widgets/_header-bar.scss | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/widgets/_header-bar.scss b/src/stylesheet/widgets/_header-bar.scss
index a181c52..6323e75 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -173,11 +173,11 @@ window.devel {
$c: darken($bg_color, 10%);
$gradient: cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px
no-repeat,
linear-gradient(to right, transparent 65%, transparentize($selected_bg_color, 0.8)),
- linear-gradient(to top, darken($c, 3%), $c 3px, lighten($c, 6%));
+ $_header_bar_gradient;
@if $variant == 'dark' {
$gradient: cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px
no-repeat,
linear-gradient(to right, transparent 65%, transparentize($selected_bg_color, 0.9)),
- linear-gradient(to top, lighten($c, 3%) 3px, lighten($c, 5%));
+ $_header_bar_gradient;
}
background: $bg_color $gradient;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]