From f6ed12fc7a3d1c07bcd355915dd2fec6baf577ec Mon Sep 17 00:00:00 2001
From: Masu-Baumgartner <68913099+Masu-Baumgartner@users.noreply.github.com>
Date: Mon, 28 Oct 2024 15:04:07 +0100
Subject: [PATCH] Upgraded MoonCore packages. Small ui improvement
---
Moonlight.ApiServer/Moonlight.ApiServer.csproj | 2 --
Moonlight.Client/Moonlight.Client.csproj | 4 ++--
.../Styles/mappings/{mooncore.json => mooncore.map} | 0
Moonlight.Client/Styles/tailwind.config.js | 13 +++++++------
.../UI/Screens/AuthenticationScreen.razor | 3 ++-
5 files changed, 11 insertions(+), 11 deletions(-)
rename Moonlight.Client/Styles/mappings/{mooncore.json => mooncore.map} (100%)
diff --git a/Moonlight.ApiServer/Moonlight.ApiServer.csproj b/Moonlight.ApiServer/Moonlight.ApiServer.csproj
index f6d667e8..ae027ca5 100644
--- a/Moonlight.ApiServer/Moonlight.ApiServer.csproj
+++ b/Moonlight.ApiServer/Moonlight.ApiServer.csproj
@@ -13,8 +13,6 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
diff --git a/Moonlight.Client/Moonlight.Client.csproj b/Moonlight.Client/Moonlight.Client.csproj
index 37f43b23..c38b3628 100644
--- a/Moonlight.Client/Moonlight.Client.csproj
+++ b/Moonlight.Client/Moonlight.Client.csproj
@@ -11,9 +11,9 @@
-
+
-
+
diff --git a/Moonlight.Client/Styles/mappings/mooncore.json b/Moonlight.Client/Styles/mappings/mooncore.map
similarity index 100%
rename from Moonlight.Client/Styles/mappings/mooncore.json
rename to Moonlight.Client/Styles/mappings/mooncore.map
diff --git a/Moonlight.Client/Styles/tailwind.config.js b/Moonlight.Client/Styles/tailwind.config.js
index 0e74054e..3eee47b5 100644
--- a/Moonlight.Client/Styles/tailwind.config.js
+++ b/Moonlight.Client/Styles/tailwind.config.js
@@ -2,7 +2,7 @@
module.exports = {
content: [
'../**/*.razor',
- 'mappings/*.json'
+ 'mappings/*.map'
],
theme: {
extend: {
@@ -30,11 +30,12 @@ module.exports = {
300: '#DBDFE9',
400: '#B5B5C3',
500: '#99A1B7',
- 600: '#78829D',
- 700: '#4B5675',
- 800: '#252F4A',
- 900: '#071437',
- 950: '#030712',
+ 600: '#707993',
+ 700: '#444e6b',
+ 750: '#293249',
+ 800: '#1c2438',
+ 900: '#111721',
+ 950: '#0e121c',
},
tertiary: {
50: '#f5f3ff',
diff --git a/Moonlight.Client/UI/Screens/AuthenticationScreen.razor b/Moonlight.Client/UI/Screens/AuthenticationScreen.razor
index f4454be2..2fdc2862 100644
--- a/Moonlight.Client/UI/Screens/AuthenticationScreen.razor
+++ b/Moonlight.Client/UI/Screens/AuthenticationScreen.razor
@@ -104,7 +104,6 @@ else
// Update UI
IsHandlingDone = true;
await InvokeAsync(StateHasChanged);
- await Task.Delay(TimeSpan.FromSeconds(2));
try
{
@@ -112,6 +111,8 @@ else
}
finally
{
+ await Task.Delay(TimeSpan.FromSeconds(2));
+
Navigation.NavigateTo("/", true);
}
}