aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2018-07-14 16:47:24 +0100
committerNerdyPepper <[email protected]>2018-07-14 16:47:24 +0100
commitd3cc64c2140a0169832007aa8220858500383fc8 (patch)
tree10189bffac7d33a16de605d71c9d35f22fbd5703
parente1168eeb115160141ff7cbc2deca3cfed66a3852 (diff)
Improve readme
-rw-r--r--readme.md4
-rw-r--r--src/theme.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index dfefa1d..1d30c1c 100644
--- a/readme.md
+++ b/readme.md
@@ -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
5Browse Wikipedia pages from the command line. 5Browse Wikipedia pages from the command line.
6 6
@@ -14,7 +14,7 @@ cargo run
14 14
15## Usage 15## Usage
16 16
17Taizen uses a stack like model. 17Taizen uses a **stack** like model.
18Articles are opened on new layers, pop a layer to go back. 18Articles are opened on new layers, pop a layer to go back.
19Hit `s` to search 19Hit `s` to search
20Hit `q` to quit 20Hit `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 {
23pub fn theme_gen() -> theme::Theme { 23pub 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