fix(theme): add gray to theme (#914)

fix #912

* Add `gray` to theme
This commit is contained in:
a-kenji 2021-11-30 11:03:20 +01:00 committed by GitHub
parent 798a57e535
commit adee5e78a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ pub struct PaletteFromYaml {
pub fg: PaletteColorFromYaml, pub fg: PaletteColorFromYaml,
pub bg: PaletteColorFromYaml, pub bg: PaletteColorFromYaml,
pub black: PaletteColorFromYaml, pub black: PaletteColorFromYaml,
pub gray: PaletteColorFromYaml,
pub red: PaletteColorFromYaml, pub red: PaletteColorFromYaml,
pub green: PaletteColorFromYaml, pub green: PaletteColorFromYaml,
pub yellow: PaletteColorFromYaml, pub yellow: PaletteColorFromYaml,
@ -79,6 +80,7 @@ impl From<PaletteFromYaml> for Palette {
fg: yaml.fg.into(), fg: yaml.fg.into(),
bg: yaml.fg.into(), bg: yaml.fg.into(),
black: yaml.black.into(), black: yaml.black.into(),
gray: yaml.gray.into(),
red: yaml.red.into(), red: yaml.red.into(),
green: yaml.green.into(), green: yaml.green.into(),
yellow: yaml.yellow.into(), yellow: yaml.yellow.into(),