team-relay 1.0.1 — use the real theme tokens

The panel styled itself with --text / --ok / --err, none of which exist in
the app. CSS silently fell back to the hardcoded defaults, so the member
name rendered near-white (#e8e8ee) and was invisible on the light theme.
Real tokens are --txt / --add / --del.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Bonchellon
2026-07-18 16:53:48 +03:00
parent 6919f0094a
commit 18426f27a3
3 changed files with 6 additions and 6 deletions

View File

@ -130,7 +130,7 @@ export function activate(host) {
inp.placeholder = ph || "";
inp.value = S.get(key) || "";
inp.style.cssText =
"padding:5px 7px;border:1px solid var(--border,#33333d);border-radius:6px;background:var(--bg,#0e0e12);color:var(--text,#e8e8ee);font:12px var(--mono,ui-monospace,monospace)";
"padding:5px 7px;border:1px solid var(--border,#33333d);border-radius:6px;background:var(--bg,#0e0e12);color:var(--txt,#e8e8ee);font:12px var(--mono,ui-monospace,monospace)";
inp.addEventListener("input", () => S.set(key, inp.value));
l.appendChild(inp);
return l;
@ -205,7 +205,7 @@ export function activate(host) {
el.textContent = "";
el.style.cssText =
"display:flex;flex-direction:column;height:100%;gap:9px;padding:11px 13px;overflow:auto;" +
"font:12px/1.5 var(--sans,system-ui,sans-serif);color:var(--text,#e8e8ee)";
"font:12px/1.5 var(--sans,system-ui,sans-serif);color:var(--txt,#e8e8ee)";
const head = document.createElement("div");
head.style.cssText = "display:flex;align-items:center;gap:8px";
@ -229,7 +229,7 @@ export function activate(host) {
const refresh = () => {
dot.style.background =
status === "ok" ? "var(--ok,#3ecf8e)" : status === "error" ? "var(--err,#ff6b6b)" : "var(--muted,#9a9aa8)";
status === "ok" ? "var(--add,#3ecf8e)" : status === "error" ? "var(--del,#ff6b6b)" : "var(--muted,#9a9aa8)";
statusText.textContent = statusMsg || "";
renderMembers(membersEl);
};

View File

@ -1,7 +1,7 @@
{
"id": "team-relay",
"name": "Team Relay",
"version": "1.0.0",
"version": "1.0.1",
"author": "Exbyte Studios",
"description": "See who on the team is online and what they have open, over a lightweight relay on your VPN. Coordinators (admin/super) can force-shelve a teammate's open work to the server when they've stepped away — the teammate's client does the shelve; nothing is submitted. Configure the relay URL in the Team tab. Requires the Exbyte relay service.",
"entry": "index.js",

View File

@ -1,6 +1,6 @@
{
"schema": "exbyte-depot-plugin-registry/1",
"updated": "2026-07-10T00:00:00Z",
"updated": "2026-07-18T00:00:00Z",
"plugins": [
{
"id": "unreal",
@ -23,7 +23,7 @@
{
"id": "team-relay",
"name": "Team Relay",
"version": "1.0.0",
"version": "1.0.1",
"author": "Exbyte Studios",
"description": "Team presence + coordinator shelve tools over a lightweight relay. See who's online and what they have open; coordinators (admin/super) can force-shelve a teammate's open work to the server when they step away. Nothing is submitted. Configure the relay URL in the Team tab.",
"permissions": [