Skip to content

Commit

Permalink
fix: compile for markdown feature
Browse files Browse the repository at this point in the history
  • Loading branch information
wiiznokes authored Dec 3, 2024
1 parent 9311650 commit b80d90e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/theme/style/iced.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1471,9 +1471,9 @@ impl iced_widget::text_editor::Catalog for Theme {
impl iced_widget::markdown::Catalog for Theme {
fn code_block<'a>() -> <Self as iced_container::Catalog>::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()
})
}
Expand Down

0 comments on commit b80d90e

Please sign in to comment.