Skip to content

Commit 173730b

Browse files
authored
Code Quality: Added missing "LayerSize="16" to icons (#15929)
1 parent f1d348a commit 173730b

14 files changed

+1599
-401
lines changed

src/Files.App.Controls/ThemedIcon/Styles/Icons.Action.xaml

Lines changed: 92 additions & 23 deletions
Large diffs are not rendered by default.

src/Files.App.Controls/ThemedIcon/Styles/Icons.Common.xaml

Lines changed: 338 additions & 82 deletions
Large diffs are not rendered by default.

src/Files.App.Controls/ThemedIcon/Styles/Icons.Favorite.xaml

Lines changed: 49 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,14 @@
1818
<Setter Property="Layers">
1919
<Setter.Value>
2020
<local:ThemedIconLayers>
21-
<local:ThemedIconLayer LayerType="Alt" PathData="m8.45,1.22c-.18-.37-.71-.37-.9,0l-2.03,4.12-4.54.66c-.41.06-.57.56-.28.85l3.29,3.2-.78,4.52c-.07.41.36.72.73.53l4.06-2.14,4.06,2.14c.37.19.8-.12.73-.53l-.78-4.52,3.29-3.2c.3-.29.13-.79-.28-.85l-4.41-.64-.13-.02-2.03-4.11Z" />
22-
<local:ThemedIconLayer LayerType="Base" PathData="m7.1.9c.37-.74,1.43-.74,1.79,0l1.93,3.91,4.32.63c.82.12,1.15,1.13.55,1.71l-3.12,3.04.74,4.3c.14.82-.72,1.44-1.45,1.05l-3.86-2.03-3.86,2.03c-.73.39-1.59-.24-1.45-1.05l.74-4.3L.3,7.14c-.59-.58-.27-1.59.55-1.71l4.32-.63,1.93-3.91Zm.9.44l-1.93,3.91c-.15.3-.43.5-.75.55l-4.32.63,3.12,3.04c.24.23.34.56.29.89l-.74,4.3,3.86-2.03c.29-.15.64-.15.93,0l3.86,2.03-.74-4.3c-.06-.32.05-.66.29-.89l3.12-3.04-4.32-.63c-.33-.05-.61-.25-.75-.55l-1.93-3.91Z" />
21+
<local:ThemedIconLayer
22+
LayerSize="16"
23+
LayerType="Alt"
24+
PathData="m8.45,1.22c-.18-.37-.71-.37-.9,0l-2.03,4.12-4.54.66c-.41.06-.57.56-.28.85l3.29,3.2-.78,4.52c-.07.41.36.72.73.53l4.06-2.14,4.06,2.14c.37.19.8-.12.73-.53l-.78-4.52,3.29-3.2c.3-.29.13-.79-.28-.85l-4.41-.64-.13-.02-2.03-4.11Z" />
25+
<local:ThemedIconLayer
26+
LayerSize="16"
27+
LayerType="Base"
28+
PathData="m7.1.9c.37-.74,1.43-.74,1.79,0l1.93,3.91,4.32.63c.82.12,1.15,1.13.55,1.71l-3.12,3.04.74,4.3c.14.82-.72,1.44-1.45,1.05l-3.86-2.03-3.86,2.03c-.73.39-1.59-.24-1.45-1.05l.74-4.3L.3,7.14c-.59-.58-.27-1.59.55-1.71l4.32-.63,1.93-3.91Zm.9.44l-1.93,3.91c-.15.3-.43.5-.75.55l-4.32.63,3.12,3.04c.24.23.34.56.29.89l-.74,4.3,3.86-2.03c.29-.15.64-.15.93,0l3.86,2.03-.74-4.3c-.06-.32.05-.66.29-.89l3.12-3.04-4.32-.63c-.33-.05-.61-.25-.75-.55l-1.93-3.91Z" />
2329
</local:ThemedIconLayers>
2430
</Setter.Value>
2531
</Setter>
@@ -40,10 +46,22 @@
4046
<Setter Property="Layers">
4147
<Setter.Value>
4248
<local:ThemedIconLayers>
43-
<local:ThemedIconLayer LayerType="Alt" PathData="m7.55,1.22c.18-.37.71-.37.9,0l2.03,4.11.13.02,4.41.64c.41.06.57.56.28.85l-.36.35c-.97-.78-2.18-1.2-3.44-1.2-1.46,0-2.86.58-3.89,1.61s-1.61,2.43-1.61,3.89c0,.79.17,1.56.49,2.26l-2.55,1.34c-.37.19-.8-.12-.73-.53l.78-4.52L.7,6.85c-.3-.29-.13-.79.28-.85l4.54-.66L7.55,1.22Z" />
44-
<local:ThemedIconLayer LayerType="Base" PathData="m8.9.9c-.37-.74-1.43-.74-1.79,0l-1.93,3.91-4.32.63c-.82.12-1.15,1.13-.55,1.71l3.12,3.04-.74,4.3c-.14.82.72,1.44,1.45,1.05l2.56-1.35c-.16-.29-.3-.6-.41-.91l-2.62,1.38.74-4.3c.06-.32-.05-.66-.29-.89l-3.12-3.04,4.32-.63c.33-.05.61-.25.75-.55l1.93-3.91,1.93,3.91c.15.3.43.5.75.55l4.32.63-.49.47c.28.18.54.39.79.63l.4-.39c.59-.58.27-1.59-.55-1.71l-4.32-.63-1.93-3.91Z" />
45-
<local:ThemedIconLayer LayerType="Accent" PathData="m16,11.5c0,1.19-.47,2.34-1.32,3.18s-1.99,1.32-3.18,1.32-2.34-.47-3.18-1.32c-.84-.84-1.32-1.99-1.32-3.18s.47-2.34,1.32-3.18c.84-.84,1.99-1.32,3.18-1.32s2.34.47,3.18,1.32c.84.84,1.32,1.99,1.32,3.18Z" />
46-
<local:ThemedIconLayer LayerType="AccentContrast" PathData="m11.5,9c.13,0,.26.05.35.15.09.09.15.22.15.35v1.5h1.5c.13,0,.26.05.35.15.09.09.15.22.15.35s-.05.26-.15.35c-.09.09-.22.15-.35.15h-1.5v1.5c0,.13-.05.26-.15.35-.09.09-.22.15-.35.15s-.26-.05-.35-.15c-.09-.09-.15-.22-.15-.35v-1.5h-1.5c-.13,0-.26-.05-.35-.15-.09-.09-.15-.22-.15-.35s.05-.26.15-.35c.09-.09.22-.15.35-.15h1.5v-1.5c0-.13.05-.26.15-.35.09-.09.22-.15.35-.15Z" />
49+
<local:ThemedIconLayer
50+
LayerSize="16"
51+
LayerType="Alt"
52+
PathData="m7.55,1.22c.18-.37.71-.37.9,0l2.03,4.11.13.02,4.41.64c.41.06.57.56.28.85l-.36.35c-.97-.78-2.18-1.2-3.44-1.2-1.46,0-2.86.58-3.89,1.61s-1.61,2.43-1.61,3.89c0,.79.17,1.56.49,2.26l-2.55,1.34c-.37.19-.8-.12-.73-.53l.78-4.52L.7,6.85c-.3-.29-.13-.79.28-.85l4.54-.66L7.55,1.22Z" />
53+
<local:ThemedIconLayer
54+
LayerSize="16"
55+
LayerType="Base"
56+
PathData="m8.9.9c-.37-.74-1.43-.74-1.79,0l-1.93,3.91-4.32.63c-.82.12-1.15,1.13-.55,1.71l3.12,3.04-.74,4.3c-.14.82.72,1.44,1.45,1.05l2.56-1.35c-.16-.29-.3-.6-.41-.91l-2.62,1.38.74-4.3c.06-.32-.05-.66-.29-.89l-3.12-3.04,4.32-.63c.33-.05.61-.25.75-.55l1.93-3.91,1.93,3.91c.15.3.43.5.75.55l4.32.63-.49.47c.28.18.54.39.79.63l.4-.39c.59-.58.27-1.59-.55-1.71l-4.32-.63-1.93-3.91Z" />
57+
<local:ThemedIconLayer
58+
LayerSize="16"
59+
LayerType="Accent"
60+
PathData="m16,11.5c0,1.19-.47,2.34-1.32,3.18s-1.99,1.32-3.18,1.32-2.34-.47-3.18-1.32c-.84-.84-1.32-1.99-1.32-3.18s.47-2.34,1.32-3.18c.84-.84,1.99-1.32,3.18-1.32s2.34.47,3.18,1.32c.84.84,1.32,1.99,1.32,3.18Z" />
61+
<local:ThemedIconLayer
62+
LayerSize="16"
63+
LayerType="AccentContrast"
64+
PathData="m11.5,9c.13,0,.26.05.35.15.09.09.15.22.15.35v1.5h1.5c.13,0,.26.05.35.15.09.09.15.22.15.35s-.05.26-.15.35c-.09.09-.22.15-.35.15h-1.5v1.5c0,.13-.05.26-.15.35-.09.09-.22.15-.35.15s-.26-.05-.35-.15c-.09-.09-.15-.22-.15-.35v-1.5h-1.5c-.13,0-.26-.05-.35-.15-.09-.09-.15-.22-.15-.35s.05-.26.15-.35c.09-.09.22-.15.35-.15h1.5v-1.5c0-.13.05-.26.15-.35.09-.09.22-.15.35-.15Z" />
4765
</local:ThemedIconLayers>
4866
</Setter.Value>
4967
</Setter>
@@ -64,9 +82,18 @@
6482
<Setter Property="Layers">
6583
<Setter.Value>
6684
<local:ThemedIconLayers>
67-
<local:ThemedIconLayer LayerType="Alt" PathData="m7.55,1.22c.18-.37.71-.37.9,0l2.03,4.11.13.02,4.41.64c.41.06.57.56.28.85l-.94.92-.04-.04c-1.21-1.21-3.26-.87-4.02.67l-.8,1.65-1.1.38c-1.23.42-1.69,1.85-1.08,2.89l-3.38,1.78c-.37.19-.8-.12-.73-.53l.78-4.52L.7,6.85c-.3-.29-.13-.79.28-.85l4.54-.66L7.55,1.22Z" />
68-
<local:ThemedIconLayer LayerType="Base" PathData="m8.9.9c-.37-.74-1.43-.74-1.79,0l-1.93,3.91-4.32.63c-.82.12-1.15,1.13-.55,1.71l3.12,3.04-.74,4.3c-.14.82.72,1.44,1.45,1.05l3.47-1.83c-.25-.26-.41-.56-.5-.87l-3.44,1.81.74-4.3c.06-.32-.05-.66-.29-.89l-3.12-3.04,4.32-.63c.33-.05.61-.25.75-.55l1.93-3.91,1.93,3.91c.15.3.43.5.75.55l4.32.63-1.04,1.01c.12.09.24.18.35.3l.38.38,1-.97c.59-.58.27-1.59-.55-1.71l-4.32-.63-1.93-3.91Z" />
69-
<local:ThemedIconLayer LayerType="Accent" PathData="m15.54,10.37l-1.93-1.93c-.73-.73-1.96-.52-2.41.4l-.8,1.65c-.12.24-.32.42-.57.51l-1.1.38c-.7.24-.9,1.13-.38,1.65l.95.95-1.29,1.29v.71h.71l1.29-1.29.95.95c.52.52,1.41.32,1.65-.38l.38-1.1c.09-.25.27-.46.51-.57l1.65-.8c.93-.45,1.13-1.68.4-2.41Z" />
85+
<local:ThemedIconLayer
86+
LayerSize="16"
87+
LayerType="Alt"
88+
PathData="m7.55,1.22c.18-.37.71-.37.9,0l2.03,4.11.13.02,4.41.64c.41.06.57.56.28.85l-.94.92-.04-.04c-1.21-1.21-3.26-.87-4.02.67l-.8,1.65-1.1.38c-1.23.42-1.69,1.85-1.08,2.89l-3.38,1.78c-.37.19-.8-.12-.73-.53l.78-4.52L.7,6.85c-.3-.29-.13-.79.28-.85l4.54-.66L7.55,1.22Z" />
89+
<local:ThemedIconLayer
90+
LayerSize="16"
91+
LayerType="Base"
92+
PathData="m8.9.9c-.37-.74-1.43-.74-1.79,0l-1.93,3.91-4.32.63c-.82.12-1.15,1.13-.55,1.71l3.12,3.04-.74,4.3c-.14.82.72,1.44,1.45,1.05l3.47-1.83c-.25-.26-.41-.56-.5-.87l-3.44,1.81.74-4.3c.06-.32-.05-.66-.29-.89l-3.12-3.04,4.32-.63c.33-.05.61-.25.75-.55l1.93-3.91,1.93,3.91c.15.3.43.5.75.55l4.32.63-1.04,1.01c.12.09.24.18.35.3l.38.38,1-.97c.59-.58.27-1.59-.55-1.71l-4.32-.63-1.93-3.91Z" />
93+
<local:ThemedIconLayer
94+
LayerSize="16"
95+
LayerType="Accent"
96+
PathData="m15.54,10.37l-1.93-1.93c-.73-.73-1.96-.52-2.41.4l-.8,1.65c-.12.24-.32.42-.57.51l-1.1.38c-.7.24-.9,1.13-.38,1.65l.95.95-1.29,1.29v.71h.71l1.29-1.29.95.95c.52.52,1.41.32,1.65-.38l.38-1.1c.09-.25.27-.46.51-.57l1.65-.8c.93-.45,1.13-1.68.4-2.41Z" />
7097
</local:ThemedIconLayers>
7198
</Setter.Value>
7299
</Setter>
@@ -87,13 +114,23 @@
87114
<Setter Property="Layers">
88115
<Setter.Value>
89116
<local:ThemedIconLayers>
90-
<local:ThemedIconLayer LayerType="Alt" PathData="m.98,6c-.41.06-.57.56-.28.85l3.29,3.2-.78,4.52c-.07.41.36.72.73.53l3.38-1.78c-.61-1.05-.15-2.47,1.08-2.89l1.1-.38.18-.37-4.32-4.32-4.38.64Zm14.04,0l-4.41-.64-.13-.02-2.03-4.11c-.18-.37-.71-.37-.9,0l-1.39,2.82,4.22,4.22c.81-1.42,2.76-1.7,3.94-.53l.04.04.94-.92c.3-.29.13-.79-.28-.85Z" />
91117
<local:ThemedIconLayer
118+
LayerSize="16"
119+
LayerType="Alt"
120+
PathData="m.98,6c-.41.06-.57.56-.28.85l3.29,3.2-.78,4.52c-.07.41.36.72.73.53l3.38-1.78c-.61-1.05-.15-2.47,1.08-2.89l1.1-.38.18-.37-4.32-4.32-4.38.64Zm14.04,0l-4.41-.64-.13-.02-2.03-4.11c-.18-.37-.71-.37-.9,0l-1.39,2.82,4.22,4.22c.81-1.42,2.76-1.7,3.94-.53l.04.04.94-.92c.3-.29.13-.79-.28-.85Z" />
121+
<local:ThemedIconLayer
122+
LayerSize="16"
92123
LayerType="Base"
93124
Opacity="0.4"
94125
PathData="m10.4,10.49c-.12.24-.32.42-.57.51l-1.1.38c-.7.24-.9,1.13-.38,1.65l.95.95-1.29,1.29v.71h.71l1.29-1.29.95.95c.52.52,1.41.32,1.65-.38l.38-1.1c.09-.25.27-.46.51-.57l.06-.03-3.12-3.12-.03.06Zm5.14-.12l-1.93-1.93c-.73-.73-1.96-.52-2.41.4l-.08.16,3.85,3.85.16-.08c.93-.45,1.13-1.68.4-2.41Z" />
95-
<local:ThemedIconLayer LayerType="Base" PathData="m3.67,14.65l.74-4.3c.06-.32-.05-.66-.29-.89l-3.12-3.04,4.32-.63c.13-.02.25-.06.36-.12l-.82-.82-4,.58c-.82.12-1.15,1.13-.55,1.71l3.12,3.04-.74,4.3c-.14.82.72,1.44,1.45,1.05l3.47-1.83c-.25-.26-.41-.56-.5-.87l-3.44,1.81ZM15.14,5.44l-4.32-.63-1.93-3.91c-.37-.74-1.43-.74-1.79,0l-1.35,2.74.75.75,1.5-3.04,1.93,3.91c.15.3.43.5.75.55l4.32.63-1.04,1.01c.12.09.24.18.35.3l.38.38,1-.97c.59-.58.27-1.59-.55-1.71Z" />
96-
<local:ThemedIconLayer LayerType="Accent" PathData="m.15.15C.34-.05.66-.05.85.15l15,15c.2.2.2.51,0,.71-.2.2-.51.2-.71,0C7.12,7.82,3.98,4.68.15.85-.05.66-.05.34.15.15Z" />
126+
<local:ThemedIconLayer
127+
LayerSize="16"
128+
LayerType="Base"
129+
PathData="m3.67,14.65l.74-4.3c.06-.32-.05-.66-.29-.89l-3.12-3.04,4.32-.63c.13-.02.25-.06.36-.12l-.82-.82-4,.58c-.82.12-1.15,1.13-.55,1.71l3.12,3.04-.74,4.3c-.14.82.72,1.44,1.45,1.05l3.47-1.83c-.25-.26-.41-.56-.5-.87l-3.44,1.81ZM15.14,5.44l-4.32-.63-1.93-3.91c-.37-.74-1.43-.74-1.79,0l-1.35,2.74.75.75,1.5-3.04,1.93,3.91c.15.3.43.5.75.55l4.32.63-1.04,1.01c.12.09.24.18.35.3l.38.38,1-.97c.59-.58.27-1.59-.55-1.71Z" />
130+
<local:ThemedIconLayer
131+
LayerSize="16"
132+
LayerType="Accent"
133+
PathData="m.15.15C.34-.05.66-.05.85.15l15,15c.2.2.2.51,0,.71-.2.2-.51.2-.71,0C7.12,7.82,3.98,4.68.15.85-.05.66-.05.34.15.15Z" />
97134
</local:ThemedIconLayers>
98135
</Setter.Value>
99136
</Setter>

0 commit comments

Comments
 (0)