MCPcopy Create free account
hub / github.com/NV404/gova / Color

Method Color

modifier.go:196–199  ·  view source on GitHub ↗

Color sets the foreground color. Accepts a plain color.Color (fixed) or a semantic color constant (g.Primary, g.Accent, etc.) which resolves against the active theme at render time.

(c any)

Source from the content-addressed store, hash-verified

194// or a semantic color constant (g.Primary, g.Accent, etc.) which resolves
195// against the active theme at render time.
196func (n *viewNode) Color(c any) *viewNode {
197 n.modifier.color = c
198 return n
199}
200
201func (n *viewNode) Background(c any) *viewNode {
202 n.modifier.background = c

Callers 11

NavLinkFunction · 0.45
BodyMethod · 0.45
BodyMethod · 0.45
BodyMethod · 0.45
main.goFile · 0.45
main.goFile · 0.45
chipRowFunction · 0.45
todoRowFunction · 0.45
main.goFile · 0.45
main.goFile · 0.45
main.goFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected