floem/views/editor/
color.rs1use strum_macros::{Display, EnumIter, EnumString, IntoStaticStr};
2
3#[derive(Display, EnumString, EnumIter, IntoStaticStr, Debug, Clone, Copy, PartialEq, Eq)]
4pub enum EditorColor {
5 #[strum(serialize = "editor.background")]
6 Background,
7 #[strum(serialize = "editor.scroll_bar")]
8 Scrollbar,
9 #[strum(serialize = "editor.dropdown_shadow")]
10 DropdownShadow,
11 #[strum(serialize = "editor.foreground")]
12 Foreground,
13 #[strum(serialize = "editor.dim")]
14 Dim,
15 #[strum(serialize = "editor.focus")]
16 Focus,
17 #[strum(serialize = "editor.caret")]
18 Caret,
19 #[strum(serialize = "editor.selection")]
20 Selection,
21 #[strum(serialize = "editor.current_line")]
22 CurrentLine,
23 #[strum(serialize = "editor.link")]
24 Link,
25 #[strum(serialize = "editor.visible_whitespace")]
26 VisibleWhitespace,
27 #[strum(serialize = "editor.indent_guide")]
28 IndentGuide,
29 #[strum(serialize = "editor.sticky_header_background")]
30 StickyHeaderBackground,
31 #[strum(serialize = "editor.preedit.underline")]
32 PreeditUnderline,
33}