Skip to content

Commit

Permalink
Rename color-parser-tui to color-to-tui
Browse files Browse the repository at this point in the history
Also published to crates.io
  • Loading branch information
uttarayan21 committed Nov 7, 2021
1 parent b7cfc7a commit 79532b7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ serde = { version = "1.0.130", features = ["derive"] }
dirs = "4.0"
toml = "0.5.8"
serde_json = "1.0.68"
color-parser-tui = { git = "https://git.uttarayan.me/uttarayan/color-parser-tui" }
color-to-tui = "0.1.2"
strum = "0.22.0"

[build-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions src/theme/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ pub struct Theme {
hide_ascii: bool,
prefer_small_ascii: bool,
pub keys: Keys,
#[serde(with = "color_parser_tui")]
#[serde(with = "color_to_tui")]
key_color: Color,
#[serde(with = "color_parser_tui")]
#[serde(with = "color_to_tui")]
separator_color: Color,
}

Expand Down
2 changes: 1 addition & 1 deletion src/theme/components.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub struct ASCII {
path: Option<PathBuf>,

#[serde(default)]
#[serde(with = "color_parser_tui::optional")]
#[serde(with = "color_to_tui::optional")]
color: Option<Color>,
}

Expand Down

0 comments on commit 79532b7

Please sign in to comment.