diff --git a/promkit-derive/examples/example.rs b/promkit-derive/examples/derive.rs similarity index 100% rename from promkit-derive/examples/example.rs rename to promkit-derive/examples/derive.rs diff --git a/promkit-derive/src/text_editor.rs b/promkit-derive/src/text_editor.rs index b6ce759b..607b6f16 100644 --- a/promkit-derive/src/text_editor.rs +++ b/promkit-derive/src/text_editor.rs @@ -5,7 +5,11 @@ use syn::{parse::Error, punctuated::Punctuated, spanned::Spanned, Meta, MetaName pub fn create_state(attr: &syn::Attribute) -> Result { let mut prefix = quote! { String::from("❯❯ ") }; let mut prefix_style = quote! { - promkit::style::StyleBuilder::new().fgc(promkit::crossterm::style::Color::DarkGreen).build() + promkit::style::StyleBuilder::new().attrs( + promkit::crossterm::style::Attributes::from( + promkit::crossterm::style::Attribute::Bold, + ) + ).build() }; let mut active_char_style = quote! { promkit::style::StyleBuilder::new().bgc(promkit::crossterm::style::Color::DarkCyan).build()