MCPcopy Create free account
hub / github.com/evolify/dumpfun / getOpacity

Function getOpacity

app/modules/table.tsx:31–33  ·  view source on GitHub ↗
(percent: number)

Source from the content-addressed store, hash-verified

29}
30
31function getOpacity(percent: number) {
32 return 0.2 + percent * 0.1
33}
34
35function getBackground(percent: number) {
36 return `linear-gradient(to right, rgba(66, 179, 245, ${getOpacity(

Callers 1

getBackgroundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected