Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidHex = errors.New("invalid HEX color code")
View Source
var InvalidColor = Color{/* contains filtered or unexported fields */}
Functions ¶
Types ¶
type Color ¶
type Color struct {
// contains filtered or unexported fields
}
type Theme ¶ added in v0.2.0
type Theme struct { Primary Color // Primary color for standard text Secondary Color // Secondary color for accentuating text Accent Color // Accent color for highlighting text Success Color // Color for success messages Info Color // Color for informational messages Warning Color // Color for warning messages Error Color // Color for error messages Debug Color // Color for debugging messages Notice Color // Color for notice messages NotImplemented Color // Color for not implemented features Deprecated Color // Color for deprecated features or elements BUG Color // Color for bug reports or critical issues Light Color // Light color Dark Color // Dark color Muted Color // Muted color }
Click to show internal directories.
Click to hide internal directories.