summaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src/core
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-14 18:40:01 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-14 18:40:01 +0800
commit74849ad2d18586736d9677dfd10af4875f4ef2ca (patch)
tree8b4b4d130a58f45fae209bbcd3c8d57719eb9be4 /src-tauri/src/core
parent26898fd7c7150b33b2b14af86f734d375483cc1d (diff)
downloadDropOut-74849ad2d18586736d9677dfd10af4875f4ef2ca.tar.gz
DropOut-74849ad2d18586736d9677dfd10af4875f4ef2ca.zip
feat: enhance dark mode support across UI components
- Updated BottomBar, HomeView, LoginModal, ModLoaderSelector, SettingsView, Sidebar, StatusToast, and VersionsView components for improved dark mode styling. - Adjusted color schemes for various elements to ensure better visibility and aesthetics in dark mode. - Added a theme property to settings to enforce dark mode as the default. - Refactored version badges in VersionsView for better color differentiation. - Enhanced button and input styles for consistency in both light and dark themes.
Diffstat (limited to 'src-tauri/src/core')
-rw-r--r--src-tauri/src/core/config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-tauri/src/core/config.rs b/src-tauri/src/core/config.rs
index 27e0011..510b126 100644
--- a/src-tauri/src/core/config.rs
+++ b/src-tauri/src/core/config.rs
@@ -17,6 +17,7 @@ pub struct LauncherConfig {
pub enable_gpu_acceleration: bool,
pub enable_visual_effects: bool,
pub active_effect: String,
+ pub theme: String,
}
impl Default for LauncherConfig {
@@ -32,6 +33,7 @@ impl Default for LauncherConfig {
enable_gpu_acceleration: false,
enable_visual_effects: true,
active_effect: "constellation".to_string(),
+ theme: "dark".to_string(),
}
}
}