Vendor the native UI kit as crates/ui

- crates/ui holds the theme, icons, components, data widgets, editor surfaces, layout, and utilities; cargo feature gates are gone.
- One merged icon set of 154 SVGs where the app file wins every duplicate name, served by a single rust-embed Assets source.
- IconRole grows the 25 app glyphs, so assets::CustomIconName and crates/assets are deleted.
- ui::init owns the theme and key bindings that desktop used to bind in three calls.
- docs/gpui-native-kit-gaps.md becomes docs/ui-gaps.md; the icon gap is closed.
This commit is contained in:
2026-11-17 09:36:20 +07:00
parent ad6e00b4b9
commit d795dc6e32
287 changed files with 28142 additions and 590 deletions
+1 -2
View File
@@ -5,7 +5,6 @@ edition.workspace = true
publish.workspace = true
[dependencies]
assets = { path = "../assets" }
metadata = { path = "../metadata" }
paths = { path = "../paths" }
settings = { path = "../settings" }
@@ -16,7 +15,7 @@ signed_state = { path = "../signed_state" }
utils = { path = "../utils" }
gpui.workspace = true
gpui-native-kit.workspace = true
ui = { path = "../ui" }
nostr.workspace = true
anyhow.workspace = true
futures.workspace = true