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

Function GetTheme

styles/styles.go:25–29  ·  view source on GitHub ↗

GetTheme returns the current theme

()

Source from the content-addressed store, hash-verified

23
24// GetTheme returns the current theme
25func GetTheme() *config.Theme {
26 themeMutex.RLock()
27 defer themeMutex.RUnlock()
28 return currentTheme
29}
30
31// Header styles
32func HeaderStyle() lipgloss.Style {

Callers 15

inspectModelViewMethod · 0.92
topViewMethod · 0.92
printFullHelpMethod · 0.92
RenderMethod · 0.92
HeaderStyleFunction · 0.85
HeaderBorderStyleFunction · 0.85
ItemNameStyleFunction · 0.85
ItemDateStyleFunction · 0.85
ItemShaStyleFunction · 0.85
ItemBorderStyleFunction · 0.85
SelectedItemStyleFunction · 0.85
SizeStyleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected