use dioxus::prelude::*;



#[derive(Copy, Clone)]
pub enum StylesheetBehavior
{
   /// Overrides the default stylesheet.
   Override(Asset),

   /// Extends the default stylesheet. The library will load both.
   Extend(Asset),

   /// Uses the library's default stylesheet.
   None
}


#[derive(Clone, Default)]
pub struct BardSettings
{
   /// The name to use for the blog.
   /// If None, then the name will be Blog, but made invisible so that
   /// it is still available for screen readers.
   pub blog_name: Option<String>,

   /// The image to use for the blog title instead of just the name.
   pub blog_image: Option<Asset>,

   /// The image to use for the default post image in open graph. This is what
   /// is shown when sharing the article.
   pub default_post_image: Option<Asset>,

   /// A user defined stylesheet and how the library should include it.
   pub stylesheet: StylesheetBehavior
}



impl Default for StylesheetBehavior
{
   fn default() -> Self
   {
      StylesheetBehavior::None
   }
}
