Appearance Page: Add icons to time view switcher
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Jakub Steiner
|
||||
SPDX-License-Identifier: CC0-1.0
|
||||
-->
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ns0="http://www.w3.org/2000/svg" xmlns:ns1="https://www.gtk.org/grappa" xmlns:ns3="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" ns1:rendering="symbolic" ns1:version="1" ns1:state-names="outline empty" ns1:state="outline" viewBox="0 0 16 16" preserveAspectRatio="xMidYMid meet" gpa:state="outline" ns0:state="outline" xmlns="http://www.w3.org/2000/svg">
|
||||
<title>sun</title>
|
||||
<path id="path0" class="transparent-fill foreground-stroke foreground-stroke" fill="none" stroke="rgb(0,0,0)" stroke-width="1.400" stroke-linecap="round" stroke-linejoin="round" d="M 14 8 L 15 8 M 12.28 3.71 L 13 3.01 M 8 2 L 8 1 M 3.72 3.71 L 3 3 M 1 8 L 2 8 M 3 12.99 L 3.72 12.28 M 8 15 L 8 14 M 13 13 L 12.28 12.28" ns1:states="outline" data-stroke-mid="2.0" data-stroke-min="1.0" data-stroke-max="3.0"></path>
|
||||
<path id="path1" class="transparent-fill foreground-stroke foreground-stroke" fill="none" stroke="rgb(0,0,0)" stroke-width="1.317" stroke-linecap="round" stroke-linejoin="round" d="M 6 6 C 4.89543 7.10457, 4.89543 8.89543, 6 10 C 7.10457 11.1046, 8.89543 11.1046, 10 10 C 11.1046 8.89543, 11.1046 7.10457, 10 6 C 8.89543 4.89543, 7.10457 4.89543, 6 6 Z" ns1:states="outline" data-stroke-mid="1.88168" data-stroke-min="0.94084" data-stroke-max="2.82252"></path>
|
||||
<metadata>
|
||||
<rdf:rdf>
|
||||
<work>
|
||||
<license rdf:resource="https://creativecommons.org/publicdomain/zero/1.0/"/>
|
||||
<dc:creator>
|
||||
<agent>
|
||||
<dc:title>Jakub Steiner</dc:title>
|
||||
</agent>
|
||||
</dc:creator>
|
||||
<dc:subject>
|
||||
<rdf:bag>
|
||||
<rdf:li>display-brightness lightness light sun weather-clear</rdf:li>
|
||||
</rdf:bag>
|
||||
</dc:subject>
|
||||
</work>
|
||||
</rdf:rdf>
|
||||
</metadata>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Jakub Steiner
|
||||
SPDX-License-Identifier: CC0-1.0
|
||||
-->
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ns0="http://www.w3.org/2000/svg" xmlns:ns1="https://www.gtk.org/grappa" xmlns:ns3="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" ns1:rendering="symbolic" ns1:version="1" ns1:state="outline" ns1:state-names="outline empty" viewBox="0 0 16 16" preserveAspectRatio="xMidYMid meet" gpa:state="outline" ns0:state="outline" xmlns="http://www.w3.org/2000/svg">
|
||||
<title>moon</title>
|
||||
<path d="M 13.9575968 8.66983986 C 12.7841835 9.88485241, 11.0420656 10.3641596, 9.41227245 9.92039013 C 7.78247976 9.47662067, 6.5238533 8.18025303, 6.12841702 6.53806448 C 5.73298073 4.89587593, 6.26353741 3.16867614, 7.51268053 2.03166437 M 13.968976 8.60936165 C 13.6472588 11.7607346, 10.9311228 14.1190825, 7.76578522 13.9954271 C 4.60044765 13.8717718, 2.07656956 11.3087196, 2.00167704 8.14185333 C 1.92678428 4.97498655, 4.32668304 2.29549336, 7.48263693 2.02234697" id="moon" stroke-width="1.100" stroke-linecap="round" stroke-linejoin="round" stroke="rgb(0,0,0)" fill="none" class="foreground-stroke transparent-fill foreground-stroke" ns1:states="outline" ns1:stroke-minwidth="25%" ns1:stroke-maxwidth="150%" data-stroke-mid="2.0" data-stroke-min="0.5" data-stroke-max="3.0"></path>
|
||||
<metadata>
|
||||
<rdf:rdf>
|
||||
<work>
|
||||
<license rdf:resource="https://creativecommons.org/publicdomain/zero/1.0/"/>
|
||||
<dc:subject>
|
||||
<rdf:bag>
|
||||
<rdf:li>moon weather-clear-night</rdf:li>
|
||||
</rdf:bag>
|
||||
</dc:subject>
|
||||
<dc:creator>
|
||||
<agent>
|
||||
<dc:title>Jakub Steiner</dc:title>
|
||||
</agent>
|
||||
</dc:creator>
|
||||
</work>
|
||||
</rdf:rdf>
|
||||
</metadata>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -13,6 +13,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-appearance-symbolic.svg">icons/appearance-symbolic.svg</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-commands-symbolic.svg">icons/commands-symbolic.svg</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-contribute-symbolic.svg">icons/contribute-symbolic.svg</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-day-symbolic.svg">icons/day-symbolic.svg</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-night-symbolic.svg">icons/night-symbolic.svg</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-tweaks-symbolic.svg">icons/tweaks-symbolic.svg</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">ui/AppearanceChooser.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">ui/AppearancePage.ui</file>
|
||||
|
||||
@@ -17,6 +17,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
<child>
|
||||
<object class="AdwInlineViewSwitcher">
|
||||
<property name="stack">stack</property>
|
||||
<property name="display-mode">both</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
@@ -26,6 +27,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
<object class="AdwViewStackPage">
|
||||
<property name="name">day</property>
|
||||
<property name="title" translatable="yes">Day</property>
|
||||
<property name="icon-name">nightthemeswitcher-day-symbolic</property>
|
||||
<property name="child">
|
||||
<object class="AppearanceChooser" id="day_appearance_chooser">
|
||||
<property name="color-scheme">default</property>
|
||||
@@ -37,6 +39,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
<object class="AdwViewStackPage">
|
||||
<property name="name">night</property>
|
||||
<property name="title" translatable="yes">Night</property>
|
||||
<property name="icon-name">nightthemeswitcher-night-symbolic</property>
|
||||
<property name="child">
|
||||
<object class="AppearanceChooser" id="night_appearance_chooser">
|
||||
<property name="color-scheme">prefer-dark</property>
|
||||
|
||||
Reference in New Issue
Block a user