Unify theme sizing and spacing on Base UI metrics

- Read only mode, accent, accessibility, and native window material from the OS.
- Replace platform palettes, metrics, type ramps, borders, and elevations with unified tokens.
- Align controls, overlays, and data rows with Base UI sizing.
This commit is contained in:
2026-11-16 18:27:44 +07:00
parent 745a01d7af
commit b08516211c
32 changed files with 518 additions and 1761 deletions
+1
View File
@@ -224,6 +224,7 @@ impl ListItem {
.gap_2()
.px_2()
.py_1()
.min_h(theme.sizes.medium.control_height)
.rounded(theme.radius.sm)
.role(Role::ListItem)
.aria_selected(selected)
+1
View File
@@ -463,6 +463,7 @@ impl SidebarEntry {
.gap_2()
.px_2()
.py_1()
.min_h(theme.sizes.medium.control_height)
.rounded(theme.radius.sm)
.role(Role::ListItem)
.aria_selected(selected)
+1
View File
@@ -354,6 +354,7 @@ impl TreeItem {
.pl(indent)
.pr_2()
.py_1()
.min_h(theme.sizes.medium.control_height)
.rounded(theme.radius.sm)
.role(Role::TreeItem)
.aria_selected(selected)