Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arctic-cli/interface
/ val
Function
val
packages/arctic/src/cli/cmd/tui/context/theme.tsx:317–317 ·
view source on GitHub ↗
(x: number)
Source
from the content-addressed store, hash-verified
315
const r = Math.floor(index / 36)
316
317
const val = (x: number) => (x === 0 ? 0 : x * 40 + 55)
318
return RGBA.fromInts(val(r), val(g), val(b))
319
}
320
Callers
3
DialogStatus
Function · 0.85
Sidebar
Function · 0.85
ansiToRgba
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected