feat(kaak): keep server rail colors stable

This commit is contained in:
Corrupted ILLUSIA committed 2026-10-10 19:51:00 +08:00
1 parent 8aefed83d1
commit a1f92cedb2
11 files changed
+30 -14

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# KAAK voice skin
KAAK is a schema v3 open-skin package with full connection and voice-workspace surfaces. Its desktop voice page follows KOOK's proportions: an 80px server rail, a 290px channel pane, a 40px top bar, a central participant stage, right-side chat attached to the current voice channel, and a lower-left voice dock. The server rail uses KOOK's rounded-square silhouette and left-edge active marker, with distinct colored monogram tiles as placeholders. WebSpeak currently exposes the saved server label but no server icon image, so these tiles do not copy KOOK's artwork or expose a connection address. The KOOK voice room is the point-to-point visual reference: composition, member presentation, styling, and motion should be compared directly, rather than treating matching component types or approximate placement as sufficient. The left tree contains the TeamSpeak voice channels only; KOOK's separate text-channel group is outside this pass because TeamSpeak has no equivalent channel type. The current voice channel's text chat remains on the right and can collapse into a narrow rail, then expand again without leaving the voice room. Its header uses the `#` channel mark and an unobtrusive close control; the composer sits at the bottom edge. Messages use author monograms, a separate identity/time line, and readable message text. The central stage uses WebSpeak's reusable member-card widget so available TeamSpeak profile avatars appear inside KAAK's participant tiles; the tiles use a wide 1.82:1 layout with a responsive grid to match KOOK's participant presentation. KAAK's CSS adds hover depth, a speaking ring, and a waveform pulse driven by live voice state. The host's screen-share player appears in the room stage when someone is sharing. The dock retains WebSpeak's trusted voice-quality, audio, screen-share, and disconnect controls. The roster shows connected TeamSpeak clients only; it does not invent an offline list. Channel selection is single-click; joining is double-click. The narrow layout keeps the host's mobile controls available while retaining readable member tiles.
KAAK is a schema v3 open-skin package with full connection and voice-workspace surfaces. Its desktop voice page follows KOOK's proportions: an 80px server rail, a 290px channel pane, a 40px top bar, a central participant stage, right-side chat attached to the current voice channel, and a lower-left voice dock. The server rail uses KOOK's rounded-square silhouette and left-edge active marker, with distinct colored monogram tiles as placeholders. WebSpeak currently exposes the saved server label but no server icon image, so these tiles do not copy KOOK's artwork or expose a connection address. The host provides a stable color-tone number derived only from the privacy-safe label, so a tile keeps its color when the saved list order changes. The KOOK voice room is the point-to-point visual reference: composition, member presentation, styling, and motion should be compared directly, rather than treating matching component types or approximate placement as sufficient. The left tree contains the TeamSpeak voice channels only; KOOK's separate text-channel group is outside this pass because TeamSpeak has no equivalent channel type. The current voice channel's text chat remains on the right and can collapse into a narrow rail, then expand again without leaving the voice room. Its header uses the `#` channel mark and an unobtrusive close control; the composer sits at the bottom edge. Messages use author monograms, a separate identity/time line, and readable message text. The central stage uses WebSpeak's reusable member-card widget so available TeamSpeak profile avatars appear inside KAAK's participant tiles; the tiles use a wide 1.82:1 layout with a responsive grid to match KOOK's participant presentation. KAAK's CSS adds hover depth, a speaking ring, and a waveform pulse driven by live voice state. The host's screen-share player appears in the room stage when someone is sharing. The dock retains WebSpeak's trusted voice-quality, audio, screen-share, and disconnect controls. The roster shows connected TeamSpeak clients only; it does not invent an offline list. Channel selection is single-click; joining is double-click. The narrow layout keeps the host's mobile controls available while retaining readable member tiles.
The single TeamSpeak voice-channel group in the left tree can collapse and expand like KOOK's voice group; the separate KOOK text-channel group remains outside this pass.
Binary file not shown.
+3
View File
@@ -258,6 +258,9 @@
{
"tag": "span",
"part": "server-monogram",
"attributes": {
"data-tone": "{{server.tone}}"
},
"children": [
{
"text": "{{server.monogram}}"
+1 -1
View File
@@ -3,7 +3,7 @@
"packageType": "open-skin",
"id": "community.kaak-voice",
"name": "KAAK",
"version": "3.1.12",
"version": "3.1.13",
"author": "WebSpeak Project",
"license": "AGPL-3.0-only",
"description": "A KOOK-inspired voice workspace with collapsible voice groups and current voice-channel chat, TeamSpeak profile cards, and animated speaker states.",
+7 -8
View File
@@ -276,14 +276,13 @@
transition: border-radius .18s ease, transform .18s ease, border-color .18s ease, filter .18s ease;
}
[data-ws-plugin-part="kaak-workspace.quick-server-item"]:nth-of-type(8n + 1) [data-ws-plugin-part="kaak-workspace.server-monogram"] { background: linear-gradient(145deg, #b54645, #59304a); }
[data-ws-plugin-part="kaak-workspace.quick-server-item"]:nth-of-type(8n + 2) [data-ws-plugin-part="kaak-workspace.server-monogram"] { background: linear-gradient(145deg, #7756b7, #352d5e); }
[data-ws-plugin-part="kaak-workspace.quick-server-item"]:nth-of-type(8n + 3) [data-ws-plugin-part="kaak-workspace.server-monogram"] { background: linear-gradient(145deg, #268f83, #20524f); }
[data-ws-plugin-part="kaak-workspace.quick-server-item"]:nth-of-type(8n + 4) [data-ws-plugin-part="kaak-workspace.server-monogram"] { background: linear-gradient(145deg, #477fbc, #294763); }
[data-ws-plugin-part="kaak-workspace.quick-server-item"]:nth-of-type(8n + 5) [data-ws-plugin-part="kaak-workspace.server-monogram"] { background: linear-gradient(145deg, #bd5b76, #63374d); }
[data-ws-plugin-part="kaak-workspace.quick-server-item"]:nth-of-type(8n + 6) [data-ws-plugin-part="kaak-workspace.server-monogram"] { background: linear-gradient(145deg, #b97837, #64442f); }
[data-ws-plugin-part="kaak-workspace.quick-server-item"]:nth-of-type(8n + 7) [data-ws-plugin-part="kaak-workspace.server-monogram"] { background: linear-gradient(145deg, #397c9a, #304560); }
[data-ws-plugin-part="kaak-workspace.quick-server-item"]:nth-of-type(8n + 8) [data-ws-plugin-part="kaak-workspace.server-monogram"] { background: linear-gradient(145deg, #638a49, #3a513d); }
[data-ws-plugin-part="kaak-workspace.server-monogram"][data-tone="0"] { background: linear-gradient(145deg, #b54645, #59304a); }
[data-ws-plugin-part="kaak-workspace.server-monogram"][data-tone="1"] { background: linear-gradient(145deg, #7756b7, #352d5e); }
[data-ws-plugin-part="kaak-workspace.server-monogram"][data-tone="2"] { background: linear-gradient(145deg, #268f83, #20524f); }
[data-ws-plugin-part="kaak-workspace.server-monogram"][data-tone="3"] { background: linear-gradient(145deg, #477fbc, #294763); }
[data-ws-plugin-part="kaak-workspace.server-monogram"][data-tone="4"] { background: linear-gradient(145deg, #bd5b76, #63374d); }
[data-ws-plugin-part="kaak-workspace.server-monogram"][data-tone="5"] { background: linear-gradient(145deg, #b97837, #64442f); }
[data-ws-plugin-part="kaak-workspace.server-monogram"][data-tone="6"] { background: linear-gradient(145deg, #638a49, #3a513d); }
[data-ws-plugin-part="kaak-workspace.quick-server"][aria-current="true"] [data-ws-plugin-part="kaak-workspace.server-monogram"] {
border-color: var(--skin-kaak-accent);