diff options
-rw-r--r-- | readme.md | 4 | ||||
-rw-r--r-- | src/theme.rs | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ | |||
1 | # Taizen | 1 | # Taizen |
2 | 2 | ||
3 | ![neet.png](https://0x0.st/sfvw.png) | 3 | ![scrot.png](https://0x0.st/sfvw.png) |
4 | 4 | ||
5 | Browse Wikipedia pages from the command line. | 5 | Browse Wikipedia pages from the command line. |
6 | 6 | ||
@@ -14,7 +14,7 @@ cargo run | |||
14 | 14 | ||
15 | ## Usage | 15 | ## Usage |
16 | 16 | ||
17 | Taizen uses a stack like model. | 17 | Taizen uses a **stack** like model. |
18 | Articles are opened on new layers, pop a layer to go back. | 18 | Articles are opened on new layers, pop a layer to go back. |
19 | Hit `s` to search | 19 | Hit `s` to search |
20 | Hit `q` to quit | 20 | Hit `q` to quit |
diff --git a/src/theme.rs b/src/theme.rs index f091358..05a6769 100644 --- a/src/theme.rs +++ b/src/theme.rs | |||
@@ -7,7 +7,7 @@ pub fn palette_gen() -> theme::Palette { | |||
7 | let mut palette: theme::Palette = theme::Palette::default(); | 7 | let mut palette: theme::Palette = theme::Palette::default(); |
8 | 8 | ||
9 | palette.set_color("background" , Dark(Black)); | 9 | palette.set_color("background" , Dark(Black)); |
10 | palette.set_color("shadow" , Dark(White)); | 10 | palette.set_color("shadow" , Light(Black)); |
11 | palette.set_color("view" , Dark(Black)); | 11 | palette.set_color("view" , Dark(Black)); |
12 | palette.set_color("primary" , Dark(White)); | 12 | palette.set_color("primary" , Dark(White)); |
13 | palette.set_color("secondary" , Light(Black)); | 13 | palette.set_color("secondary" , Light(Black)); |
@@ -23,7 +23,7 @@ pub fn palette_gen() -> theme::Palette { | |||
23 | pub fn theme_gen() -> theme::Theme { | 23 | pub fn theme_gen() -> theme::Theme { |
24 | let mut wikitheme = theme::load_default(); | 24 | let mut wikitheme = theme::load_default(); |
25 | 25 | ||
26 | wikitheme.shadow = false; | 26 | wikitheme.shadow = false; |
27 | wikitheme.borders = BorderStyle::Simple; | 27 | wikitheme.borders = BorderStyle::Simple; |
28 | wikitheme.palette = palette_gen(); | 28 | wikitheme.palette = palette_gen(); |
29 | 29 | ||