fix(skin): repair host recovery compatibility and placement

Align the toolbar example with its first compatible runtime, restore recovery after shortcut focus leaves, and harden observer scheduling, contrast, floating avoidance, and private selector validation.
This commit is contained in:
OddTurtleHead committed 2026-11-26 23:06:43 +08:00
1 parent df826f575e
commit 4e8ea3081c
17 files changed
+453 -23

No files matched your search

+3 -1
View File
@@ -12,11 +12,13 @@ A minimal schema v3 open skin that docks the trusted recovery entry into the pag
```text
host-chrome-toolbar/
manifest.json # schema v3, version 1.1.0, author WebSpeak Community
manifest.json # schema v3, version 1.1.1, minAppVersion 0.3.3, author WebSpeak Community
chrome.json # one grouped toolbar slot with a home/voice anchor list
skin.css # light page theme, Classic toolbar tokens and header space
```
This package requires WebSpeak 0.3.3. WebSpeak 0.3.2 does not accept `mode`, `appearance`, or anchor candidate arrays, so importing it there cannot provide toolbar-mode behavior. Older slots without those fields remain valid and keep their capsule presentation.
`skin.css` uses only public `data-ws-part` hooks and sets `--skin-host-toolbar-*` / `--skin-recovery-toolbar-*` variables. It never targets the host toolbar DOM, the recovery capsule, the authorization dialog or the load-failure banner.
## Grouped declaration