Keep dock headings legible under keyboard focus

This commit is contained in:
Codex
2026-11-14 21:42:58 +03:00
parent ce1b707348
commit 91a5ebe8da
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -161,3 +161,5 @@ close without also closing the battery/detail window.
Portal typography is self-contained: Window text base is md/13 px, its title is title/18 px, and explanatory/status paragraphs use Description/sm/12 px. This stays identical in centered and floating modes and is independent of the host body size.
`EditorWorkspace purpose="view"` reuses the same stable host and docking grammar for viewers. Back/close return the mounted view to its inline slot; no edit-completion action is shown. Optional `headerActions` keeps application actions in the fixed window header. The default `purpose="edit"` preserves existing editors. The living docking example demonstrates both purposes.
Dock tool headings inherit the focused drag-header foreground, including title and subtitle, so the canonical inverted keyboard-focus fill retains readable text.