diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bf405d6..45e0c800 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to Stability Matrix will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2.0.0.html). +## v2.4.6 +### Added +- LDSR / ADetailer shared folder links for Automatic1111 Package +### Changed +- Made Dark Mode background slightly lighter + ## v2.4.5 ### Fixed - Fixed "Library Dir not set" error on launch diff --git a/StabilityMatrix.Avalonia/Assets.cs b/StabilityMatrix.Avalonia/Assets.cs index 6b06b2ea..9e5a6cd1 100644 --- a/StabilityMatrix.Avalonia/Assets.cs +++ b/StabilityMatrix.Avalonia/Assets.cs @@ -5,6 +5,7 @@ using System.Runtime.Versioning; using Avalonia.Platform; using StabilityMatrix.Avalonia.Models; using StabilityMatrix.Core.Helper; +using StabilityMatrix.Core.Models; namespace StabilityMatrix.Avalonia; diff --git a/StabilityMatrix.Avalonia/Views/MainWindow.axaml.cs b/StabilityMatrix.Avalonia/Views/MainWindow.axaml.cs index 66396e7c..2c59cd4c 100644 --- a/StabilityMatrix.Avalonia/Views/MainWindow.axaml.cs +++ b/StabilityMatrix.Avalonia/Views/MainWindow.axaml.cs @@ -265,11 +265,11 @@ public partial class MainWindow : AppWindowBase out var value ) ? (Color2)(Color)value! - : new Color2(32, 32, 32); + : new Color2(30, 31, 34); - color = color.LightenPercent(-0.8f); + color = color.LightenPercent(-0.5f); - Background = new ImmutableSolidColorBrush(color, 0.8); + Background = new ImmutableSolidColorBrush(color, 0.72); } else if (ActualThemeVariant == ThemeVariant.Light) { diff --git a/StabilityMatrix.Core/Models/Packages/A3WebUI.cs b/StabilityMatrix.Core/Models/Packages/A3WebUI.cs index 5c018602..950839f8 100644 --- a/StabilityMatrix.Core/Models/Packages/A3WebUI.cs +++ b/StabilityMatrix.Core/Models/Packages/A3WebUI.cs @@ -56,6 +56,8 @@ public class A3WebUI : BaseGitPackage [SharedFolderType.Hypernetwork] = new[] { "models/hypernetworks" }, [SharedFolderType.ControlNet] = new[] { "models/ControlNet" }, [SharedFolderType.Codeformer] = new[] { "models/Codeformer" }, + [SharedFolderType.LDSR] = new[] { "models/LDSR" }, + [SharedFolderType.AfterDetailer] = new[] { "models/adetailer" } }; [SuppressMessage("ReSharper", "ArrangeObjectCreationWhenTypeNotEvident")] diff --git a/StabilityMatrix.Avalonia/Models/RemoteResource.cs b/StabilityMatrix.Core/Models/RemoteResource.cs similarity index 91% rename from StabilityMatrix.Avalonia/Models/RemoteResource.cs rename to StabilityMatrix.Core/Models/RemoteResource.cs index 8b0ba59e..59e636f1 100644 --- a/StabilityMatrix.Avalonia/Models/RemoteResource.cs +++ b/StabilityMatrix.Core/Models/RemoteResource.cs @@ -1,6 +1,4 @@ -using System; - -namespace StabilityMatrix.Avalonia.Models; +namespace StabilityMatrix.Core.Models; /// /// Defines a remote downloadable resource. diff --git a/StabilityMatrix.Core/Models/SharedFolderType.cs b/StabilityMatrix.Core/Models/SharedFolderType.cs index bace308d..244c2fdb 100644 --- a/StabilityMatrix.Core/Models/SharedFolderType.cs +++ b/StabilityMatrix.Core/Models/SharedFolderType.cs @@ -28,4 +28,5 @@ public enum SharedFolderType CLIP = 1 << 18, ScuNET = 1 << 19, GLIGEN = 1 << 20, + AfterDetailer = 1 << 21 }