Skip to content

Commit

Permalink
[theme] molokai as the default theme
Browse files Browse the repository at this point in the history
  • Loading branch information
lotabout committed Jan 3, 2017
1 parent f3199dc commit ce4d750
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ You can choose the `BASE SCHEME` among the followings(default: dark on
| dark | Color scheme for dark 256-color terminal |
| light | Color scheme for light 256-color terminal |
| 16 | Color scheme for 16-color terminal |
| bw | No colors |

While the customisable `COLOR`s are

Expand Down
19 changes: 0 additions & 19 deletions src/curses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ impl ColorTheme {
let color: Vec<&str> = pair.split(':').collect();
if color.len() < 2 {
theme = match color[0] {
"molokai" => MONOKAI256.clone(),
"light" => LIGHT256.clone(),
"16" => DEFAULT16.clone(),
"dark" | _ => DARK256.clone(),
Expand Down Expand Up @@ -326,24 +325,6 @@ const DEFAULT16: ColorTheme = ColorTheme {
};

const DARK256: ColorTheme = ColorTheme {
use_default: true,
fg: 15,
bg: 0,
matched: 108,
matched_bg: 0,
current: 254,
current_bg: 236,
current_match: 151,
current_match_bg: 236,
spinner: 148,
info: 144,
prompt: 110,
cursor: 161,
selected: 168,
header: 109,
};

const MONOKAI256: ColorTheme = ColorTheme {
use_default: true,
fg: 252,
bg: 234,
Expand Down

0 comments on commit ce4d750

Please sign in to comment.