feat(kaak): match KOOK server rail icons

This commit is contained in:
Corrupted ILLUSIA committed 2026-10-10 19:11:12 +08:00
1 parent d9b83f12cc
commit b9c017f9aa
7 files changed
+34 -7

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 voice page uses a narrow server rail, a server/channel tree, a central participant stage, right-side chat attached to the current voice channel, and a lower-left voice dock. 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; 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 large portrait tiles; KAAK's CSS styles the cards and 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 voice page uses a narrow server rail, a server/channel tree, a central participant stage, right-side chat attached to the current voice channel, and a lower-left voice dock. The server rail follows KOOK's rounded-square icon shape and left-edge active marker. 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; 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 large portrait tiles; KAAK's CSS styles the cards and 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 design target is the voice-client portion of KOOK, as requested by the project owner. It does not include discovery, companion/party, event, store, advertising, administrator, or other service-operator pages. It does not add a KOOK account flow, direct messages, server administration, or channels absent from the connected TeamSpeak server.
Binary file not shown.
+1 -1
View File
@@ -3,7 +3,7 @@
"packageType": "open-skin",
"id": "community.kaak-voice",
"name": "KAAK",
"version": "3.1.7",
"version": "3.1.8",
"author": "WebSpeak Project",
"license": "AGPL-3.0-only",
"description": "A KOOK-inspired voice workspace with collapsible current voice-channel chat, TeamSpeak profile cards, and animated speaker states.",
+30 -3
View File
@@ -217,16 +217,18 @@
}
[data-ws-plugin-part="kaak-workspace.quick-server"] {
position: relative;
display: grid;
place-items: center;
width: 50px;
min-height: 50px;
padding: 1px;
border: 0;
border-radius: 50%;
border-radius: 14px;
color: var(--skin-kaak-muted);
background: transparent;
cursor: pointer;
transition: background-color .18s ease;
}
[data-ws-plugin-part="kaak-workspace.quick-server"]:hover,
@@ -237,7 +239,25 @@
[data-ws-plugin-part="kaak-workspace.quick-server"][aria-current="true"] {
color: var(--skin-kaak-text);
box-shadow: inset 3px 0 var(--skin-kaak-accent);
}
[data-ws-plugin-part="kaak-workspace.quick-server"][aria-current="true"]::before {
position: absolute;
left: -7px;
top: 50%;
width: 3px;
height: 22px;
border-radius: 0 3px 3px 0;
background: var(--skin-kaak-accent);
content: "";
transform: translateY(-50%);
transform-origin: center;
animation: kaak-server-active-arrive .2s cubic-bezier(.2, .75, .25, 1) both;
}
@keyframes kaak-server-active-arrive {
from { opacity: 0; transform: translateY(-50%) scaleY(.55); }
to { opacity: 1; transform: translateY(-50%) scaleY(1); }
}
[data-ws-plugin-part="kaak-workspace.server-monogram"] {
@@ -247,19 +267,26 @@
height: 42px;
overflow: hidden;
border: 1px solid #ffffff12;
border-radius: 50%;
border-radius: 13px;
color: var(--skin-kaak-text);
background: linear-gradient(145deg, #383a40, #222429);
font-size: 15px;
font-weight: 800;
text-align: center;
transition: border-radius .18s ease, transform .18s ease, border-color .18s ease;
}
[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);
border-radius: 12px;
background: color-mix(in srgb, var(--skin-kaak-accent) 18%, #222429);
}
[data-ws-plugin-part="kaak-workspace.quick-server"]:hover [data-ws-plugin-part="kaak-workspace.server-monogram"] {
border-radius: 11px;
transform: scale(1.04);
}
[data-ws-plugin-part="kaak-workspace.server-kind"] {
display: none;
color: var(--skin-kaak-dim);
Binary file not shown.
+1 -1
View File
@@ -46,7 +46,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [
{
id: BUILTIN_KAAK_SKIN_ID,
name: "KAAK",
version: "3.1.7",
version: "3.1.8",
author: "WebSpeak Project",
license: "AGPL-3.0-only",
description: "A KOOK-inspired voice-room workspace with collapsible current voice-channel chat, TeamSpeak profile cards, and host-owned voice controls.",
+1 -1
View File
@@ -464,7 +464,7 @@ test("the distributable KAAK package provides full home and voice surfaces", asy
const file = new File([archive], "kaak-voice.wskin", { type: "application/octet-stream" });
const skin = await importSkinPack(file);
assert.equal(skin.id, "community.kaak-voice");
assert.equal(skin.version, "3.1.7");
assert.equal(skin.version, "3.1.8");
assert.equal(BUILTIN_SKIN_CATALOG.find((entry) => entry.id === skin.id)?.version, skin.version);
assert.equal(skin.schemaVersion, 3);
const home = skin.pluginData?.components.find((component) => component.page === "home");