Skip to content

Commit

Permalink
refactor: remove unnecessary control themes
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Nov 26, 2024
1 parent 5b8b3f8 commit e8a8008
Show file tree
Hide file tree
Showing 36 changed files with 36 additions and 180 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconBootstrapIcons Kind="_0Circle" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconBootstrapIcons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconBootstrapIcons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconBootstrapIcons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconBootstrapIcons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconBootstrapIcons" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.BoxIcons/PackIconBoxIcons.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconBoxIcons Kind="Logos_500px" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconBoxIcons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconBoxIcons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconBoxIcons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconBoxIcons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconBoxIcons" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.CircumIcons/PackIconCircumIcons.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconCircumIcons Kind="AirportSign1" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconCircumIcons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconCircumIcons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconCircumIcons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconCircumIcons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconCircumIcons" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.Codicons/PackIconCodicons.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconCodicons Kind="Account" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconCodicons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconCodicons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconCodicons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconCodicons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconCodicons" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.Coolicons/PackIconCoolicons.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconCoolicons Kind="AddColumn" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconCoolicons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconCoolicons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconCoolicons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconCoolicons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconCoolicons" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.Entypo/PackIconEntypo.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconEntypo Kind="_500px" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconEntypo.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconEntypo" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconEntypo}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconEntypo.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconEntypo" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.EvaIcons/PackIconEvaIcons.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconEvaIcons Kind="Activity" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconEvaIcons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconEvaIcons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconEvaIcons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconEvaIcons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconEvaIcons" />

</ResourceDictionary>
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconFeatherIcons Kind="Activity" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconFeatherIcons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconFeatherIcons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconFeatherIcons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconFeatherIcons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconFeatherIcons" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.FileIcons/PackIconFileIcons.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconFileIcons Kind="_1c" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconFileIcons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconFileIcons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconFileIcons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconFileIcons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconFileIcons" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.FontAwesome/PackIconFontAwesome.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconFontAwesome Kind="_0Solid" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconFontAwesome.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconFontAwesome" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconFontAwesome}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconFontAwesome.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconFontAwesome" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.Fontaudio/PackIconFontaudio.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconFontaudio Kind="Adr" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconFontaudio.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconFontaudio" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconFontaudio}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconFontaudio.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconFontaudio" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.Fontisto/PackIconFontisto.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconFontisto Kind="_500px" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconFontisto.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconFontisto" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconFontisto}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconFontisto.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconFontisto" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.ForkAwesome/PackIconForkAwesome.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconForkAwesome Kind="_500px" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconForkAwesome.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconForkAwesome" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconForkAwesome}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconForkAwesome.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconForkAwesome" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.GameIcons/PackIconGameIcons.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconGameIcons Kind="_3dGlasses" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconGameIcons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconGameIcons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconGameIcons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconGameIcons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconGameIcons" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.Ionicons/PackIconIonicons.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconIonicons Kind="AddCircleOutlineiOS" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconIonicons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconIonicons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconIonicons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconIonicons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconIonicons" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.JamIcons/PackIconJamIcons.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconJamIcons Kind="_500px" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconJamIcons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconJamIcons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconJamIcons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconJamIcons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconJamIcons" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.Lucide/PackIconLucide.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconLucide Kind="AArrowDown" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconLucide.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconLucide" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconLucide}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconLucide.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconLucide" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.Material/PackIconMaterial.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconMaterial Kind="Abacus" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconMaterial.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconMaterial" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconMaterial}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconMaterial.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconMaterial" />

</ResourceDictionary>
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconMaterialDesign Kind="_10k" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconMaterialDesign.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconMaterialDesign" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconMaterialDesign}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconMaterialDesign.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconMaterialDesign" />

</ResourceDictionary>
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconMaterialLight Kind="Account" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconMaterialLight.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconMaterialLight" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconMaterialLight}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconMaterialLight.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconMaterialLight" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.MemoryIcons/PackIconMemoryIcons.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconMemoryIcons Kind="MemoryAccount" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconMemoryIcons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconMemoryIcons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconMemoryIcons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconMemoryIcons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconMemoryIcons" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.Microns/PackIconMicrons.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconMicrons Kind="Above" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconMicrons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconMicrons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconMicrons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconMicrons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconMicrons" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.Modern/PackIconModern.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconModern Kind="_3d3ds" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconModern.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconModern" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconModern}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconModern.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconModern" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.Octicons/PackIconOcticons.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconOcticons Kind="Accessibility" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconOcticons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconOcticons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconOcticons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconOcticons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconOcticons" />

</ResourceDictionary>
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconPhosphorIcons Kind="Acorn" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconPhosphorIcons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconPhosphorIcons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconPhosphorIcons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconPhosphorIcons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconPhosphorIcons" />

</ResourceDictionary>
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.PicolIcons/PackIconPicolIcons.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<iconPacks:PackIconPicolIcons Kind="Accept" />
</Design.PreviewWith>

<ControlTheme x:Key="IconPacks.Avalonia.PackIconPicolIcons.Theme"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconPicolIcons" />

<ControlTheme x:Key="{x:Type iconPacks:PackIconPicolIcons}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconPicolIcons.Theme}"
BasedOn="{StaticResource IconPacks.Avalonia.PackIconControlBase.Theme}"
TargetType="iconPacks:PackIconPicolIcons" />

</ResourceDictionary>
Loading

0 comments on commit e8a8008

Please sign in to comment.