Files
omar ceecbb790a docs: record source parity evidence and remaining acceptance gaps
Document accumulated interoperability findings and current source-backed design. Record build-specific visual results, matched acceleration policy, passing packaged behavior checks, and explicit native/ARM and strict visual acceptance limits. No complete 1:1 claim.
2026-11-01 19:47:52 +03:00

99 lines
7.6 KiB
JSON

{
"schemaVersion": 2,
"generatedAt": "2026-11-01",
"title": "Design System: TeamsPeach",
"extensions": {
"shadows": [
{ "name": "context-menu", "value": "1px 1px 2px 0 rgba(0, 0, 0, 0.2)", "purpose": "Official .ts-context-menu shadow; menus, device menus and composer submenus." },
{ "name": "notification", "value": "#000 4px 8px 5px 0 at opacity .25", "purpose": "Official .ts-notification ::after plate shadow for toasts." }
],
"motion": [
{ "name": "tree-pill", "value": "150ms ease-out (32ms while hovered)", "purpose": "Channel pill growth from 7/10 to 4/7 insets." },
{ "name": "action-magnify", "value": "100ms ease-out scale(1.15)", "purpose": "Toolbar and status-bar icon hover." },
{ "name": "stream-controls", "value": "opacity 120ms, transform 80ms", "purpose": "Stream tile control bar reveal." },
{ "name": "toast-entrance", "value": "180ms cubic-bezier(0.16, 1, 0.3, 1)", "purpose": "Single toast entrance; disabled with reduced motion." }
],
"breakpoints": [
{ "name": "pane-compressed", "value": "440px", "purpose": "Official tsv-view-size-category-h-compressed: 10px side padding." },
{ "name": "settings-in-sidebar", "value": "900px", "purpose": "The same settings categories node moves into sidebar resources below this width." },
{ "name": "sidebar-collapse", "value": "200px", "purpose": "Sidebar slot snaps to the 62px rail below this width." }
],
"slots": {
"sidebar": "270px default, 420 max, 52/62/72px rail for Small/Medium/Large",
"server": "500px default, 220 min",
"detail": "flexible, 295 min"
},
"source": "TeamSpeak 6.0.0.5163 installed client: main.css sha256 bc700401d04954d0…, main.js sha256 9d6bea2ee5333086…; extracted values in docs/evidence/official-parity/."
},
"components": [
{
"name": "Filled action",
"kind": "button",
"refersTo": "button-filled",
"description": "Official .tsv-button-filled: blue gradient pill for the primary action.",
"html": "<button class=\"ds-filled\">Connect</button>",
"css": ".ds-filled{font:450 15px/22px 'Noto Sans',sans-serif;padding:4px 20px;min-height:26px;border:0;border-radius:100px;background:linear-gradient(60deg,#0058FF,#1365BB);color:#fff;cursor:pointer}.ds-filled:hover{background:#1c82cc}.ds-filled:focus-visible{outline:2px solid #1588FA;outline-offset:2px}.ds-filled:disabled{opacity:.4;cursor:default}"
},
{
"name": "Toolbar pill",
"kind": "toolbar",
"description": "Official central toolbar: 26px pill on --tsv-bg, icon buttons split by 1px strong-bg lines.",
"html": "<div class=\"ds-pill\"><button aria-label=\"Microphone\"><svg width=\"22\" height=\"22\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.7\"><rect x=\"9\" y=\"3\" width=\"6\" height=\"11\" rx=\"3\"/><path d=\"M5.5 11a6.5 6.5 0 0 0 13 0M12 17.5V21\"/></svg></button><button aria-label=\"Speakers\"><svg width=\"22\" height=\"22\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.7\"><path d=\"M4.5 9.5v5h3.8l4.7 4V5.5l-4.7 4z\"/></svg></button></div>",
"css": ".ds-pill{display:inline-flex;height:26px;padding:0 20px 0 10px;border-radius:100px;background:#2b3346}.ds-pill button{position:relative;padding:0 10px 0 0;border:0;background:none;color:#fff;cursor:pointer}.ds-pill button:not(:last-child)::after{content:'';position:absolute;right:4px;top:2px;bottom:2px;width:1px;background:#0B1124}.ds-pill button[aria-pressed=true]{color:#CC3838}"
},
{
"name": "Labelled field",
"kind": "input",
"description": "Official ts-text-input: 26px, tsv-bg fill, 1.5px transparent border turning tint on focus.",
"html": "<label class=\"ds-field\">Server address<input placeholder=\"address or address:9987\"></label>",
"css": ".ds-field{display:grid;gap:4px;font:450 14px/18px 'Noto Sans',sans-serif;color:#fff}.ds-field input{font:inherit;min-height:26px;padding:2px 10px;border:1.5px solid transparent;border-radius:4px;background:#2b3346;color:#fff}.ds-field input::placeholder{color:#697A97}.ds-field input:focus-visible{outline:none;border-color:#1588FA}"
},
{
"name": "Settings category list",
"kind": "nav",
"description": "44px rows; selection fill #282F40 with a 4px tint bar and tinted icon.",
"html": "<nav class=\"ds-nav\"><button>Identity</button><button aria-current=\"page\">Audio</button><button>Video</button></nav>",
"css": ".ds-nav{display:grid;padding:8px 10px 8px 20px;background:#2b3346}.ds-nav button{position:relative;font:450 14px 'Noto Sans',sans-serif;min-height:44px;text-align:left;padding:0 20px;border:0;border-radius:4px;background:transparent;color:#fff;cursor:pointer}.ds-nav button:hover{background:#222A3C}.ds-nav button[aria-current]{background:#282F40}.ds-nav button[aria-current]::after{content:'';position:absolute;left:0;top:6px;bottom:6px;width:4px;border-radius:100px;background:#1588FA}"
},
{
"name": "Group tag",
"kind": "chip",
"description": "Server-group name beside a nickname in the tree: header-bg chip, 13px subtitle text.",
"html": "<span class=\"ds-group\">Admin</span>",
"css": ".ds-group{display:inline-block;max-width:14ch;padding:0 5px;border-radius:6px;background:#1C2539;color:#697A97;font:450 13px/17px 'Noto Sans',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"
},
{
"name": "Settings section",
"kind": "card",
"refersTo": "settings-section",
"description": "Official .ts-widget-wrapper: header-bg, radius 15, 8px 20px padding, 15px semibold title.",
"html": "<section class=\"ds-card\"><h2>Microphone</h2><p>Capture device</p></section>",
"css": ".ds-card{display:grid;gap:16px;padding:8px 20px 20px;border-radius:15px;background:#1C2539;color:#fff;font:450 14px/18px 'Noto Sans',sans-serif}.ds-card h2{margin:8px 0 0;font-size:15px;line-height:19px;font-weight:600}.ds-card p{margin:0;color:#697A97;font-size:13px}"
}
],
"narrative": {
"northStar": "The official TeamSpeak 6 client, value for value",
"overview": "TeamsPeach targets the installed TeamSpeak 6 interface using extracted theme tokens, source component geometry and the three-slot window. The independent name/icon, local offline onboarding and omission of account-bound surfaces are deliberate exceptions. Source matching does not itself prove rendered or functional identity.",
"keyCharacteristics": [
"Navy dark theme (#2b3346 / #222A3C / #121A2C) with #1588FA tint; matching official light theme.",
"Three slots: 270px sidebar (62px rail), 500px server tree, flexible detail pane.",
"Noto Sans at 15/19 weight 450; official row heights 44/40/30/23.",
"Depth from the official background ladder, not shadows."
],
"rules": [
{ "name": "The Source Rule", "body": "Take target values from the installed official client with offsets in docs/evidence/official-parity/; verify actual composition with isolated screenshots and document differences.", "section": "overview" },
{ "name": "The Account-Free Rule", "body": "Omit cloud-only controls (bell, contacts, presence, Setup Chat) rather than showing controls that do nothing.", "section": "components" }
],
"dos": [
"Do keep native caption overlay colours equal to the window-bar token.",
"Do keep stock --tsv-* tokens at (0,1,0) specificity for local theme files.",
"Do document every deviation from the official client in DESIGN.md."
],
"donts": [
"Don't reinterpret or restyle the official look.",
"Don't ship TeamSpeak logos, label artwork or bundle files.",
"Don't claim feature parity from visual parity."
]
}
}