diff options
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 | } |