[gnome-panel] theme: add wnck-pager style for Yaru
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] theme: add wnck-pager style for Yaru
- Date: Thu, 2 Jan 2020 11:18:15 +0000 (UTC)
commit aee2b0dd4e7eb587489da46d44c961a922255fcf
Author: Dmitry Shachnev <mitya57 gmail com>
Date: Thu Jan 2 14:03:39 2020 +0300
theme: add wnck-pager style for Yaru
configure.ac | 1 +
data/theme/Makefile.am | 1 +
data/theme/Yaru/Makefile.am | 7 +++++++
data/theme/Yaru/gnome-panel.css | 5 +++++
gnome-panel/gp-application.c | 3 +++
gnome-panel/panel.gresource.xml | 1 +
6 files changed, 18 insertions(+)
---
diff --git a/configure.ac b/configure.ac
index f938a8db6..9c4b395c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -278,6 +278,7 @@ AC_CONFIG_FILES([
data/theme/Makefile
data/theme/Adwaita/Makefile
data/theme/HighContrast/Makefile
+ data/theme/Yaru/Makefile
gnome-panel/Makefile
gnome-panel/libpanel-applet-private/Makefile
diff --git a/data/theme/Makefile.am b/data/theme/Makefile.am
index 6acf8213d..ca0c59acb 100644
--- a/data/theme/Makefile.am
+++ b/data/theme/Makefile.am
@@ -3,6 +3,7 @@ NULL =
SUBDIRS = \
Adwaita \
HighContrast \
+ Yaru \
$(NULL)
EXTRA_DIST = \
diff --git a/data/theme/Yaru/Makefile.am b/data/theme/Yaru/Makefile.am
new file mode 100644
index 000000000..2adc114c4
--- /dev/null
+++ b/data/theme/Yaru/Makefile.am
@@ -0,0 +1,7 @@
+NULL =
+
+EXTRA_DIST = \
+ gnome-panel.css \
+ $(NULL)
+
+-include $(top_srcdir)/git.mk
diff --git a/data/theme/Yaru/gnome-panel.css b/data/theme/Yaru/gnome-panel.css
new file mode 100644
index 000000000..22cb14041
--- /dev/null
+++ b/data/theme/Yaru/gnome-panel.css
@@ -0,0 +1,5 @@
+@import url("resource:///org/gnome/gnome-panel/theme/common.css");
+
+wnck-pager:selected {
+ background-color: @theme_selected_bg_color;
+}
diff --git a/gnome-panel/gp-application.c b/gnome-panel/gp-application.c
index 3982fa291..457a27aca 100644
--- a/gnome-panel/gp-application.c
+++ b/gnome-panel/gp-application.c
@@ -50,6 +50,9 @@ static GpSupportedTheme supported_themes[] =
{ "Adwaita-dark", "Adwaita", "dark", FALSE },
{ "HighContrast", "HighContrast", NULL, FALSE },
{ "HighContrastInverse", "HighContrast", "inverse", FALSE },
+ { "Yaru", "Yaru", NULL, FALSE },
+ { "Yaru-light", "Yaru", NULL, FALSE },
+ { "Yaru-dark", "Yaru", NULL, FALSE },
{ NULL, NULL, FALSE, FALSE }
};
diff --git a/gnome-panel/panel.gresource.xml b/gnome-panel/panel.gresource.xml
index 9e2525361..9f02f6598 100644
--- a/gnome-panel/panel.gresource.xml
+++ b/gnome-panel/panel.gresource.xml
@@ -5,6 +5,7 @@
<file alias="Adwaita/gnome-panel-dark.css">../data/theme/Adwaita/gnome-panel-dark.css</file>
<file alias="HighContrast/gnome-panel.css">../data/theme/HighContrast/gnome-panel.css</file>
<file
alias="HighContrast/gnome-panel-inverse.css">../data/theme/HighContrast/gnome-panel-inverse.css</file>
+ <file alias="Yaru/gnome-panel.css">../data/theme/Yaru/gnome-panel.css</file>
<file alias="common.css">../data/theme/common.css</file>
<file alias="fallback.css">../data/theme/fallback.css</file>
</gresource>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]