[gnome-shell-sass] styling: Update for darker system grey
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] styling: Update for darker system grey
- Date: Mon, 15 Mar 2021 15:26:49 +0000 (UTC)
commit 2603c2b9832d3a98942768296f9fae988f5547a1
Author: Jakub Steiner <jimmac gmail com>
Date: Tue Mar 9 20:22:37 2021 +0100
styling: Update for darker system grey
- darken buttons similarly to the app grid groups
- entries as well
- adjust foreground color of additional elements to
work for 'light' variant as well
Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3847
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1748>
widgets/_login-dialog.scss | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/widgets/_login-dialog.scss b/widgets/_login-dialog.scss
index 78d2a2a..d6608fc 100644
--- a/widgets/_login-dialog.scss
+++ b/widgets/_login-dialog.scss
@@ -11,13 +11,13 @@
border: none;
background-color: transparent;
- $_gdm_bg: lighten(#2e3436, 19%);
+ $_gdm_bg: $system_bg_color;
StEntry {
@if $variant=='dark' {
- $_gdm_entry_bg: transparentize(lighten(desaturate(#241f31, 20%), 2%), 0.5);
+ $_gdm_entry_bg: darken($system_bg_color, 3%);
background-color: $_gdm_entry_bg;
- color: $osd_fg_color;
+ color: $fg_color;
}
}
@@ -25,9 +25,9 @@
.modal-dialog-button {
padding: 4px 18px;
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
- background-color: $_gdm_bg;
- border-color: $_gdm_bg;
- color: $fg_color;
+ background-color: darken($system_bg_color, 3%);
+ border-color: darken($system_bg_color, 3%);
+ color: $osd_fg_color;
$_hover_c: lighten($_gdm_bg, 5%);
&:hover, &:focus {
@@ -44,7 +44,7 @@
@include button(insensitive);
border-color: darken($_gdm_bg, 5%);
background-color: darken($_gdm_bg, 5%);
- color: transparentize($fg_color, 0.3);
+ color: transparentize($osd_fg_color, 0.3);
}
&:default {
@include button(normal, $c:$selected_bg_color, $tc:$selected_fg_color);
@@ -77,8 +77,8 @@
border-radius: 99px;
width: $base_icon_size * 2;
height: $base_icon_size * 2;
- border-color: transparentize($bg_color,0.7);
- background-color: transparentize($bg_color,0.7);
+ border-color: darken($system_bg_color, 3%);
+ background-color: darken($system_bg_color, 3%);
StIcon { icon-size: $base_icon_size; }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]