Skip to content

Commit 391848b

Browse files
authored
CodeQuality: Added App.ThemedIcons.Actions.FontInstall icon (#16956)
1 parent dba00cb commit 391848b

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,4 +366,31 @@
366366
</Setter>
367367
</Style>
368368

369+
<Style
370+
x:Key="App.ThemedIcons.Actions.FontInstall"
371+
BasedOn="{StaticResource DefaultThemedIconStyle}"
372+
TargetType="local:ThemedIcon">
373+
374+
375+
<Setter Property="IconSize" Value="16" />
376+
377+
<Setter Property="OutlineIconData" Value="m5.43,7.75l.53-1.42L3.97.35c-.07-.2-.25-.34-.47-.34-.21,0-.4.13-.48.32L.03,8.33c-.1.26.03.55.29.64.26.1.55-.03.64-.29l.63-1.68h3.56l.28.74Zm-3.46-1.74l1.5-4,1.33,4H1.97Zm12.53,8h-.56L9.47,2.33c-.07-.19-.26-.32-.47-.32-.21,0-.39.13-.47.32l-3,7.99s0,.02,0,.02l-1.37,3.66h-.65c-.28,0-.5.22-.5.5s.22.5.5.5h.99s.02,0,.02,0h.99c.28,0,.5-.22.5-.5s-.22-.5-.5-.5h-.28l1.12-3h5.38l1.15,3h-.37c-.28,0-.5.22-.5.5s.22.5.5.5h1.09s.02,0,.02,0h.89c.28,0,.5-.22.5-.5s-.22-.5-.5-.5Zm-7.78-4l2.28-6.09,2.33,6.09h-4.62Z" />
378+
<Setter Property="FilledIconData" Value="m3.97.34C3.91.14,3.72,0,3.51,0c-.21,0-.4.13-.48.32L.03,8.32c-.1.26.03.55.29.64.26.1.55-.03.64-.29l.63-1.68h3.56l.28.74.53-1.42L3.97.34Zm.83,5.66H1.97L3.47,2l1.33,4Zm4.43-4c.3,0,.58.17.7.45l4.91,11.05h.4c.41,0,.75.34.75.75s-.34.75-.75.75h-2.5c-.41,0-.75-.34-.75-.75s.34-.75.75-.75h.46l-1.11-2.5h-5.34l-1,2.5h.49c.41,0,.75.34.75.75s-.34.75-.75.75h-2.5c-.41,0-.75-.34-.75-.75s.34-.75.75-.75h.39L8.55,2.47c.11-.28.38-.47.68-.47Zm-1.88,7.5h4.07l-2.14-4.82-1.93,4.82Z" />
379+
380+
<Setter Property="Layers">
381+
<Setter.Value>
382+
<local:ThemedIconLayers>
383+
<local:ThemedIconLayer
384+
LayerSize="16"
385+
LayerType="Base"
386+
PathData="m9.47,2.33c-.07-.19-.26-.32-.47-.32-.21,0-.39.13-.47.32l-3,7.99s0,.02,0,.02l-1.37,3.66h-.65c-.28,0-.5.22-.5.5s.22.5.5.5h.99s.02,0,.02,0h.99c.28,0,.5-.22.5-.5s-.22-.5-.5-.5h-.28l1.12-3h5.38l1.15,3h-.37c-.28,0-.5.22-.5.5s.22.5.5.5h1.09s.02,0,.02,0h.89c.28,0,.5-.22.5-.5s-.22-.5-.5-.5h-.56L9.47,2.33Zm1.87,7.68l-2.33-6.09-2.28,6.09h4.62Z" />
387+
<local:ThemedIconLayer
388+
LayerSize="16"
389+
LayerType="Accent"
390+
PathData="m3.51.01c.21,0,.4.14.47.34l1.99,5.98-.53,1.42-.28-.74H1.6l-.63,1.68c-.1.26-.39.39-.64.29-.26-.1-.39-.39-.29-.64L3.03.33c.07-.2.27-.33.48-.32Zm-1.54,6h2.83l-1.33-4-1.5,4Z" />
391+
</local:ThemedIconLayers>
392+
</Setter.Value>
393+
</Setter>
394+
</Style>
395+
369396
</ResourceDictionary>

tests/Files.App.UITests/Views/ThemedIconPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<ResourceDictionary>
1414
<Style
1515
x:Key="IconTest"
16-
BasedOn="{StaticResource App.ThemedIcons.AppUpdatedBox}"
16+
BasedOn="{StaticResource App.ThemedIcons.Actions.FontInstall}"
1717
TargetType="controls:ThemedIcon" />
1818
</ResourceDictionary>
1919
</Page.Resources>

0 commit comments

Comments
 (0)