Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RtlZeroMemory/Rezi
/ statusColor
Function
statusColor
scripts/hsr/widget-view.mjs:52–56 ·
view source on GitHub ↗
(level)
Source
from the content-addressed store, hash-verified
50
}
51
52
function
statusColor(level) {
53
if
(level ===
"error"
)
return
palette.red;
54
if
(level ===
"warn"
)
return
palette.orange;
55
return
palette.green;
56
}
57
58
function
statusIcon(level) {
59
if
(level ===
"error"
)
return
"!"
;
Callers
1
renderEditorPanel
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected