github.com/charmbracelet/colorprofile.Profile.Convert (method, view implemented interface methods)
11 uses
github.com/charmbracelet/colorprofile (current package)
profile.go#L58: func (p Profile) Convert(c color.Color) (cc color.Color) {
writer.go#L103: w.Profile.Convert(ansi.BasicColor(param - 30))) //nolint:gosec
writer.go#L112: style = style.ForegroundColor(w.Profile.Convert(c))
writer.go#L123: w.Profile.Convert(ansi.BasicColor(param - 40))) //nolint:gosec
writer.go#L132: style = style.BackgroundColor(w.Profile.Convert(c))
writer.go#L146: style = style.UnderlineColor(w.Profile.Convert(c))
writer.go#L157: w.Profile.Convert(ansi.BasicColor(param - 90 + 8))) //nolint:gosec
writer.go#L163: w.Profile.Convert(ansi.BasicColor(param - 100 + 8))) //nolint:gosec
github.com/charmbracelet/ultraviolet
cell.go#L448: s.Fg = p.Convert(s.Fg)
cell.go#L451: s.Bg = p.Convert(s.Bg)
cell.go#L454: s.UnderlineColor = p.Convert(s.UnderlineColor)
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)