diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index fe3520812..5aca4c9d9 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -168,9 +168,9 @@ namespace Flow.Launcher.Core.Resource { DWM_WINDOW_CORNER_PREFERENCE preference = cornerMode switch { - "DONOTROUND" => DWM_WINDOW_CORNER_PREFERENCE.DoNotRound, - "ROUND" => DWM_WINDOW_CORNER_PREFERENCE.Round, - "ROUNDSMALL" => DWM_WINDOW_CORNER_PREFERENCE.RoundSmall, + "DoNotRound" => DWM_WINDOW_CORNER_PREFERENCE.DoNotRound, + "Round" => DWM_WINDOW_CORNER_PREFERENCE.Round, + "RoundSmall" => DWM_WINDOW_CORNER_PREFERENCE.RoundSmall, _ => DWM_WINDOW_CORNER_PREFERENCE.Default, }; @@ -333,13 +333,13 @@ namespace Flow.Launcher.Core.Resource } else if (Mode == "Dark") { - mainWindow.Background = new SolidColorBrush(Colors.Green); + mainWindow.Background = new SolidColorBrush(darkBG); Methods.SetWindowAttribute(new WindowInteropHelper(mainWindow).Handle, DWMWINDOWATTRIBUTE.DWMWA_USE_IMMERSIVE_DARK_MODE, 1); return; } else if (Mode == "Light") { - mainWindow.Background = new SolidColorBrush(Colors.Yellow); + mainWindow.Background = new SolidColorBrush(lightBG); Methods.SetWindowAttribute(new WindowInteropHelper(mainWindow).Handle, DWMWINDOWATTRIBUTE.DWMWA_USE_IMMERSIVE_DARK_MODE, 0); return; } diff --git a/Flow.Launcher/Themes/BlurBlack Darker.xaml b/Flow.Launcher/Themes/BlurBlack Darker.xaml index 286419c70..f4d5f9908 100644 --- a/Flow.Launcher/Themes/BlurBlack Darker.xaml +++ b/Flow.Launcher/Themes/BlurBlack Darker.xaml @@ -12,6 +12,10 @@ True + Dark + DoNotRound + #C7000000 + #C7000000 diff --git a/Flow.Launcher/Themes/BlurWhite.xaml b/Flow.Launcher/Themes/BlurWhite.xaml index ed290d0c8..29fe38a9c 100644 --- a/Flow.Launcher/Themes/BlurWhite.xaml +++ b/Flow.Launcher/Themes/BlurWhite.xaml @@ -11,8 +11,10 @@ True - light + Light + DoNotRound #BFFAFAFA + #BFFAFAFA