MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / modalBorderColor

Function modalBorderColor

scripts/hsr/widget-view.mjs:70–74  ·  view source on GitHub ↗
(tone)

Source from the content-addressed store, hash-verified

68}
69
70function modalBorderColor(tone) {
71 if (tone === "error") return palette.red;
72 if (tone === "info") return palette.cyan;
73 return palette.green;
74}
75
76function normalizeStatus(rawStatus) {
77 const source = typeof rawStatus === "object" && rawStatus !== null ? rawStatus : {};

Callers 1

renderFeedbackModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected