Add Share Theme Page link

This commit is contained in:
DB p 2022-11-24 14:11:59 +09:00
parent 0462f47a36
commit 06f504a10b
3 changed files with 16 additions and 5 deletions

View file

@ -47,11 +47,11 @@
</ItemGroup>
<ItemGroup>
<Page Remove="Themes\Bullet Light.xaml" />
<Page Remove="Themes\Circle Light.xaml" />
<Page Remove="Themes\Circle System.xaml" />
<Page Remove="Themes\DarkCyan.xaml" />
<Page Remove="Themes\Cyan Dark.xaml" />
<Page Remove="Themes\Gray.xaml" />
<Page Remove="Themes\Light Bullet.xaml" />
<Page Remove="Themes\Midnight.xaml" />
<Page Remove="Themes\ThemeBuilder\Template.xaml" />
<Page Remove="Themes\Ubuntu.xaml" />

View file

@ -2012,8 +2012,8 @@
Margin="10"
HorizontalAlignment="Right"
DockPanel.Dock="Top">
<Hyperlink NavigateUri="{Binding Theme, Mode=OneWay}" RequestNavigate="OnRequestNavigate">
<Run Text="{DynamicResource howToCreateTheme}" />
<Hyperlink NavigateUri="{Binding ThemeGallery, Mode=OneWay}" RequestNavigate="OnRequestNavigate">
<Run Text="{DynamicResource browserMoreThemes}" />
</Hyperlink>
</TextBlock>
</Border>
@ -2323,7 +2323,7 @@
</ItemsControl>
</Border>
<Border Margin="0,0,0,18" Style="{DynamicResource SettingGroupBox}">
<Border Margin="0,0,0,0" Style="{DynamicResource SettingGroupBox}">
<ItemsControl Style="{StaticResource SettingGrid}">
<StackPanel Style="{StaticResource TextPanel}">
<TextBlock Style="{DynamicResource SettingTitleLabel}" Text="{DynamicResource ThemeFolder}" />
@ -2341,6 +2341,16 @@
</TextBlock>
</ItemsControl>
</Border>
<Border>
<TextBlock
Margin="10,10,10,18"
HorizontalAlignment="Right"
DockPanel.Dock="Top">
<Hyperlink NavigateUri="{Binding Theme, Mode=OneWay}" RequestNavigate="OnRequestNavigate">
<Run Text="{DynamicResource howToCreateTheme}" />
</Hyperlink>
</TextBlock>
</Border>
</StackPanel>
</StackPanel>
</Grid>

View file

@ -371,6 +371,7 @@ namespace Flow.Launcher.ViewModel
#region theme
public static string Theme => @"https://flowlauncher.com/docs/#/how-to-create-a-theme";
public static string ThemeGallery => @"https://github.com/Flow-Launcher/Flow.Launcher/discussions/1438";
public string SelectedTheme
{