display/
display_color.rs

1/// An abstraction of colors to display.
2#[derive(Clone, Copy, Debug, Eq, PartialEq)]
3#[allow(clippy::exhaustive_enums)]
4pub enum DisplayColor {
5	/// The color for the break action.
6	ActionBreak,
7	/// The color for the drop action.
8	ActionDrop,
9	/// The color for the edit action.
10	ActionEdit,
11	/// The color for the exec action.
12	ActionExec,
13	/// The color for the fixup action.
14	ActionFixup,
15	/// The color for the pick action.
16	ActionPick,
17	/// The color for the reword action.
18	ActionReword,
19	/// The color for the squash action.
20	ActionSquash,
21	/// The color for the label action.
22	ActionLabel,
23	/// The color for the reset action.
24	ActionReset,
25	/// The color for the merge action.
26	ActionMerge,
27	/// The color for the merge action.
28	ActionUpdateRef,
29	/// The color for added lines in a diff.
30	DiffAddColor,
31	/// The color for changed lines in a diff.
32	DiffChangeColor,
33	/// The color for removed lines in a diff.
34	DiffRemoveColor,
35	/// The color for context lines in a diff.
36	DiffContextColor,
37	/// The color for whitespace characters in a diff.
38	DiffWhitespaceColor,
39	/// The color for indicator text.
40	IndicatorColor,
41	/// The color for the standard text.
42	Normal,
43}