MCPcopy
hub / github.com/derailed/k9s / StylesChanged

Method StylesChanged

internal/view/logger.go:91–95  ·  view source on GitHub ↗

StylesChanged notifies the skin changed.

(*config.Styles)

Source from the content-addressed store, hash-verified

89
90// StylesChanged notifies the skin changed.
91func (l *Logger) StylesChanged(*config.Styles) {
92 l.SetBackgroundColor(l.app.Styles.BgColor())
93 l.SetTextColor(l.app.Styles.FgColor())
94 l.SetBorderFocusColor(l.app.Styles.Frame().Border.FocusColor.Color())
95}
96
97// SetSubject updates the subject.
98func (l *Logger) SetSubject(s string) {

Callers 1

InitMethod · 0.95

Calls 5

BgColorMethod · 0.80
FgColorMethod · 0.80
ColorMethod · 0.80
FrameMethod · 0.80
SetBackgroundColorMethod · 0.65

Tested by

no test coverage detected