Files
WebSpeak-client-for-TeamSpeak/web/src/services/host-chrome-preview.ts
T
OddTurtleHead f8d61d22ef feat: add host chrome theming and a skin-proof recovery layer
Allow skins to theme host chrome through a second scope and explicit
visibleParts. Official and built-in skins stay decoration-free by
default.

Harden the CSS compiler so skins cannot hide the document root, push
protected controls off-screen, or target the host layer with sibling
selectors. Move recovery and authorization UI into a closed Shadow DOM
on the top layer, so a third-party skin cannot block the built-in
skin reset.
2026-11-11 18:06:20 +08:00

14 lines
587 B
TypeScript

/**
* Browser-facing re-exports for the static host chrome preview page.
*
* Vite serves modules below `web/`, while the host-chrome policy lives in the
* repository-level `src/shared` tree. Keeping the bridge here lets the preview
* use exactly the same opt-in and reachability rules as the Vue client.
*/
export {
DEFAULT_HIDDEN_HOST_PARTS,
resolveHiddenHostParts,
} from "../../../src/shared/skin-chrome.js";
export type { SkinChromeDocument } from "../../../src/shared/skin-chrome.js";
export { isHostPartReachable, shouldShowRecovery } from "./host-chrome-visibility.js";