diff --git a/docs/WINDOWS_AND_LAYERS.md b/docs/WINDOWS_AND_LAYERS.md index 563e34d..9765f3f 100644 --- a/docs/WINDOWS_AND_LAYERS.md +++ b/docs/WINDOWS_AND_LAYERS.md @@ -163,3 +163,5 @@ Portal typography is self-contained: Window text base is md/13 px, its title is `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. + +Keyboard-focused dock headers keep their action/close glyphs on the inherited contrast color, as well as title/subtitle. diff --git a/packages/ui-core/styles.css b/packages/ui-core/styles.css index b82062b..a8dc0dd 100644 --- a/packages/ui-core/styles.css +++ b/packages/ui-core/styles.css @@ -4545,7 +4545,7 @@ textarea.nodedc-field__control { .nodedc-editor-dock__tool>.nodedc-window__head {flex:none;cursor:grab;touch-action:none;user-select:none;} .nodedc-editor-dock__tool>.nodedc-window__head:active {cursor:grabbing;} .nodedc-editor-dock__tool>.nodedc-window__head:focus-visible {outline:2px solid var(--nodedc-text-primary);outline-offset:-3px;} -.nodedc-editor-dock__tool>.nodedc-window__head:focus-visible :is(.nodedc-window__title,.nodedc-window__subtitle) {color:inherit;} +.nodedc-editor-dock__tool>.nodedc-window__head:focus-visible :is(.nodedc-window__title,.nodedc-window__subtitle,.nodedc-window__actions,.nodedc-window__close,.nodedc-icon-button) {color:inherit;} .nodedc-editor-dock__body {flex:1;min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:0 var(--nodedc-space-3) var(--nodedc-space-3);} .nodedc-editor-dock__tool .nodedc-inspector {width:100%;max-width:none;} .nodedc-editor-dock__tool>.nodedc-window__footer {flex:none;}