theme: extend live theme change watching on macos and windows

This commit is contained in:
2026-11-16 11:06:25 +07:00
parent 573d8a8303
commit d7e4047070
5 changed files with 128 additions and 32 deletions
+4 -1
View File
@@ -14,7 +14,7 @@ toml = "0.8"
[dev-dependencies]
gpui = { workspace = true, features = ["test-support"] }
[target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies]
[target.'cfg(any(target_os = "macos", target_os = "linux", target_os = "windows"))'.dependencies]
async-channel = "2"
[target.'cfg(target_os = "linux")'.dependencies]
@@ -44,9 +44,12 @@ objc2-app-kit = { version = "0.3.2", default-features = false, features = [
"objc2-core-foundation",
] }
objc2-foundation = { version = "=0.3.2", default-features = false, features = [
"NSDictionary",
"NSDistributedNotificationCenter",
"NSNotification",
"NSKeyValueObserving",
"NSOperation",
"NSUserDefaults",
"NSString",
"block2",
"std",