- commit
- e51235640baabf69c37696c1c129147c3afd8ecd
- parent
- d325f82a8fd5e159324a9da75fd2bcb4bfee3d27
- author
- dami etoile <dami.etoile@gmail.com>
| M | dashboard/ | 10 | +++++----- |
| M | dashboard/ | 3 | ++- |
@@ -263,10 +263,10 @@
263263 items.length === 0 ? h("span", { className: "os-col-empty" }, "—") :264264 items.map(function (it) {265265 var artifacts = [];266- if (it.hasProposal) artifacts.push({ d: ICO.proposal, label: "proposal" });267- if (it.hasTasks) artifacts.push({ d: ICO.tasks, label: "tasks" });268- if (it.hasDesign) artifacts.push({ d: ICO.design, label: "design" });269- if (it.hasSpecs) artifacts.push({ d: ICO.specs, label: "specs" });266+ if (it.hasProposal) artifacts.push({ c: "#60a5fa", label: "proposal" });267+ if (it.hasTasks) artifacts.push({ c: "#34d399", label: "tasks" });268+ if (it.hasDesign) artifacts.push({ c: "#a78bfa", label: "design" });269+ if (it.hasSpecs) artifacts.push({ c: "#fbbf24", label: "specs" });270270 var pct = it.taskStats && it.taskStats.total > 0 ? Math.round((it.taskStats.done / it.taskStats.total) * 100) : 0;271271 return h("button", {272272 key: it.id || it.name, className: cn("os-card", STATUS_TONE[it.status] || ""), onClick: function () { onSelectItem(it); },@@ -274,7 +274,7 @@
274274 h("div", { className: "os-card-title" }, it.title || it.name),275275 h("div", { className: "os-card-foot" },276276 artifacts.length ? h("span", { className: "os-card-artifacts" },277- artifacts.map(function (a, i) { return h(Icon, { key: i, d: a.d, size: 11, title: a.label }); })277+ artifacts.map(function (a, i) { return h("span", { key: i, className: "os-card-dot", title: a.label, style: { background: a.c } }); })278278 ) : null,279279 it.taskStats ? h("span", { className: "os-card-progress" },280280 h("span", { className: "os-card-progress-track" }, h("span", { className: "os-card-progress-fill", style: { width: pct + "%" } })),@@ -43,7 +43,8 @@
4343 .os-card-title { font-size: 0.82rem; font-weight: 500; line-height: 1.3; color: var(--color-foreground, #eee); }4444 .os-card-foot { display: flex; align-items: center; gap: 0.375rem; flex-wrap: wrap; }4545 .os-card-foot .os-chip { width: 100%; margin-top: 0.125rem; }46-.os-card-artifacts { font-size: 0.62rem; font-family: var(--theme-font-mono, monospace); letter-spacing: 0.05em; color: var(--color-muted-foreground, #777); }46+.os-card-artifacts { display: inline-flex; align-items: center; gap: 0.25rem; }47+.os-card-dot { display: inline-block; width: 0.4375rem; height: 0.4375rem; border-radius: 50%; }4748 .os-card-progress { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }4849 .os-card-progress-track { width: 2.5rem; height: 0.25rem; border-radius: 0.125rem; background: var(--color-secondary, rgba(255,255,255,0.08)); overflow: hidden; }4950 .os-card-progress-fill { display: block; height: 100%; border-radius: 0.125rem; background: var(--color-primary, #60a5fa); }