feat(auto-theme): add palette extraction, theme generation, and DE detection

Rust module auto_theme/ with:
- K-means clustering (k=6) on downsampled images for palette extraction
- CSS variable generator producing all ~40 required theme tokens
- WCAG AA contrast enforcement for text and accent colors
- Desktop environment detection (GNOME, KDE Plasma, COSMIC, XFCE, Cinnamon)
- Wallpaper path retrieval per DE (gsettings, Plasma config, COSMIC config)
- System accent color retrieval (GNOME 47+, KDE, COSMIC)

cc
This commit is contained in:
vicrodh committed 2026-02-23 03:18:00 -06:00
1 parent 985e673b72
commit 1c46fde82c
5 files changed
+1394

No files matched your search

+2
View File
@@ -10,6 +10,8 @@ pub mod runtime;
pub mod session_lifecycle;
pub mod tauri_adapter;
pub mod auto_theme;
pub mod api;
pub mod api_cache;
pub mod api_server;