theme: build out the theme engine core with resolve pipeline

This commit is contained in:
2026-10-28 10:54:02 +07:00
parent b4d3359d4f
commit 12d4120bfd
14 changed files with 1434 additions and 37 deletions
+24
View File
@@ -5,4 +5,28 @@ 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"
[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",
] }