Files
client/DESIGN.md
T
omar 0fffb27166
ci / linux-arm64-cross (push) Successful in 1m52s
ci / linux-x64 (push) Successful in 2m43s
Docs: English authored prose; 0.1.2 changelog (devices, menus, theme, language, updater, icon, identity fix)
2026-10-24 06:36:56 +03:00

4.4 KiB
Raw Permalink Blame History

Design

Documented from the shipped interface (app/renderer/styles/app.css, index.html) — this records what is built, it is not an aspiration. Mode: Operate. Direction: the category standard of voice-chat clients, an engineering choice for a familiar working tool, executed with a restrained peach accent. The only owner-pinned visual reference is the TeamSpeak 6 settings screenshot that the settings layout follows.

Layout

  • Two columns: sidebar clamp(280px, 27vw, 390px) (server header, host banner, channel tree, own-status footer) and a workspace (connect form, or channel header + optional stream viewer + chat, or settings).
  • Tree rows: channels with #/lock glyph, server channel icon at the right, server banner as a row background fading from the sidebar colour; members indented under channels with avatar/status dot, nickname (never truncated before group labels), server-configured group labels, mute/away/recording flags, group icons and country code, and a pill-shaped Watch button for streamers.
  • Settings follow the owner's pinned reference: the sidebar's room area is replaced by category navigation (Back to server, User / Application / Information groups, active item with an accent bar and tint), the workspace shows the selected category as titled cards (.card, 12 px radius) with an expandable Details area for advanced video information. The connection, voice footer and any stream keep running.
  • Saved servers sit above the tree as a compact list (name, address, action: Connect / Switch / Connected); a bookmark button in the server header shows or hides it.
  • Stream viewer: black stage with the video contained, dark control bar (title, codec · resolution · fps, mute, volume 0–100 %, fullscreen, stop). Overlay text explains every non-live state.

Colour

Restrained strategy: warm neutrals plus one accent; state colours only where they mean something.

Token Light Dark Use
--bg #f6f3f0 #1b2029 window ground, settings background
--surface #fffdfb #242b37 workspace, inputs, settings cards
--sidebar #eee9e4 #1e242e sidebar, settings navigation
--sunken #e6e0da #171b23 footer, UID, group labels
--text / --text-2 / --text-3 #221c18 / #5e544d / #776c64 #e7ebf2 / #aab3c2 / #8e98aa text hierarchy
--accent #b24f26 #f09a6c primary buttons, selected tab, own name, focus
--accent-soft #fbe2d4 #3a3033 current channel, active settings category
--peach #f3a37c #f3a37c brand mark
--talk #1f8a5a #4fcf8e talking indicator, PTT held
--danger #b3261e #f08b82 mute/deafen active, errors

Theme follows the choice in Settings → Appearance (dark by default for new profiles, independent of the OS; Light and System are selectable; implemented through Electron nativeTheme.themeSource, applied before the window is created, so prefers-color-scheme stays the single switch). The dark palette uses the blue-gray surfaces of the owner's reference (--bg #1b2029, --surface #242b37, --sidebar #1e242e). Selection, caret, scrollbars and focus rings use the palette.

Type

System UI stack (system-ui, -apple-system, "Segoe UI", "Noto Sans", Ubuntu, Cantarell, …), 14 px base, line-height 1.45; headings 600–650 weight at 17–24 px; monospace only for the UID and codec lists (data). Tabular numerals for counts, times and statistics.

Components

Buttons (primary, default, ghost), 34 px icon buttons with aria-pressed states, fields with labels above, radio/checkbox choices with accent colour, range sliders, chat tabs with unread counters, toasts in a polite live region (errors 10 s, others 5 s). Icons are an inline SVG sprite drawn in one 1.8 stroke style.

The application icon is an original peach silhouette with a small stem and leaf on a transparent background, without a plate, font or emoji dependency. build/icon.svg is the source for the 512 px build PNG, 256 px runtime PNG and Windows ICO sizes 16, 24, 32, 48, 64, 128 and 256 px. Raster export uses an alpha-enabled canvas in Electron, not a window screenshot. Asset-level alpha and small-size visual checks do not establish that a particular packaged release contains or displays these assets.

Motion

Only colour transitions (120 ms) and the toast entrance (180 ms, exponential ease-out); everything is disabled under prefers-reduced-motion.