From 1837d364fe250c31fd6c2e43a62f94933398e0c7 Mon Sep 17 00:00:00 2001 From: ms2300 Date: Mon, 27 Aug 2018 14:22:36 -0600 Subject: [PATCH] Added bold to theme titles --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bec5e388..056b0f0e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -34,6 +34,7 @@ use std::process; use std::collections::HashSet; use ansi_term::Colour::Green; +use ansi_term::Style; use app::{App, Config}; use assets::{clear_assets, config_dir, HighlightingAssets}; @@ -137,7 +138,7 @@ pub fn list_themes(assets: &HighlightingAssets, config: &mut Config) { config.files = vec![Some("assets/theme_preview.rs")]; config.output_components = OutputComponents(style); for (theme, _) in themes.iter() { - println!("{}\n", theme); + println!("{}\n", Style::new().bold().paint(theme)); config.theme = theme.to_string(); let _controller = Controller::new(&config, &assets).run(); println!("--------------------------------\n");