[gnome-shell/T29763: 8/249] Update default background color for login and lock screens
- From: Matthew Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/T29763: 8/249] Update default background color for login and lock screens
- Date: Thu, 21 May 2020 18:09:47 +0000 (UTC)
commit 86c88d49f017eb793afe5a6cae12843edc1af5d6
Author: Mario Sanchez Prada <mario endlessm com>
Date: Mon Sep 11 17:33:02 2017 +0100
Update default background color for login and lock screens
Use a darker, more blue color to match the new plymouth theme
for startup and shutdown screens.
* 2020-03-26: Remove noise texture
https://phabricator.endlessm.com/T15693
data/theme/gnome-shell-high-contrast.scss | 1 +
data/theme/gnome-shell-sass/_endless.scss | 18 ++++++++++++++++++
data/theme/gnome-shell.scss | 1 +
data/theme/meson.build | 1 +
js/ui/background.js | 2 +-
5 files changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/data/theme/gnome-shell-high-contrast.scss b/data/theme/gnome-shell-high-contrast.scss
index ed52bbb86c..caab587c9e 100644
--- a/data/theme/gnome-shell-high-contrast.scss
+++ b/data/theme/gnome-shell-high-contrast.scss
@@ -4,6 +4,7 @@ $variant: 'dark';
@import "gnome-shell-sass/_drawing";
@import "gnome-shell-sass/_common";
@import "gnome-shell-sass/_widgets";
+@import "gnome-shell-sass/_endless";
//force symbolic icons
stage {
diff --git a/data/theme/gnome-shell-sass/_endless.scss b/data/theme/gnome-shell-sass/_endless.scss
new file mode 100644
index 0000000000..88cda2c0e1
--- /dev/null
+++ b/data/theme/gnome-shell-sass/_endless.scss
@@ -0,0 +1,18 @@
+// Endless-specific overrides and definitions
+//
+// All the definitions here will be processed AFTER _common.scss and other SASS
+// source files, meaning that they will override the relevant rules in the
+// generated CSS files, just as doing it in "raw" CSS would do.
+//
+// However, be aware that overriding here the values of SASS variables defined in
+// those other files won't override the end result for rules already declared in
+// those files as well, which will still be using the original value as they are
+// pre-processed before _endless.css. In those cases, modifying those files directly
+// is probably the best way forward (e.g. modifying _common.css for $font-family)).
+
+
+// Lock screen
+
+#lockDialogGroup {
+ background: #12282e;
+}
diff --git a/data/theme/gnome-shell.scss b/data/theme/gnome-shell.scss
index 8ee499912c..52b276b119 100644
--- a/data/theme/gnome-shell.scss
+++ b/data/theme/gnome-shell.scss
@@ -4,3 +4,4 @@ $variant: 'dark';
@import "gnome-shell-sass/_drawing";
@import "gnome-shell-sass/_common";
@import "gnome-shell-sass/_widgets";
+@import "gnome-shell-sass/_endless";
diff --git a/data/theme/meson.build b/data/theme/meson.build
index b0e08128e1..81becd03a0 100644
--- a/data/theme/meson.build
+++ b/data/theme/meson.build
@@ -4,6 +4,7 @@ theme_sources = files([
'gnome-shell-sass/_colors.scss',
'gnome-shell-sass/_common.scss',
'gnome-shell-sass/_drawing.scss',
+ 'gnome-shell-sass/_endless.scss',
'gnome-shell-sass/_high-contrast-colors.scss',
'gnome-shell-sass/_widgets.scss',
'gnome-shell-sass/widgets/_a11y.scss',
diff --git a/js/ui/background.js b/js/ui/background.js
index ddae0de873..fe188ed320 100644
--- a/js/ui/background.js
+++ b/js/ui/background.js
@@ -101,7 +101,7 @@ const LoginManager = imports.misc.loginManager;
const Main = imports.ui.main;
const Params = imports.misc.params;
-var DEFAULT_BACKGROUND_COLOR = Clutter.Color.from_pixel(0x2e3436ff);
+var DEFAULT_BACKGROUND_COLOR = Clutter.Color.from_pixel(0x12282eff);
const BACKGROUND_SCHEMA = 'org.gnome.desktop.background';
const PRIMARY_COLOR_KEY = 'primary-color';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]