colors

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultFgColor = "white"
	DefaultBgColor = "#000000"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ColorPalette

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

func NewColorPalette

func NewColorPalette(workflow *model.Workflow) ColorPalette

func (*ColorPalette) GroupColor

func (cp *ColorPalette) GroupColor(group string) *colors.RGBAColor

func (*ColorPalette) StateColor

func (cp *ColorPalette) StateColor(state string) (string, string)

func (*ColorPalette) StateToGroup

func (cp *ColorPalette) StateToGroup(state string) *string

Jump to

Keyboard shortcuts

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