From b17edaf591c173495d1097f20684feb20d7db065 Mon Sep 17 00:00:00 2001 From: pml68 Date: Thu, 17 Apr 2025 00:28:53 +0200 Subject: feat(material_theme): implement `markdown::Catalog` (under feature flag) --- crates/material_theme/src/markdown.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 crates/material_theme/src/markdown.rs (limited to 'crates/material_theme/src/markdown.rs') diff --git a/crates/material_theme/src/markdown.rs b/crates/material_theme/src/markdown.rs new file mode 100644 index 0000000..bc14ffe --- /dev/null +++ b/crates/material_theme/src/markdown.rs @@ -0,0 +1,10 @@ +use iced_widget::markdown::Catalog; + +use super::{Theme, container}; + +impl Catalog for Theme { + fn code_block<'a>() -> ::Class<'a> + { + Box::new(container::surface_container_highest) + } +} -- cgit v1.2.3