diff options
author | Akshay <[email protected]> | 2020-08-04 08:46:22 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-08-04 08:46:22 +0100 |
commit | 3dd8502895d17b4e1a8afb729feeef5ba6d0474e (patch) | |
tree | 4dfc7364cdcae2de93d821520e7a2bc791754ab2 /src/theme.rs | |
parent | 403d114d8296fe37dbdb509449a2fee2badb8d37 (diff) |
use terminal default for bg
Diffstat (limited to 'src/theme.rs')
-rw-r--r-- | src/theme.rs | 20 |
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 @@ | |||
1 | use cursive::theme::Color::*; | 1 | use cursive::theme::Color::*; |
2 | use cursive::theme::PaletteColor::*; | 2 | use cursive::theme::PaletteColor::*; |
3 | use cursive::theme::{BaseColor, BorderStyle, Palette, Theme}; | 3 | use cursive::theme::{BorderStyle, Palette, Theme}; |
4 | 4 | ||
5 | pub fn pallete_gen() -> Palette { | 5 | pub 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 | } |