Embedded default fonts.
This commit is contained in:
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-Black.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-Black.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-Bold.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-Bold.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-ExtraBold.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-ExtraLight.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-ExtraLight.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-Light.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-Light.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-Medium.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-Medium.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-Regular.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-Regular.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-SemiBold.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-SemiBold.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-Thin.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/Lexend-Thin.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-Black.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-Black.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-Bold.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-Bold.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-ExtraBold.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-ExtraLight.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-ExtraLight.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-Light.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-Light.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-Medium.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-Medium.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-Regular.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-Regular.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-SemiBold.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-SemiBold.ttf
Normal file
Binary file not shown.
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-Thin.ttf
Normal file
BIN
Harmonia.WinUI/Assets/Fonts/NotoSansJP-Thin.ttf
Normal file
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net10.0-windows10.0.26100.0</TargetFramework>
|
||||
@@ -14,6 +14,7 @@
|
||||
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="Resources\Styles.xaml" />
|
||||
<None Remove="Views\PlayerView.xaml" />
|
||||
@@ -30,6 +31,10 @@
|
||||
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="Assets\Fonts\*.ttf" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Manifest Include="$(ApplicationManifest)" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -4,29 +4,34 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
|
||||
<!-- Global Font -->
|
||||
<FontFamily x:Key="AppFontFamily">ms-appx:///Assets/Fonts/Lexend-Regular.ttf#Lexend, ms-appx:///Assets/Fonts/NotoSansJP-Regular.ttf#Noto Sans JP</FontFamily>
|
||||
<FontFamily x:Key="AppFontFamilyMedium">ms-appx:///Assets/Fonts/Lexend-Medium.ttf#Lexend, ms-appx:///Assets/Fonts/NotoSansJP-Medium.ttf#Noto Sans JP</FontFamily>
|
||||
<FontFamily x:Key="AppFontFamilySemiBold">ms-appx:///Assets/Fonts/Lexend-SemiBold.ttf#Lexend, ms-appx:///Assets/Fonts/NotoSansJP-SemiBold.ttf#Noto Sans JP</FontFamily>
|
||||
<FontFamily x:Key="AppFontFamilyBold">ms-appx:///Assets/Fonts/Lexend-Bold.ttf#Lexend, ms-appx:///Assets/Fonts/NotoSansJP-Bold.ttf#Noto Sans JP</FontFamily>
|
||||
|
||||
<Style TargetType="TextBlock">
|
||||
<Setter Property="FontFamily" Value="Lexend,Noto Sans JP" />
|
||||
<Setter Property="FontFamily" Value="{StaticResource AppFontFamily}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="TextBox" BasedOn="{StaticResource DefaultTextBoxStyle}">
|
||||
<Setter Property="FontFamily" Value="Lexend,Noto Sans JP" />
|
||||
<Setter Property="FontFamily" Value="{StaticResource AppFontFamily}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="MenuFlyoutItem" BasedOn="{StaticResource DefaultMenuFlyoutItemStyle}">
|
||||
<Setter Property="FontFamily" Value="Lexend,Noto Sans JP" />
|
||||
<Setter Property="FontFamily" Value="{StaticResource AppFontFamily}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="MenuFlyoutSubItem" BasedOn="{StaticResource DefaultMenuFlyoutSubItemStyle}">
|
||||
<Setter Property="FontFamily" Value="Lexend,Noto Sans JP" />
|
||||
<Setter Property="FontFamily" Value="{StaticResource AppFontFamily}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="ToggleMenuFlyoutItem" BasedOn="{StaticResource DefaultToggleMenuFlyoutItemStyle}">
|
||||
<Setter Property="FontFamily" Value="Lexend,Noto Sans JP" />
|
||||
<Setter Property="FontFamily" Value="{StaticResource AppFontFamily}" />
|
||||
</Style>
|
||||
|
||||
|
||||
<Style TargetType="ListViewItem" BasedOn="{StaticResource DefaultListViewItemStyle}">
|
||||
<Setter Property="FontFamily" Value="Lexend,Noto Sans JP" />
|
||||
<Setter Property="FontFamily" Value="{StaticResource AppFontFamily}" />
|
||||
</Style>
|
||||
|
||||
<!-- Premium Palette (from Harmonia icon set) -->
|
||||
@@ -92,7 +97,7 @@
|
||||
<Setter Property="Background" Value="{StaticResource PremiumTileGradient}"/>
|
||||
<Setter Property="Padding" Value="14,8"/>
|
||||
<Setter Property="CornerRadius" Value="12"/>
|
||||
<Setter Property="FontFamily" Value="Lexend,Noto Sans JP"/>
|
||||
<Setter Property="FontFamily" Value="{StaticResource AppFontFamily}"/>
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
||||
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
||||
<Setter Property="Template">
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
</Style>
|
||||
<Style x:Key="SongTitleTextBlock" TargetType="TextBlock">
|
||||
<Setter Property="FontSize" Value="16"/>
|
||||
<Setter Property="FontFamily" Value="{StaticResource AppFontFamilySemiBold}"/>
|
||||
<Setter Property="FontWeight" Value="SemiBold"/>
|
||||
<Setter Property="TextTrimming" Value="CharacterEllipsis"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource SongItemTitleBrush}"/>
|
||||
@@ -137,7 +138,7 @@
|
||||
<Canvas Background="#19000000"></Canvas>
|
||||
</Grid>
|
||||
<StackPanel VerticalAlignment="Center">
|
||||
<TextBlock Foreground="{StaticResource SongItemTitleBrush2}" FontWeight="SemiBold" FontSize="16" Text="{Binding Song, Converter={StaticResource SongTitle}}"></TextBlock>
|
||||
<TextBlock Foreground="{StaticResource SongItemTitleBrush2}" FontFamily="{StaticResource AppFontFamilySemiBold}" FontWeight="SemiBold" FontSize="16" Text="{Binding Song, Converter={StaticResource SongTitle}}"></TextBlock>
|
||||
<TextBlock Foreground="{StaticResource SongItemSubtitleBrush2}" FontSize="14" Text="{Binding Song.Artists, Converter={StaticResource ArtistsToString}}"></TextBlock>
|
||||
<TextBlock Foreground="{StaticResource SongItemSubtitleBrush2}" FontSize="14" Text="{Binding Song.Album}"></TextBlock>
|
||||
<TextBlock Foreground="#777" FontSize="12" Visibility="{Binding Song, Converter={StaticResource NullVisibility}}">
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
<!-- Song Item Title Text Block -->
|
||||
<Style x:Key="SongTitleTextBlock" TargetType="TextBlock">
|
||||
<Setter Property="Foreground" Value="{StaticResource SongItemTitleBrush}"/>
|
||||
<Setter Property="FontFamily" Value="{StaticResource AppFontFamilyMedium}"/>
|
||||
<Setter Property="FontSize" Value="15"/>
|
||||
<Setter Property="FontWeight" Value="Medium"/>
|
||||
<Setter Property="LineStackingStrategy" Value="BlockLineHeight"/>
|
||||
@@ -237,7 +238,7 @@
|
||||
<Setter Property="Background" Value="Transparent"></Setter>
|
||||
</Style>
|
||||
</MenuFlyout.MenuFlyoutPresenterStyle>
|
||||
<MenuFlyoutItem Text="Play" FontWeight="SemiBold" Command="{Binding PlaySongCommand}">
|
||||
<MenuFlyoutItem Text="Play" FontFamily="{StaticResource AppFontFamilySemiBold}" FontWeight="SemiBold" Command="{Binding PlaySongCommand}">
|
||||
<MenuFlyoutItem.Icon>
|
||||
<PathIcon Data="{StaticResource PlayIcon}"></PathIcon>
|
||||
</MenuFlyoutItem.Icon>
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
|
||||
<Style x:Key="SelectedPlaylistTitleTextBlock" TargetType="TextBlock" BasedOn="{StaticResource PlaylistTitleTextBlock}">
|
||||
<Setter Property="Foreground" Value="{StaticResource AccentTextFillColorPrimaryBrush}"/>
|
||||
<Setter Property="FontFamily" Value="{StaticResource AppFontFamilyMedium}"/>
|
||||
<Setter Property="FontWeight" Value="Medium"/>
|
||||
</Style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user