aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorlukeflo2025-06-30 12:54:01 +0200
committerlukeflo2025-06-30 12:54:01 +0200
commit4ca8417812db530cd157fe5b1de70f6e74e9c400 (patch)
tree88c94ddefe03667a9cf31741e1575e2c44fdb818 /src/config.rs
parentb10615ade6bb2710cf6716f05cc496cb082d24ad (diff)
downloadbibiman-4ca8417812db530cd157fe5b1de70f6e74e9c400.tar.gz
bibiman-4ca8417812db530cd157fe5b1de70f6e74e9c400.zip
UI implementation of notes
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 6abcfd1..c30d8d1 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -113,6 +113,12 @@ pub struct Colors {
pub bar_bg_color: Color,
pub popup_bg_color: Color,
pub selected_row_bg_color: Color,
+ pub note_color: Color,
+ pub file_color: Color,
+ pub link_color: Color,
+ pub author_color: Color,
+ pub title_color: Color,
+ pub year_color: Color,
}
impl Default for BibiConfig {
@@ -187,6 +193,12 @@ impl BibiConfig {
bar_bg_color: Color::Indexed(235),
popup_bg_color: Color::Indexed(234),
selected_row_bg_color: Color::Indexed(237),
+ note_color: Color::Indexed(123),
+ file_color: Color::Indexed(209),
+ link_color: Color::Indexed(33),
+ author_color: Color::Indexed(38),
+ title_color: Color::Indexed(37),
+ year_color: Color::Indexed(135),
}
}
@@ -203,6 +215,12 @@ impl BibiConfig {
confirm_color: Color::Indexed(22),
warn_color: Color::Indexed(124),
selected_row_bg_color: Color::Indexed(107),
+ note_color: Color::Indexed(123),
+ file_color: Color::Indexed(209),
+ link_color: Color::Indexed(27),
+ author_color: Color::Indexed(38),
+ title_color: Color::Indexed(37),
+ year_color: Color::Indexed(135),
}
}