[package] name = "gpui-native-theme" version = "0.1.0" edition = "2024" description = "Native theme engine: reads the OS theme and resolves it into semantic tokens" [dependencies] anyhow = "1" gpui = { workspace = true } serde = { version = "1", features = ["derive"] } toml = "0.8" [dev-dependencies] gpui = { workspace = true, features = ["test-support"] } [target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies] async-channel = "2" [target.'cfg(target_os = "linux")'.dependencies] notify = "8" zbus = "5" [target.'cfg(target_os = "windows")'.dependencies] windows = { version = "0.62", features = [ "Foundation", "UI", "UI_ViewManagement", "Win32_Foundation", "Win32_System_Com", ] } windows-registry = "0.6" [target.'cfg(target_os = "macos")'.dependencies] block2 = "0.6" objc2 = "0.6" objc2-app-kit = { version = "0.3.2", default-features = false, features = [ "NSAccessibility", "NSAppearance", "NSColor", "NSColorSpace", "NSWorkspace", "block2", "objc2-core-foundation", ] } objc2-foundation = { version = "=0.3.2", default-features = false, features = [ "NSDistributedNotificationCenter", "NSNotification", "NSOperation", "NSString", "block2", "std", ] }