fix: compile for markdown feature
This commit is contained in:
parent
931165050d
commit
b80d90e5ce
1 changed files with 2 additions and 2 deletions
|
|
@ -1471,9 +1471,9 @@ impl iced_widget::text_editor::Catalog for Theme {
|
||||||
impl iced_widget::markdown::Catalog for Theme {
|
impl iced_widget::markdown::Catalog for Theme {
|
||||||
fn code_block<'a>() -> <Self as iced_container::Catalog>::Class<'a> {
|
fn code_block<'a>() -> <Self as iced_container::Catalog>::Class<'a> {
|
||||||
Container::custom(|_| iced_container::Style {
|
Container::custom(|_| iced_container::Style {
|
||||||
background: Some(color!(0x111111).into()),
|
background: Some(iced::color!(0x111111).into()),
|
||||||
text_color: Some(Color::WHITE),
|
text_color: Some(Color::WHITE),
|
||||||
border: border::rounded(2),
|
border: iced::border::rounded(2),
|
||||||
..iced_container::Style::default()
|
..iced_container::Style::default()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue