From b80d90e5ce6bc88195a830b7c3b6c3d88b50f788 Mon Sep 17 00:00:00 2001 From: wiiznokes <78230769+wiiznokes@users.noreply.github.com> Date: Tue, 3 Dec 2024 05:13:54 +0100 Subject: [PATCH] fix: compile for markdown feature --- src/theme/style/iced.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/theme/style/iced.rs b/src/theme/style/iced.rs index f51e2650..1b6a156d 100644 --- a/src/theme/style/iced.rs +++ b/src/theme/style/iced.rs @@ -1471,9 +1471,9 @@ impl iced_widget::text_editor::Catalog for Theme { impl iced_widget::markdown::Catalog for Theme { fn code_block<'a>() -> ::Class<'a> { Container::custom(|_| iced_container::Style { - background: Some(color!(0x111111).into()), + background: Some(iced::color!(0x111111).into()), text_color: Some(Color::WHITE), - border: border::rounded(2), + border: iced::border::rounded(2), ..iced_container::Style::default() }) }