[gnome-boxes/welcome-tutorial-fixups: 5/6] welcome-tutorial: Use our own CSS class for the text
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/welcome-tutorial-fixups: 5/6] welcome-tutorial: Use our own CSS class for the text
- Date: Wed, 15 Jan 2020 15:53:44 +0000 (UTC)
commit b9fad8c4b70e6d0d3955aed5e7ff2cbfdb02b1c3
Author: Felipe Borges <felipeborges gnome org>
Date: Wed Jan 15 16:35:58 2020 +0100
welcome-tutorial: Use our own CSS class for the text
data/gtk-style.css | 4 ++++
data/ui/welcome-tutorial-page.ui | 6 ++++--
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index 7e4162ce..ae24b066 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -133,3 +133,7 @@ separator {
background-size: 60%;
background-position: center 15%;
}
+
+.welcome-tutorial-title-label, .welcome-tutorial-description-label {
+ color: white;
+}
diff --git a/data/ui/welcome-tutorial-page.ui b/data/ui/welcome-tutorial-page.ui
index b4213942..eaa7b51d 100644
--- a/data/ui/welcome-tutorial-page.ui
+++ b/data/ui/welcome-tutorial-page.ui
@@ -13,9 +13,11 @@
<object class="GtkLabel" id="title_label">
<property name="visible">True</property>
<property name="margin-top">330</property>
+ <style>
+ <class name="welcome-tutorial-title-label"/>
+ </style>
<attributes>
<attribute name="scale" value="1.8"/>
- <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
</child>
@@ -28,7 +30,7 @@
<property name="justify">center</property>
<property name="halign">center</property>
<style>
- <class name="dim-label"/>
+ <class name="welcome-tutorial-description-label"/>
</style>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]