aboutsummaryrefslogtreecommitdiff
path: root/src/theme.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-08-04 08:46:22 +0100
committerAkshay <[email protected]>2020-08-04 08:46:22 +0100
commit3dd8502895d17b4e1a8afb729feeef5ba6d0474e (patch)
tree4dfc7364cdcae2de93d821520e7a2bc791754ab2 /src/theme.rs
parent403d114d8296fe37dbdb509449a2fee2badb8d37 (diff)
use terminal default for bg
Diffstat (limited to 'src/theme.rs')
-rw-r--r--src/theme.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/theme.rs b/src/theme.rs
index 4194777..1d2cc36 100644
--- a/src/theme.rs
+++ b/src/theme.rs
@@ -1,18 +1,18 @@
1use cursive::theme::Color::*; 1use cursive::theme::Color::*;
2use cursive::theme::PaletteColor::*; 2use cursive::theme::PaletteColor::*;
3use cursive::theme::{BaseColor, BorderStyle, Palette, Theme}; 3use cursive::theme::{BorderStyle, Palette, Theme};
4 4
5pub fn pallete_gen() -> Palette { 5pub fn pallete_gen() -> Palette {
6 let mut p = Palette::default(); 6 let mut p = Palette::default();
7 p[Background] = Dark(BaseColor::Black); 7 p[Background] = TerminalDefault;
8 p[Shadow] = Light(BaseColor::Black); 8 p[Shadow] = TerminalDefault;
9 p[View] = Dark(BaseColor::Black); 9 p[View] = TerminalDefault;
10 p[Primary] = Dark(BaseColor::White); 10 p[Primary] = TerminalDefault;
11 p[Secondary] = Dark(BaseColor::Black); 11 p[Secondary] = TerminalDefault;
12 p[Tertiary] = Dark(BaseColor::Green); 12 p[Tertiary] = TerminalDefault;
13 p[TitlePrimary] = Light(BaseColor::White); 13 p[TitlePrimary] = TerminalDefault;
14 p[Highlight] = Dark(BaseColor::Red); 14 p[Highlight] = TerminalDefault;
15 p[HighlightInactive] = Dark(BaseColor::Black); 15 p[HighlightInactive] = TerminalDefault;
16 16
17 return p; 17 return p;
18} 18}