diff --git a/src/blog.rs b/src/blog.rs index ff42808..34ea2ab 100644 --- a/src/blog.rs +++ b/src/blog.rs @@ -90,7 +90,7 @@ impl ResourceMethods for ResourceMetadata for ResourceMetadata { description: self.inner.desc.clone(), image: Some(self.inner.get_image_url(site_config)?), url: None, - theme_color: "rgb(255, 196, 252)".to_string(), + theme_color: EmbedMetadata::default_theme_color(), large_image: true, } .build()) diff --git a/src/resource.rs b/src/resource.rs index ca3502b..9379d1f 100644 --- a/src/resource.rs +++ b/src/resource.rs @@ -125,8 +125,8 @@ impl EmbedMetadata { s } - fn default_theme_color() -> String { - "rgb(255, 196, 252)".to_string() + pub fn default_theme_color() -> String { + "ffc4fc".to_string() } }