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:
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user