Documentation ¶
Overview ¶
Package colors provides helper functions to manage color and color schemes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Hex ¶
Hex sanity-checks and constructs a color from a hex-string. Any string that can be parsed by colorful is acceptable.
func LoadFromArgs ¶
func LoadFromArgs(args []string)
LoadFromArgs loads a color scheme from command-line arguments of the form name=value.
func LoadFromConfig ¶
LoadFromConfig loads a color scheme from a i3status config file by reading all keys that start with 'color_'
func LoadFromMap ¶
LoadFromMap sets the colour scheme from code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.