MCPcopy
hub / github.com/sammcj/gollama / GetColour

Method GetColour

config/theme.go:555–557  ·  view source on GitHub ↗

GetColour returns a lipgloss.Colour from a theme colour string

(colour string)

Source from the content-addressed store, hash-verified

553
554// GetColour returns a lipgloss.Colour from a theme colour string
555func (t *Theme) GetColour(colour string) lipgloss.Color {
556 return lipgloss.Color(colour)
557}
558
559// GetFamilyColour returns the colour for a model family
560func (t *Theme) GetFamilyColour(family string) lipgloss.Color {

Callers 15

GetFamilyColourMethod · 0.95
inspectModelViewMethod · 0.80
topViewMethod · 0.80
printFullHelpMethod · 0.80
RenderMethod · 0.80
HeaderStyleFunction · 0.80
HeaderBorderStyleFunction · 0.80
ItemNameStyleFunction · 0.80
ItemDateStyleFunction · 0.80
ItemShaStyleFunction · 0.80
ItemBorderStyleFunction · 0.80
SelectedItemStyleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected