updated 2026-11-26·3 min read
Window & Frame Variables
CSS tokens and drag-region classes for the top window bar, tab cutouts, left Action Rail, and bottom status bar.
Tokens, layout variables, and drag-region classes controlling the top bar, tabs, Action Rail, and status bar in src/index.css and WindowHeader.tsx.
1. Title Bar, Tabs & Header Strip
The top window bar and tab strip sit at 41px height (h-[41px] in WindowHeader.tsx):
| Token | Dark Default | Light Default | Description |
|---|---|---|---|
--noether-bg-topbar | #0d0d0d | #f4f4f5 | Top bar and tab strip background. |
--noether-bg-topbar-gradient | #0d0d0d | #f4f4f5 | Optional linear gradient override for [data-top-bar="true"]. |
--noether-bg-tab-active | #1c1c1c | #ffffff | Active tab surface. |
--noether-bg-tab-hover | #232323 | #f4f4f5 | Hovered inactive tab surface. |
--noether-bg-tab-inactive | transparent | transparent | Inactive tab background. |
--noether-tab-corner-fill | #1c1c1c | #ffffff | SVG wing cutout fill beside the active tab. |
--noether-tab-corner-hover-fill | #232323 | #f4f4f5 | Wing cutout hover fill. |
--noether-header-offset | Dynamic | Dynamic | Top offset variable used by floating PageSubHeader and .scrollbar-track-offset-subheader. |
2. Window Drag Regions
src/index.css and WindowHeader.tsx mark draggable and interactive regions using .drag-region, .no-drag, data-tauri-drag-region, and data-no-drag="true":
/* Draggable header regions */
.drag-region,
header[data-noether-header] {
-webkit-app-region: drag;
}
/* Interactive controls inside draggable headers */
.no-drag,
header[data-noether-header] [data-no-drag="true"],
header[data-noether-header] button,
header[data-noether-header] [role="tab"] {
-webkit-app-region: no-drag;
}
3. Left Action Rail / Ribbon
The Action Rail (ActionRail.tsx, .noether-action-rail / .noether-ribbon) is 44px wide (w-11) and consumes core background and text tokens:
| Token | Dark Default | Light Default | Description |
|---|---|---|---|
--noether-bg-ribbon | #111111 | #eceff1 | Action Rail vertical strip background. |
--noether-text-muted | #888888 | #52525b | Default Action Rail icon color. |
--noether-text-primary | #ffffff | #09090b | Hovered icon color. |
--noether-btn-hover-bg | rgba(255, 255, 255, 0.05) | rgba(0, 0, 0, 0.04) | Hovered Action Rail button background. |
--noether-border-base | #292929 | #e4e4e7 | Right border dividing the Action Rail from the sidebar/viewport. |
4. Status Bar Tokens
The floating bottom status bar (.noether-status-bar in src/index.css and StatusBar.tsx) exposes positioning and surface tokens:
| Token | Default | Description |
|---|---|---|
--noether-bg-statusbar | #1f1f1f (light: #f4f4f5) | Status bar background. |
--noether-statusbar-position | absolute | CSS position property for .noether-status-bar. |
--noether-statusbar-top | auto | Top inset offset. |
--noether-statusbar-right | 0 | Right inset offset. |
--noether-statusbar-bottom | 0 | Bottom inset offset. |
--noether-statusbar-left | auto | Left inset offset. |
--noether-order-statusbar | 5 | Flex order in .noether-workspace-layout. |