[libadwaita/wip/exalm/revert-headers: 3/3] stylesheet: Use darker headerbar for focused windows
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/revert-headers: 3/3] stylesheet: Use darker headerbar for focused windows
- Date: Thu, 24 Jun 2021 18:04:06 +0000 (UTC)
commit 9119565063b864eb4b518c2daa2365b61e375b3d
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Jun 24 22:59:30 2021 +0500
stylesheet: Use darker headerbar for focused windows
Revert the the previous style for now, the new one clearly needs more
thought.
src/stylesheet/_colors.scss | 2 +-
src/stylesheet/widgets/_header-bar.scss | 2 +-
src/stylesheet/widgets/_tab-view.scss | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/stylesheet/_colors.scss b/src/stylesheet/_colors.scss
index 3b5fb7dc..e7a59b46 100644
--- a/src/stylesheet/_colors.scss
+++ b/src/stylesheet/_colors.scss
@@ -29,7 +29,7 @@ $borders_edge: if($variant == 'light', transparentize(white, 0.2), transparentiz
$link_color: $accent_color;
$link_visited_color: gtkmix($accent_color, $text_color, 80%);
$dark_fill: mix($borders_color, $bg_color, 50%);
-$headerbar_bg_color: $bg_color;
+$headerbar_bg_color: darken($bg_color, if($variant == 'dark', 5%, 10%));
$menu_color: $base_color;
$view_hover_color: gtkalpha(currentColor, .07);
diff --git a/src/stylesheet/widgets/_header-bar.scss b/src/stylesheet/widgets/_header-bar.scss
index 7ad8caea..4ff5990e 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -16,7 +16,7 @@ headerbar {
}
&:backdrop {
- background-color: $headerbar_bg_color;
+ background-color: $bg_color;
transition: $backdrop_transition;
diff --git a/src/stylesheet/widgets/_tab-view.scss b/src/stylesheet/widgets/_tab-view.scss
index 15d6420a..dd4fe98f 100644
--- a/src/stylesheet/widgets/_tab-view.scss
+++ b/src/stylesheet/widgets/_tab-view.scss
@@ -1,4 +1,4 @@
-$tab_bg: darken($headerbar_bg_color, 6%);
+$tab_bg: $headerbar_bg_color;
@mixin undershoot-gradient($dir) {
@if $variant == 'dark' {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]