Add icon and name in contribute page

This commit is contained in:
Romain Vigier
2022-02-18 13:24:24 +01:00
parent 35710d13bd
commit f1b39ba692
2 changed files with 36 additions and 0 deletions
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: 2021 Romain Vigier <contact AT romainvigier.fr>
SPDX-License-Identifier: CC-BY-SA-4.0
-->
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32">
<path d="M4 0C1.784 0 0 1.784 0 4v28h32V4c0-2.216-1.784-4-4-4zm22.951 3A2 2 0 0127 3a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 011.951-2zM3 10h26v19H3z"/>
<path d="M13.643 13.734c-2.433 1.306-3.81 4.261-3.244 6.964.488 2.74 2.906 4.98 5.676 5.257 2.09.255 4.271-.581 5.652-2.17-2.73.504-5.667-.963-6.904-3.448-1.242-2.328-.863-5.383.91-7.337a6.547 6.547 0 00-2.09.734z"/>
</svg>

After

Width:  |  Height:  |  Size: 607 B

+27
View File
@@ -8,6 +8,33 @@ SPDX-License-Identifier: GPL-3.0-or-later
<property name="name">contribute</property>
<property name="title" translatable="yes">Contribute</property>
<property name="icon-name">nightthemeswitcher-contribute-symbolic</property>
<child>
<object class="AdwPreferencesGroup">
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="margin-top">24</property>
<property name="margin-bottom">24</property>
<property name="spacing">18</property>
<child>
<object class="GtkImage">
<property name="icon-name">nightthemeswitcher-symbolic</property>
<property name="pixel-size">64</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label">Night Theme Switcher</property>
<property name="wrap">True</property>
<style>
<class name="title-1"/>
</style>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<child>