blob: cbe045963296fd3e1548a11918604e9af93c7a75 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
pub fn theme() -> cursive::theme::Theme {
let mut palette = cursive::theme::Palette::default();
palette[cursive::theme::PaletteColor::Background] =
cursive::theme::Color::TerminalDefault;
palette[cursive::theme::PaletteColor::View] =
cursive::theme::Color::TerminalDefault;
palette[cursive::theme::PaletteColor::Primary] =
cursive::theme::Color::TerminalDefault;
cursive::theme::Theme {
shadow: false,
borders: cursive::theme::BorderStyle::Simple,
palette,
}
}
|