lietzsche;noether
Pages

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):

TokenDark DefaultLight DefaultDescription
--noether-bg-topbar#0d0d0d#f4f4f5Top bar and tab strip background.
--noether-bg-topbar-gradient#0d0d0d#f4f4f5Optional linear gradient override for [data-top-bar="true"].
--noether-bg-tab-active#1c1c1c#ffffffActive tab surface.
--noether-bg-tab-hover#232323#f4f4f5Hovered inactive tab surface.
--noether-bg-tab-inactivetransparenttransparentInactive tab background.
--noether-tab-corner-fill#1c1c1c#ffffffSVG wing cutout fill beside the active tab.
--noether-tab-corner-hover-fill#232323#f4f4f5Wing cutout hover fill.
--noether-header-offsetDynamicDynamicTop 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:

TokenDark DefaultLight DefaultDescription
--noether-bg-ribbon#111111#eceff1Action Rail vertical strip background.
--noether-text-muted#888888#52525bDefault Action Rail icon color.
--noether-text-primary#ffffff#09090bHovered icon color.
--noether-btn-hover-bgrgba(255, 255, 255, 0.05)rgba(0, 0, 0, 0.04)Hovered Action Rail button background.
--noether-border-base#292929#e4e4e7Right 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:

TokenDefaultDescription
--noether-bg-statusbar#1f1f1f (light: #f4f4f5)Status bar background.
--noether-statusbar-positionabsoluteCSS position property for .noether-status-bar.
--noether-statusbar-topautoTop inset offset.
--noether-statusbar-right0Right inset offset.
--noether-statusbar-bottom0Bottom inset offset.
--noether-statusbar-leftautoLeft inset offset.
--noether-order-statusbar5Flex order in .noether-workspace-layout.

Search wiki and portfolio

type to search across all entries.