mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 03:52:50 +08:00
feat: let skins theme every protected control through skin.css and shared host tokens
App-DOM protected parts keep only hide/off-screen/disable guards; host-owned recovery capsule, skin-load banner and authorization dialog read one sanitized --skin-host-* token set with per-part overrides (--skin-recovery-*, --skin-load-recovery-*, --skin-permission-*) via the new host-control-tokens module.
This commit is contained in:
1 parent
93d221c3ef
commit
c1187d12d2
19 files changed
+1094
-422
No files matched your search
@@ -67,7 +67,12 @@ const HOST_OVERLAY_LOCKED_PROPERTIES = new Set([
|
||||
"aspect-ratio", "margin", "margin-block", "margin-inline", "margin-block-start", "margin-block-end",
|
||||
"margin-inline-start", "margin-inline-end",
|
||||
]);
|
||||
/** Properties whose indirect values could smuggle a hidden or moved control past the static checks. */
|
||||
/**
|
||||
* Properties whose indirect values could smuggle a hidden or moved control past
|
||||
* the static checks. Purely visual properties (colour, background, border,
|
||||
* radius, font, shadow, padding, width/height) are deliberately absent: a
|
||||
* protected control may theme them with `var()`.
|
||||
*/
|
||||
const INDIRECT_VALUE_PROPERTIES = new Set([
|
||||
"all", "display", "visibility", "opacity", "pointer-events", "clip-path", "mask", "mask-image",
|
||||
"position", "top", "right", "bottom", "left", "inset",
|
||||
|
||||
Reference in new issue
Block a user