add accent color and surface preferences to settings

This commit is contained in:
2026-10-08 08:56:57 +07:00
parent f4b435b160
commit 02b9cc238f
4 changed files with 254 additions and 70 deletions
+4
View File
@@ -36,6 +36,10 @@ pub const TABBAR_HEIGHT: Pixels = px(36.0);
pub const SIDEBAR_WIDTH: Pixels = px(240.);
pub fn init(cx: &mut App) {
for issue in ThemeRegistry::active().validate() {
log::warn!("theme {}: {}", issue.variant_id, issue.message);
}
Theme::sync_system_appearance(None, cx);
Theme::sync_scrollbar_appearance(cx);
}