[theme] molokai as the default theme

This commit is contained in:
Mark Wallace 2017-01-03 21:53:57 +08:00
parent f3199dc3c1
commit ce4d750e03
2 changed files with 0 additions and 20 deletions

View file

@ -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

View file

@ -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(),
@ -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,