theme/cupertino/color.go

Structs

Structs

type ColorScheme struct

ColorScheme holds the Apple HIG color roles for the Cupertino theme.

 

Apple uses a set of system-defined adaptive colors that automatically

adjust between light and dark modes. This struct provides both semantic

colors and the full set of system colors.

type ColorScheme struct {
	// Accent is the primary tint color (default: System Blue #007AFF).
	Accent	widget.Color

	// OnAccent is the text/icon color on accent backgrounds.
	OnAccent	widget.Color

	// Label is the primary text color.
	Label	widget.Color

	// SecondaryLabel is the color for secondary text.
	SecondaryLabel	widget.Color

	// TertiaryLabel is the color for tertiary text (placeholders).
	TertiaryLabel	widget.Color

	// QuaternaryLabel is the color for quaternary text (disabled).
	QuaternaryLabel	widget.Color

	// SystemBackground is the primary background color.
	SystemBackground	widget.Color

	// SecondarySystemBackground is the grouped/secondary background.
	SecondarySystemBackground	widget.Color

	// TertiarySystemBackground is the elevated/tertiary background.
	TertiarySystemBackground	widget.Color

	// Separator is the color for thin separators.
	Separator	widget.Color

	// OpaqueSeparator is the color for opaque separators.
	OpaqueSeparator	widget.Color

	// SystemFill is the color for thin overlays on interactive elements.
	SystemFill	widget.Color

	// SecondarySystemFill is the color for medium-thick overlays.
	SecondarySystemFill	widget.Color

	// TertiarySystemFill is the color for thick overlays.
	TertiarySystemFill	widget.Color

	// SystemRed is the destructive action color.
	SystemRed	widget.Color

	// SystemGreen is the success/confirmation color.
	SystemGreen	widget.Color

	// SystemOrange is the warning color.
	SystemOrange	widget.Color
}