mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-02 19:42:51 +08:00
- chrome.json#slots names an existing skin data-ws-part as anchor for host.recovery (align start/center/end, optional compact); host/trusted parts rejected as anchors - reusable host-slot-placement module: positions the closed-shadow top-layer capsule over the anchor, re-checks visibility/size/on-screen/elementFromPoint, snaps back to the default corner on any failure with anti-flap re-slotting - --skin-recovery-* tokens (accent/background/foreground/radius/font/size tier) sanitized with 28px minimum hit target and WCAG contrast fallback - compact mode only after 5s full display post-activation; shortcut always full - no new skin CSS compile-time restrictions; docs and host-chrome-demo updated
16 lines
536 B
JSON
16 lines
536 B
JSON
{
|
|
"schemaVersion": 1,
|
|
"hiddenParts": ["host.plugins.launcher"],
|
|
"visibleParts": ["host.watermark", "host.hint", "host.voice-status-decoration"],
|
|
"icons": {
|
|
"language.trigger": "assets/icons/language.png",
|
|
"skin.trigger": "assets/icons/skin.png",
|
|
"host.plugins.launcher": "assets/icons/apps.png",
|
|
"home.toolbar.settings": "assets/icons/settings.png",
|
|
"voice.performance": "assets/icons/status.png"
|
|
},
|
|
"slots": {
|
|
"host.recovery": { "anchor": "voice.audio-dock", "align": "end", "compact": true }
|
|
}
|
|
}
|