feat(ui): add --titlebar-height token for Desktop's frameless window

Desktop is switching from the native Windows titlebar to a custom one
rendered in the renderer (frameless BrowserWindow + custom Min/Max/Close).
The bar is 32px tall — the same height Windows draws its system
titlebar — so expose it as a token here for any future Desktop layout
that needs to subtract it.
This commit is contained in:
DrSmoothl committed 2026-05-17 16:49:27 +08:00
1 parent b3e37e2f7c
commit 0d54fd83c6
1 file changed
+1
+1
View File
@@ -62,6 +62,7 @@
--sidebar-ring: oklch(64% 0.16 230);
--chrome-height: 3.25rem; /* 52px — uniform top-bar height */
--titlebar-height: 2rem; /* 32px — Windows native titlebar height */
--shadow-color: 240 6% 10%;
--shadow-xs: 0 1px 2px 0 hsl(var(--shadow-color) / 0.05);