colors

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Background is the main background color
	Background = color.RGBA{
		R: 0x33,
		G: 0x99,
		B: 0xda,
		A: 0xff,
	}

	// Foreground is the primary color for labels etc.
	Foreground = color.RGBA{
		R: 0x26,
		G: 0x32,
		B: 0x38,
		A: 0xff,
	}

	// ForegroundAlt is the alternative color for buttons etc.
	ForegroundAlt = color.RGBA{
		R: 0xec,
		G: 0xef,
		B: 0xf1,
		A: 0xff,
	}

	// ForegroundError is the foreground color for errors
	ForegroundError = color.RGBA{
		R: 0xe8,
		G: 0x6a,
		B: 0x17,
		A: 0xff,
	}

	// BackgroundBoard is the background for the board of pieces
	BackgroundBoard = color.RGBA{
		R: 0x5c,
		G: 0xa2,
		B: 0xe0,
		A: 0xff,
	}

	// BorderBoard is the color for borders in board of pieces
	BorderBoard = color.RGBA{
		R: 0x63,
		G: 0xaf,
		B: 0xf3,
		A: 0xff,
	}

	// DialogBackdrop is the color behind dialogs
	DialogBackdrop = color.RGBA{
		R: 0x0,
		G: 0x0,
		B: 0x0,
		A: 0x7f,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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