@@ -6,63 +6,62 @@ use toml_example::TomlExample;
6
6
/// String, e.g. "white", see <https://docs.rs/ratatui/latest/ratatui/style/enum.Color.html>
7
7
/// indexed, e.g. "10", see <https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit>
8
8
/// hex, e.g. "#a03f49", see <https://docs.rs/ratatui/latest/ratatui/style/enum.Color.html#method.deserialize>
9
- /// `toml_example` seems to not handle index and hex well, so the default is pure strings
10
9
#[ derive( Serialize , Deserialize , Debug , Default , TomlExample ) ]
11
10
pub struct ColorPalette {
12
11
/// Default Background
13
- #[ toml_example( default = "black " ) ]
12
+ #[ toml_example( default = "#1f2335 " ) ]
14
13
pub background : Color ,
15
14
16
15
/// Default Text Colour
17
- #[ toml_example( default = "white " ) ]
16
+ #[ toml_example( default = "#c0caf5 " ) ]
18
17
pub foreground : Color ,
19
18
20
19
/// Background for highlighted lines
21
- #[ toml_example( default = "darkgrey " ) ]
20
+ #[ toml_example( default = "#3b4261 " ) ]
22
21
pub background_highlight : Color ,
23
22
24
23
/// Foreground for highlighted lines
25
- #[ toml_example( default = "white " ) ]
24
+ #[ toml_example( default = "#ffc777 " ) ]
26
25
pub foreground_highlight : Color ,
27
26
28
27
/// background for unread message highlight
29
- #[ toml_example( default = "lightgray " ) ]
28
+ #[ toml_example( default = "#292e42 " ) ]
30
29
pub background_unread_message : Color ,
31
30
32
31
/// Foreground for unread message highlight
33
- #[ toml_example( default = "darkgray " ) ]
32
+ #[ toml_example( default = "#9d7cd8 " ) ]
34
33
pub foreground_unread_message : Color ,
35
34
36
35
/// Text Colour for Chat and User table Headers
37
- #[ toml_example( default = "blue " ) ]
36
+ #[ toml_example( default = "#394b70 " ) ]
38
37
pub table_header : Color ,
39
38
40
39
/// Text Colour for titlebar contents
41
- #[ toml_example( default = "darkgray " ) ]
40
+ #[ toml_example( default = "#545c7e " ) ]
42
41
pub foreground_titlebar : Color ,
43
42
44
- /// Text Colour for titlebar contents
45
- #[ toml_example( default = "blue " ) ]
43
+ /// background for titlebar highlight
44
+ #[ toml_example( default = "#292e42 " ) ]
46
45
pub background_important_titlebar : Color ,
47
46
48
- /// Text Colour for titlebar contents
49
- #[ toml_example( default = "white " ) ]
47
+ /// Text Colour for titlebar highlight
48
+ #[ toml_example( default = "#9d7cd8 " ) ]
50
49
pub foreground_important_titlebar : Color ,
51
50
52
51
/// Foreground for Away Users
53
- #[ toml_example( default = "blue " ) ]
52
+ #[ toml_example( default = "#ff9e64 " ) ]
54
53
pub user_away : Color ,
55
54
56
55
/// Foreground for DND Users
57
- #[ toml_example( default = "red " ) ]
56
+ #[ toml_example( default = "#c53b53 " ) ]
58
57
pub user_dnd : Color ,
59
58
60
59
/// Foreground for Offline Users
61
- #[ toml_example( default = "gray " ) ]
60
+ #[ toml_example( default = "#737aa2 " ) ]
62
61
pub user_offline : Color ,
63
62
64
63
/// Foreground for Online Users
65
- #[ toml_example( default = "green " ) ]
64
+ #[ toml_example( default = "#c3e88d " ) ]
66
65
pub user_online : Color ,
67
66
68
67
/// Borders for popup windows
0 commit comments