Files
client/DESIGN.md
T
omar c75c8f3d74
release / linux-x64 (push) Failing after 59s
ci / linux-x64 (push) Failing after 1m9s
ci / linux-arm64-cross (push) Failing after 4m15s
release / linux-arm64 (push) Successful in 4m36s
release / appimage-startup (push) Skipped
release / publish (push) Skipped
release: prepare v0.1.5 verified account-free snapshot
2026-11-02 10:50:54 +03:00

14 KiB
Raw Permalink Blame History

name, description, colors, typography, rounded, spacing, components
name description colors typography rounded spacing components
TeamsPeach The installed TeamSpeak 6 client's own visual system, reproduced from its source values.
tsv-bg-dark tsv-bg-light tsv-shaded-bg-dark tsv-shaded-bg-light tsv-header-bg-dark ts-new-header-bg-dark tsv-contrast-bg-dark tsv-contrast-bg-light tsv-deviant-bg-dark tsv-deviant-bg-light tsv-side-bar-bg-gradient-bottom-dark presence-separator-presence-dark strong-bg-dark tsv-tint-dark tsv-tint-light tsv-tint2-light tsv-font-color-dark tsv-font-color-light tsv-font-subtitle-color-dark tsv-font-subtitle-color-light ts-third-font-color-dark tsv-error-color-dark tsv-error-light-color-dark tsv-away-color-dark presence-online-dark tsv-online-color-dark settings-highlight-bg-dark ts-tree-channel-bg-start-dark ts-tree-channel-bg-end-dark ts-tree-badges-bg-dark tsv-chat-remote-bg-dark tsv-chat-self-bg-dark ts-chat-system-message-bg-dark ts-chat-system-message-text-color-dark tsv-chat-link-color tsv-preview-bg-light ts-menu-action-color tsv-separation-border-color-dark tsv-scrollbar-bg-dark tsv-slider-track-bg-dark ts-checkbox-bg-color-dark tsv-commander-color
#2b3346 #f5f5f5 #222A3C rgb(235, 235, 235) #1C2539 #121A2C #0C1326 #C9D9E5 #1E2538 #d3d5de #1D2537 #171C2A #0B1124 #1588FA #5DA1CB #22658f #FFFFFF #1a1a1a #697A97 #445d77 #bbd6f3 #CC3838 rgb(255, 130, 130) #FF8B04 #17f78d #13F78D #282F40 #192031 #1D263A #222A3B #697a97 #0C1326 #131824 #acacac #081cbd #bccbeb #8ac5fc #1D1F20 #0B111D #131824 #0c0d0f #daa520
body content small large title-small
fontFamily fontSize lineHeight fontWeight
"Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Fixed", "Segoe UI", Roboto, Helvetica, Arial, sans-serif 15px 19px 450
fontSize lineHeight
14px 18px
fontSize lineHeight
13px 15px
fontSize lineHeight
16px 19px
fontSize lineHeight fontWeight
24px 28px 700
small base large xlarge xxlarge xxxlarge pill
2px 4px 8px 10px 15px 20px 100px
v-minimal v-small h-minimal v h-small v-large h h-large
2px 4px 5px 8px 10px 16px 20px 40px
button-filled settings-section
backgroundColor textColor rounded padding
linear-gradient(60deg, #0058FF, #1365BB) #FFFFFF {rounded.pill} 4px 20px
backgroundColor textColor rounded padding
{colors.tsv-header-bg-dark} {colors.tsv-font-color-dark} {rounded.xxlarge} 8px 20px

Design System: TeamsPeach

Overview

North Star: "The official TeamSpeak 6 client, value for value."

The owner asked for the installed TeamSpeak 6 client's design, without reinterpretation. Two earlier TeamsPeach worlds (flat warm-neutral, then the Liquid Glass approximation) are retired. The target values come from installed client 6.0.0.5163 (main.css sha256 bc700401…, main.js sha256 9d6bea2e…): theme tokens from its webpack theme modules (main.js @92422 dark, @201685 light), scale tokens and component geometry from main.css, layout constants from main.js (window slots @1273206). The extracted values and source offsets are in docs/evidence/official-parity/ts6spec-{shell,tree,chat,controls,settings}.md. The stylesheet keeps the official --tsv-* token names so values can be compared one to one. Source matching, screenshot similarity and functional parity are separate evidence claims; this document is the implementation contract, not proof that every rendered pixel or feature matches.

The product name and application icon stay TeamsPeach's own. Non-brand interface pictograms now use the installed client's SVG artwork; provenance and redistribution limitations are recorded in LICENSES/teamspeak-client-icons-PROVENANCE.md. The official JavaScript application is reference-only, not the product's implementation.

Colors

Dark is the default for new profiles; light follows the official light module. Both are declared as plain :root (dark) and @media (prefers-color-scheme: light) :root blocks at (0,1,0) specificity, so a locally installed theme file can override them by order, as with the official stock theme.

Blue --tsv-tint (#1588FA dark, #5DA1CB light; --tsv-tint2 #22658f light) marks own nickname, selection outlines, active toggles and primary actions; green (--presence-online) marks talking/online and enabled toggles; red (--tsv-error-color) mutes and destructive actions; orange (--tsv-away-color) away and warnings. Secondary text is --tsv-font-subtitle-color; client names in the tree use --ts-third-font-color (#bbd6f3).

Typography

Noto Sans variable files version 2.013 from the installed client are bundled under app/renderer/assets/fonts/, with SIL OFL 1.1 in LICENSES/NotoSans-OFL.txt. Normal, italic and oblique declarations follow the original font-face semantics. Body 15/19, content 14/18, small 13, header titles 24/28 bold. Channel labels use 14px normal weight; client names use 14px semibold. Chat names use the source hash/contrast colour calculation, with 16/19 message text and 13/15 events.

Layout

The window is the official three-slot frame (.tsv-window):

  1. Sidebar #app-sidebar, 270px default, max 420; dragging below 200 collapses it to the 62px rail. Header gradient #121A2C → #1D2537, activity rows 44px with an always-visible 8px-radius pill inset 10px (4px gap), group captions 13px subtitle, footer 55px with a 3px separator inset 20px.
  2. Server pane #server-panel, 500px default, min 220: 44px window bar (#121A2C) carrying the toolbar pill (26px, --tsv-bg, 1px --strong-bg separators) with microphone and speaker; separate Away action; a 10px inverse fillet; the server tree on the 25° gradient (#252F44 → #2E374C); the 92px server header card; channel rows 44px with a 30px pill (inset 7/10, radius 9, 1.5px outline, channel background gradient on by default); client rows 40px with 33px avatars and 23px status plates; the 55px status bar with 40px side padding.
  3. Detail pane .workspace, min 295, body --tsv-shaded-bg: 44px window bar with the native caption overlay, 71px content header (38px icon, 24/28 bold title, segmented mode switch), 4px separator, the stream stage, chat log and composer.

Settings occupy the main and detail slots as the official settings activity does at ≥900px: category column clamp(30ch, 20vw, 50ch) with 44px rows, --settings-highlight-bg selection and a 4px tint bar; pages max 640px wide with section cards (--tsv-header-bg, radius 15, padding 8px 20px, 12px apart). Below 900px the same settings category node moves into sidebar resources and returns on leaving settings or widening the window. Small/Large use the official token modules (53225/68865), not browser zoom; collapsed rail widths are 52/62/72px. The native caption bar remains 44px to match its OS overlay.

Resize handles are invisible 9px strips centred on each pane edge, tinted at 50% while focused or dragged. The native caption overlay is 44px high in the window-bar colour (app/main/titlebar.js).

Elevation & Depth

Depth comes from the official background ladder (contrast < header < shaded < bg), not shadows. Context menus paint linear-gradient(#0B1124, #222C41) at 0.8 behind a 4px blur, radius 8, shadow 1px 1px 2px rgba(0,0,0,.2). Dialogs use the modal container (contrast-bg, 1px tint2 border, radius 8) over a 25% contrast-bg wash with 2px blur. Notifications use the 15px-radius gradient plate. Stream tiles have a 2px --tsv-bg border and radius 8; their 26px control bar slides in on hover.

Shapes

Radii follow the official scale: 2 (toolbar buttons), 4 (fields, chips), 8 (menus, tiles, composer, dialogs), 9 (tree pills), 10 (server card, event rows, selects), 15 (settings sections, theme tiles, notifications), pill (toolbar, filled buttons, segmented controls).

Components

  • Buttons: filled pill gradient (#0058FF → #1365BB) for primary; gray pill on --tsv-preview-bg; plain tint text for secondary; 42px subtle icon buttons whose glyph tints on hover.
  • Inputs: 26px, --tsv-bg, 1.5px transparent border turning tint on focus; selects in the multiselect look (radius 10); 20px dark checkboxes with a green check; 40×20 toggles; 10px slider tracks; segmented 26px pills.
  • Chat: detailed and compact styles. Remote bubbles #697a97 with a 12×14 tail on the first message, own bubbles #0C1326; compact rows use the source 65px timestamp column and 13px bold sender. Event rows have a #131824 → transparent gradient and radius 10; composer formatting sits above the 14/18 input and working emoji, conditional attachment and send actions.
  • Menus: 30px rows, 22px icons, 13px subtitle section captions, disabled #9c9c9c, destructive rgb(255,130,130), min width 170, max 260. Client group/volume subpages replace the same popup contents; Back or Left/Escape restores the original items and focus, not a second flyout.
  • Dynamic settings: Audio follows Microphone, Output and Processing sections; device controls move without being recreated. Identities use the source selector/Details/Bookmarks order; creation and rename use the inline selector editor, and Details always represent the selected identity. Export/private-key guidance and the separately labelled Current Server Nickname action remain functional product additions. Whisper receive/list/editor and key binding controls use actual labelled rows, not an unstyled vertical list. Toggle labels remain left with 40×20 switches right; numeric controls stay compact and faders include their real live output. All fields, including inputs with implicit text type, receive the shared source control styling. These changes address the first packaged capture batch; confirmation screenshots are QA evidence, not assumed passes.
  • Selected values: language flags and sidebar icon-mode pictograms come from the original local artwork. The underlying select owns the value; decorative selected artwork is aria-hidden. Default audio-device captions come only from Chromium's explicit default alias and remain available to assistive technology. Missing alias metadata leaves the caption blank, not guessed.

Motion is limited to the official short state transitions (pill growth 150ms, toolbar 100ms, controls 120ms, toast 180ms); reduced motion removes them. Reduced transparency/increased contrast make menus and notifications opaque; forced colours use system tokens.

Documented deviations from the official client

  • No TeamSpeak logo in the sidebar header: the header shows the TeamsPeach name/icon. Search filters local server connections/bookmarks only. Connecting and identity selection use a detail-pane form. The account-bound community action slot instead exposes the real New Connection action. Bookmark search/add/disclosure remain working; no decorative, nonfunctional folder action is introduced.
  • No notification bell, cloud contacts, myTeamSpeak presence or "Setup Chat" footer state: TeamsPeach is strictly account-free. Offline onboarding includes a real persisted System/Dark/Light choice before local identity creation/restoration, adapting the official first_launch.theme stage (render@2995390) without its account stages. Existing profiles keep their theme and do not repeat onboarding. The footer shows the local nickname and UID instead of cloud presence: the approved account-free exception.
  • A push-to-talk hold button remains in the server footer in push-to-talk mode for pointer access; the central toolbar preserves the source Away + microphone/speaker geometry.
  • Information/Chat/Files modes are in the detail header. Open private conversations and explicitly opened server chat are sidebar activities; no extra tab row occupies the channel chat canvas.
  • Stream placement moves the same stage/media nodes between chat and the 175px tree overlay. Tile layout and stream controls depend on the native/media capabilities described in FEATURE_COMPATIBILITY.md.
  • Original non-brand SVGs and the exact 2.013 font replace the earlier approximate glyphs and font. This is not evidence that every component's placement or state matches the original.
  • A "System" theme tile exists beside the official Dark and Light tiles.
  • New server administration, identity, snapshot, whisper, recording and file surfaces use the source control tokens around real APIs. Token conformity alone does not establish identical screen composition.
  • Local UID contacts, public badge display, bookmark folders, Privacy and the whisper manager bind real local/server operations. They do not emulate a myTeamSpeak account. The whisper overlay shares the settings controls and list reset; its tree preview derives only from current-session snapshots, and received-whisper history distinguishes departed identities.
  • File Transfer uses source-style icon actions and keyboard-operable minus/value/plus controls. Existing always-ask and 2/2 concurrency defaults remain; folder captions expose only the basename and concurrency subtitles truthfully describe the shared app-wide pool, not the original's per-server wording.
  • Notification category switches suppress all sounds in that category without erasing per-event choices or event logs. The disabled-category message and system notification subtitles use the original strings.
  • The refreshed actual-frontend matrix remains a strict visual failure: 168 evaluated pairs, none blocked and none fully passing. A later focused 32-pair confirmation also failed; it measures a newer build and is not substituted for the full matrix. Native/account/branding exceptions remain explicit; source transfer and functional checks do not establish completed 1:1 reproduction. Build-specific results and remaining differences are in qa-parity-harness.md.

Do's and Don'ts

  • Do take every new value from the installed client and cite its offset in the evidence specs.
  • Do keep the native caption overlay colours equal to --ts-new-header-bg and --tsv-font-color.
  • Do keep the stock --tsv-* token declarations at (0,1,0) specificity.
  • Don't reinterpret, restyle or "improve" the official look; deviations above are product constraints.
  • Don't add account-bound controls (bell, cloud contacts, presence) that would do nothing.
  • Don't claim full feature parity from visual parity; see FEATURE_COMPATIBILITY.md.