diff --git a/src/UniGetUI.Avalonia/Views/SplashWindow.axaml b/src/UniGetUI.Avalonia/Views/SplashWindow.axaml index 067b760a6..43b050227 100644 --- a/src/UniGetUI.Avalonia/Views/SplashWindow.axaml +++ b/src/UniGetUI.Avalonia/Views/SplashWindow.axaml @@ -14,11 +14,30 @@ BorderBrush="{DynamicResource AppBorderBrush}" BorderThickness="1" BoxShadow="0 8 32 0 #40000000" - Margin="16"> - + Margin="16" + ClipToBounds="True"> + + + + + + + + + + + + + + diff --git a/src/UniGetUI.Avalonia/Views/SplashWindow.axaml.cs b/src/UniGetUI.Avalonia/Views/SplashWindow.axaml.cs index 7afc9dabb..7913455ff 100644 --- a/src/UniGetUI.Avalonia/Views/SplashWindow.axaml.cs +++ b/src/UniGetUI.Avalonia/Views/SplashWindow.axaml.cs @@ -1,9 +1,11 @@ using System; using Avalonia; using Avalonia.Controls; +using Avalonia.Media; using Avalonia.Media.Imaging; using Avalonia.Platform; using Avalonia.Styling; +using UniGetUI.Core.Tools; namespace UniGetUI.Avalonia.Views; @@ -18,5 +20,8 @@ public SplashWindow() ? "avares://UniGetUI.Avalonia/Assets/SplashScreen.theme-dark.png" : "avares://UniGetUI.Avalonia/Assets/SplashScreen.png"; SplashImage.Source = new Bitmap(AssetLoader.Open(new Uri(uri))); + + TaglineText.Text = CoreTools.Translate("Package management made easy"); + TaglineText.Foreground = isDark ? Brushes.White : Brushes.Black; } } diff --git a/src/UniGetUI/Assets/SplashScreen.png b/src/UniGetUI/Assets/SplashScreen.png index d4626ddd0..56280ffd5 100644 Binary files a/src/UniGetUI/Assets/SplashScreen.png and b/src/UniGetUI/Assets/SplashScreen.png differ diff --git a/src/UniGetUI/Assets/SplashScreen.svg b/src/UniGetUI/Assets/SplashScreen.svg new file mode 100644 index 000000000..7c0e326aa --- /dev/null +++ b/src/UniGetUI/Assets/SplashScreen.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/src/UniGetUI/Assets/SplashScreen.theme-dark.png b/src/UniGetUI/Assets/SplashScreen.theme-dark.png index 1509b3bfe..f577efe4a 100644 Binary files a/src/UniGetUI/Assets/SplashScreen.theme-dark.png and b/src/UniGetUI/Assets/SplashScreen.theme-dark.png differ diff --git a/src/UniGetUI/Assets/SplashScreen.theme-dark.svg b/src/UniGetUI/Assets/SplashScreen.theme-dark.svg new file mode 100644 index 000000000..029c39bf5 --- /dev/null +++ b/src/UniGetUI/Assets/SplashScreen.theme-dark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/src/UniGetUI/MainWindow.xaml b/src/UniGetUI/MainWindow.xaml index b0413a57e..7f7ceae9a 100644 --- a/src/UniGetUI/MainWindow.xaml +++ b/src/UniGetUI/MainWindow.xaml @@ -113,38 +113,40 @@ Grid.ColumnSpan="3" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" /> - - + + + + - - - - - - - + + + + + - - - - - - - + +