Shells
Titlebar
The drag strip across the top of a window, filled with the ink line so the app's content reads as sitting inside the outline rather than under a second toolbar.
Its buttons deliberately do not lift. A window button is chrome, not
content: it has nothing to lift off, and 44px of movement in the corner of
every screen is exactly the scattered motion rule 4 rations - so it answers
on the neutral ramp instead. Close is the one destructive control in the
chrome and the one place a status ink belongs in a titlebar, so it alone
answers in --axi-danger.
The strip is the drag handle (-webkit-app-region: drag) and __btns
opts back out of it, which is what makes the buttons clickable in Electron.
A titlebar inside its window
Hover the three buttons: the neutral ramp, then danger on closeThe strip is the drag handle; the buttons opt back out of it.
<div class="axi-window" style="height: 120px">
<div class="axi-titlebar">
<i class="axi-diamond axi-diamond--accent" aria-hidden="true"></i>
AxiBridge — watching 4 folders
<span class="axi-titlebar__btns">
<button type="button" aria-label="Minimise">−</button>
<button type="button" aria-label="Maximise">□</button>
<button type="button" aria-label="Close">×</button>
</span>
</div>
<div class="axi-window__body" style="padding: 18px">
<p style="margin: 0; font: var(--axi-t-small); color: var(--axi-text-dim)">The strip is the drag handle; the buttons opt back out of it.</p>
</div>
</div>