diff options
Diffstat (limited to 'src/theme.rs')
-rw-r--r-- | src/theme.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/theme.rs b/src/theme.rs index 1d2cc36..879584c 100644 --- a/src/theme.rs +++ b/src/theme.rs | |||
@@ -1,4 +1,4 @@ | |||
1 | use cursive::theme::Color::*; | 1 | use cursive::theme::Color::{self, *}; |
2 | use cursive::theme::PaletteColor::*; | 2 | use cursive::theme::PaletteColor::*; |
3 | use cursive::theme::{BorderStyle, Palette, Theme}; | 3 | use cursive::theme::{BorderStyle, Palette, Theme}; |
4 | 4 | ||
@@ -24,3 +24,7 @@ pub fn theme_gen() -> Theme { | |||
24 | t.palette = pallete_gen(); | 24 | t.palette = pallete_gen(); |
25 | return t; | 25 | return t; |
26 | } | 26 | } |
27 | |||
28 | pub fn cursor_bg() -> Color { | ||
29 | Light(cursive::theme::BaseColor::Black) | ||
30 | } | ||