fix(skins): show active screen sharing across bundled themes

This commit is contained in:
illusia committed 2026-10-11 23:17:11 +08:00
1 parent d9749ac12f
commit df2ff79e15
20 files changed
+180 -20

No files matched your search

+3 -3
View File
@@ -1,11 +1,11 @@
# ILLUSIA风
ILLUSIA 风格 is a schema v3 open-skin example built from the local artwork in [illusia-voice/assets](./illusia-voice/assets/). Version 2.0.0 keeps its existing light-glass CSS and adds a small declarative current-channel card to exercise the new component renderer. The package still uses WebSpeak's base translations and contains no executable skin code.
ILLUSIA 风格 is a schema v3 open-skin example built from the local artwork in [illusia-voice/assets](./illusia-voice/assets/). Version 2.0.1 keeps its existing light-glass CSS and current-channel card, and adds matching visual treatment for the host member-card screen-share status and watch action. The package still uses WebSpeak's base translations and contains no executable skin code.
The new voice-page component is defined in [components.json](./illusia-voice/components.json). It reads only the current public channel name through session.status.read and uses a local mascot image for a compact, non-interactive glass badge. The component needs the user's local approval before it renders; that approval is scoped to this skin version and can be revoked from the host access control. It cannot switch channels, read favorites, access a server address, or control audio.
The CSS continues to style the WebSpeak home page, voice workspace, screen-share player and /demo with cyan accents and original art. The homepage includes translucent navigation and selectors, animated mascot details, feature tiles, a visitor badge, a join action and a curved footer. The voice workspace includes the shared quick-server list, channel/member views, chat empty state, screen-share art and audio controls. The mobile view keeps WebSpeak's responsive host navigation while applying ILLUSIA colors and artwork.
The CSS continues to style the WebSpeak home page, voice workspace, screen-share player and /demo with cyan accents and original art. The homepage includes translucent navigation and selectors, animated mascot details, feature tiles, a visitor badge, a join action and a curved footer. The voice workspace includes the shared quick-server list, channel/member views, chat empty state, screen-share art and audio controls. The shared member cards detect active screen shares and show a themed live badge and watch button. The mobile view keeps WebSpeak's responsive host navigation while applying ILLUSIA colors and artwork.
The distributable package and the copy served from web/public/skins are built from the source folder. After changing source files, recreate docs/examples/illusia-voice.wskin from that folder and copy the resulting package to web/public/skins/illusia-voice.wskin. Run the package import test to confirm both copies stay byte-identical and valid.
The distributable package and the copy served from web/public/skins are built from the source folder. After changing source files, run `npm run skin:illusia:build` to recreate both copies. Run the package import test to confirm both copies stay byte-identical and valid.
Use only artwork you have permission to redistribute when publishing a skin to other WebSpeak instances.