colour

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToAdaptive

func ToAdaptive(clr color.Color) lipgloss.AdaptiveColor

func ToComplementary

func ToComplementary(hexClr string) string

func ToDefault

func ToDefault(clr color.Color) string

func Update

func Update() tea.Msg

Types

type Colour

type Colour struct {
	// contains filtered or unexported fields
}

func New

func New(th theme.Theme) *Colour

func (*Colour) Body

func (c *Colour) Body() body

func (*Colour) FilterList

func (c *Colour) FilterList() filterlist

func (*Colour) Footer

func (c *Colour) Footer() footer

func (*Colour) Header

func (c *Colour) Header() header

func (*Colour) Help

func (c *Colour) Help() help

func (*Colour) Info

func (c *Colour) Info() info

func (*Colour) Message

func (c *Colour) Message() message

func (*Colour) Option added in v0.11.0

func (c *Colour) Option() option

func (*Colour) OptionSection added in v0.11.0

func (c *Colour) OptionSection() optionSection

func (*Colour) OptionSetting added in v0.11.0

func (c *Colour) OptionSetting() optionSetting

func (*Colour) OptionTheme added in v0.11.0

func (c *Colour) OptionTheme() optionTheme

func (*Colour) Shortcut

func (c *Colour) Shortcut() shortcut

type Msg

type Msg int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL