fix: shrink Illusia voice artwork

This commit is contained in:
illusia committed 2026-09-27 12:56:40 +08:00
1 parent e8dc71329b
commit e0d5916a86
6 files changed
+9 -8

No files matched your search

Binary file not shown.
+1 -1
View File
@@ -2,7 +2,7 @@
"schemaVersion": 1,
"id": "community.illusia-voice",
"name": "ILLUSIA风",
"version": "1.0.26",
"version": "1.0.27",
"author": "WebSpeak Project",
"license": "All rights reserved",
"description": "A bright original-character art skin for the home, voice room, and demo pages.",
+4 -4
View File
@@ -369,8 +369,8 @@
[data-ws-part="voice.activity.artwork"] {
background-image: url("assets/banner-character-main.webp");
background-position: right 34% center;
background-size: auto 320px;
background-position: right 16px bottom 8px;
background-size: auto 150px;
filter: drop-shadow(0 18px 22px rgba(30, 113, 134, .2));
}
@@ -810,8 +810,8 @@
}
[data-ws-part="voice.activity.artwork"] {
background-position: right 28% center;
background-size: auto 280px;
background-position: right 12px bottom 6px;
background-size: auto 118px;
}
[data-ws-part="voice.chat.empty"][data-ws-state="messages-empty"] {
Binary file not shown.
+1 -1
View File
@@ -43,7 +43,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [
{
id: BUILTIN_ILLUSIA_SKIN_ID,
name: "ILLUSIA风",
version: "1.0.26",
version: "1.0.27",
author: "WebSpeak Project",
license: "All rights reserved",
description: "A bright original-character art skin for the home, voice room, and demo pages.",
+3 -2
View File
@@ -123,7 +123,7 @@ test("the ILLUSIA visual-only example imports without replacing WebSpeak's base
const skin = await importSkinPack(new File([bytes], "illusia-voice.wskin", { type: "application/octet-stream" }));
assert.equal(skin.id, "community.illusia-voice");
assert.equal(skin.name, "ILLUSIA风");
assert.equal(skin.version, "1.0.26");
assert.equal(skin.version, "1.0.27");
assert.equal(skin.contentData, undefined);
assert.equal(skin.previewBlob?.type, "image/webp");
assert.ok(skin.assets["assets/background-composite.webp"]);
@@ -154,7 +154,8 @@ test("the ILLUSIA visual-only example imports without replacing WebSpeak's base
assert.match(skin.css, /voice\.activity[\s\S]*?wskin-asset:assets%2Fbanner-character-main\.webp/);
assert.match(skin.css, /voice\.activity\.artwork[\s\S]*?wskin-asset:assets%2Fbanner-character-main\.webp/);
assert.match(skin.css, /data-ws-part="voice\.activity"\]\s*\{[^}]*border-color:\s*rgba\(113, 211, 222, \.62\);[^}]*border-radius:\s*24px;[^}]*background-image:[\s\S]*?bg-room-main\.webp[^}]*backdrop-filter:\s*blur\(10px\)/);
assert.match(skin.css, /voice\.activity\.artwork[^{}]*\{[^}]*background-position:\s*right 34% center;[^}]*background-size:\s*auto 320px;[^}]*filter:\s*drop-shadow\(0 18px 22px/);
assert.match(skin.css, /voice\.activity\.artwork[^{}]*\{[^}]*background-position:\s*right 16px bottom 8px;[^}]*background-size:\s*auto 150px;[^}]*filter:\s*drop-shadow\(0 18px 22px/);
assert.match(skin.css, /@media \(max-width: 1100px\)[\s\S]*?voice\.activity\.artwork[^{}]*\{[^}]*background-position:\s*right 12px bottom 6px;[^}]*background-size:\s*auto 118px/);
assert.doesNotMatch(skin.css, /voice\.chat\.empty[^{}]*data-ws-state="messages-empty"\]\s*> :first-child/);
assert.match(skin.css, /data-ws-part="voice\.channel-group"\]\s*\{[^}]*border-color:\s*rgba\(8, 126, 134, \.32\)/);
assert.match(skin.css, /data-ws-part="voice\.channel-group"\]\[data-ws-state="current"\]\s*\{[^}]*border-color:\s*rgba\(8, 126, 134, \.48\)/);