Documentation ¶
Index ¶
- type CatppuccinAdaptiveTheme
- func (t *CatppuccinAdaptiveTheme) Base() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Blue() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Crust() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Flamingo() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Green() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Lavender() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Mantle() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Maroon() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Mauve() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Name() string
- func (t *CatppuccinAdaptiveTheme) Overlay0() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Overlay1() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Overlay2() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Peach() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Pink() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Red() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Rosewater() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Sapphire() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Sky() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Subtext0() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Subtext1() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Surface0() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Surface1() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Surface2() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Teal() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Text() lipgloss.AdaptiveColor
- func (t *CatppuccinAdaptiveTheme) Yellow() lipgloss.AdaptiveColor
- type Handler
- func (h *Handler) New() messages.OutputHandler
- func (h *Handler) StyledMetricName(metric messages.DogStatsDMetric, width int) string
- func (h *Handler) StyledMetricType(metric messages.DogStatsDMetric) string
- func (h *Handler) StyledMetricValue(metric messages.DogStatsDMetric, width int) string
- func (h *Handler) StyledTags(metric messages.DogStatsDMetric, extraTags []string) string
- type LipglossAdaptiveTheme
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatppuccinAdaptiveTheme ¶
type CatppuccinAdaptiveTheme struct { Light catppuccin.Flavour Dark catppuccin.Flavour }
func (*CatppuccinAdaptiveTheme) Base ¶
func (t *CatppuccinAdaptiveTheme) Base() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Blue ¶
func (t *CatppuccinAdaptiveTheme) Blue() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Crust ¶
func (t *CatppuccinAdaptiveTheme) Crust() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Flamingo ¶
func (t *CatppuccinAdaptiveTheme) Flamingo() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Green ¶
func (t *CatppuccinAdaptiveTheme) Green() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Lavender ¶
func (t *CatppuccinAdaptiveTheme) Lavender() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Mantle ¶
func (t *CatppuccinAdaptiveTheme) Mantle() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Maroon ¶
func (t *CatppuccinAdaptiveTheme) Maroon() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Mauve ¶
func (t *CatppuccinAdaptiveTheme) Mauve() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Name ¶
func (t *CatppuccinAdaptiveTheme) Name() string
func (*CatppuccinAdaptiveTheme) Overlay0 ¶
func (t *CatppuccinAdaptiveTheme) Overlay0() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Overlay1 ¶
func (t *CatppuccinAdaptiveTheme) Overlay1() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Overlay2 ¶
func (t *CatppuccinAdaptiveTheme) Overlay2() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Peach ¶
func (t *CatppuccinAdaptiveTheme) Peach() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Pink ¶
func (t *CatppuccinAdaptiveTheme) Pink() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Red ¶
func (t *CatppuccinAdaptiveTheme) Red() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Rosewater ¶
func (t *CatppuccinAdaptiveTheme) Rosewater() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Sapphire ¶
func (t *CatppuccinAdaptiveTheme) Sapphire() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Sky ¶
func (t *CatppuccinAdaptiveTheme) Sky() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Subtext0 ¶
func (t *CatppuccinAdaptiveTheme) Subtext0() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Subtext1 ¶
func (t *CatppuccinAdaptiveTheme) Subtext1() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Surface0 ¶
func (t *CatppuccinAdaptiveTheme) Surface0() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Surface1 ¶
func (t *CatppuccinAdaptiveTheme) Surface1() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Surface2 ¶
func (t *CatppuccinAdaptiveTheme) Surface2() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Teal ¶
func (t *CatppuccinAdaptiveTheme) Teal() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Text ¶
func (t *CatppuccinAdaptiveTheme) Text() lipgloss.AdaptiveColor
func (*CatppuccinAdaptiveTheme) Yellow ¶
func (t *CatppuccinAdaptiveTheme) Yellow() lipgloss.AdaptiveColor
type Handler ¶
type Handler struct { Logger *log.Logger Theme *CatppuccinAdaptiveTheme ExtraTags []string NameWidth int ValueWidth int }
func (*Handler) New ¶
func (h *Handler) New() messages.OutputHandler
func (*Handler) StyledMetricName ¶ added in v0.5.0
func (h *Handler) StyledMetricName(metric messages.DogStatsDMetric, width int) string
func (*Handler) StyledMetricType ¶ added in v0.5.0
func (h *Handler) StyledMetricType(metric messages.DogStatsDMetric) string
func (*Handler) StyledMetricValue ¶ added in v0.5.0
func (h *Handler) StyledMetricValue(metric messages.DogStatsDMetric, width int) string
func (*Handler) StyledTags ¶ added in v0.5.0
func (h *Handler) StyledTags(metric messages.DogStatsDMetric, extraTags []string) string
type LipglossAdaptiveTheme ¶
type LipglossAdaptiveTheme interface { Rosewater() lipgloss.AdaptiveColor Flamingo() lipgloss.AdaptiveColor Pink() lipgloss.AdaptiveColor Mauve() lipgloss.AdaptiveColor Red() lipgloss.AdaptiveColor Maroon() lipgloss.AdaptiveColor Peach() lipgloss.AdaptiveColor Yellow() lipgloss.AdaptiveColor Green() lipgloss.AdaptiveColor Teal() lipgloss.AdaptiveColor Sky() lipgloss.AdaptiveColor Sapphire() lipgloss.AdaptiveColor Blue() lipgloss.AdaptiveColor Lavender() lipgloss.AdaptiveColor Text() lipgloss.AdaptiveColor Subtext1() lipgloss.AdaptiveColor Subtext0() lipgloss.AdaptiveColor Overlay2() lipgloss.AdaptiveColor Overlay1() lipgloss.AdaptiveColor Overlay0() lipgloss.AdaptiveColor Surface2() lipgloss.AdaptiveColor Surface1() lipgloss.AdaptiveColor Surface0() lipgloss.AdaptiveColor Crust() lipgloss.AdaptiveColor Mantle() lipgloss.AdaptiveColor Base() lipgloss.AdaptiveColor Name() string }
Click to show internal directories.
Click to hide internal directories.