colour

package
v0.0.0-...-1781a9a Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 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

func (c *Colour) Option() option

func (*Colour) OptionSection

func (c *Colour) OptionSection() optionSection

func (*Colour) OptionSetting

func (c *Colour) OptionSetting() optionSetting

func (*Colour) OptionTheme

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