chore: update to 0.12
This commit is contained in:
parent
35fea09344
commit
9202383596
34 changed files with 712 additions and 454 deletions
10
src/font.rs
10
src/font.rs
|
|
@ -16,7 +16,7 @@ pub const FONT: Font = Font {
|
|||
family: Family::Name("Fira Sans"),
|
||||
weight: iced_core::font::Weight::Normal,
|
||||
stretch: iced_core::font::Stretch::Normal,
|
||||
monospaced: false,
|
||||
style: iced_core::font::Style::Normal,
|
||||
};
|
||||
|
||||
pub const FONT_DATA: &[u8] = include_bytes!("../res/Fira/FiraSans-Regular.otf");
|
||||
|
|
@ -25,7 +25,7 @@ pub const FONT_LIGHT: Font = Font {
|
|||
family: Family::Name("Fira Sans"),
|
||||
weight: iced_core::font::Weight::Light,
|
||||
stretch: iced_core::font::Stretch::Normal,
|
||||
monospaced: false,
|
||||
style: iced_core::font::Style::Normal,
|
||||
};
|
||||
|
||||
pub const FONT_LIGHT_DATA: &[u8] = include_bytes!("../res/Fira/FiraSans-Light.otf");
|
||||
|
|
@ -34,7 +34,7 @@ pub const FONT_SEMIBOLD: Font = Font {
|
|||
family: Family::Name("Fira Sans"),
|
||||
weight: iced_core::font::Weight::Semibold,
|
||||
stretch: iced_core::font::Stretch::Normal,
|
||||
monospaced: false,
|
||||
style: iced_core::font::Style::Normal,
|
||||
};
|
||||
|
||||
pub const FONT_SEMIBOLD_DATA: &[u8] = include_bytes!("../res/Fira/FiraSans-SemiBold.otf");
|
||||
|
|
@ -43,7 +43,7 @@ pub const FONT_BOLD: Font = Font {
|
|||
family: Family::Name("Fira Sans"),
|
||||
weight: iced_core::font::Weight::Bold,
|
||||
stretch: iced_core::font::Stretch::Normal,
|
||||
monospaced: false,
|
||||
style: iced_core::font::Style::Normal,
|
||||
};
|
||||
|
||||
pub const FONT_BOLD_DATA: &[u8] = include_bytes!("../res/Fira/FiraSans-Bold.otf");
|
||||
|
|
@ -52,7 +52,7 @@ pub const FONT_MONO_REGULAR: Font = Font {
|
|||
family: Family::Name("Fira Mono"),
|
||||
weight: iced_core::font::Weight::Normal,
|
||||
stretch: iced_core::font::Stretch::Normal,
|
||||
monospaced: true,
|
||||
style: iced_core::font::Style::Normal,
|
||||
};
|
||||
|
||||
pub const FONT_MONO_REGULAR_DATA: &[u8] = include_bytes!("../res/Fira/FiraMono-Regular.otf");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue