pub struct ThemeTypography {
pub ui_sm: TextStyle,
pub ui_md: TextStyle,
pub ui_lg: TextStyle,
pub mono_md: TextStyle,
}Expand description
Standard text styles used by native widgets and showcases.
§Examples
use ailloli_ui_core::style::Theme;
assert_eq!(Theme::dark().typography().ui_md.px_size, 14);Fields§
§ui_sm: TextStyleSmall UI sans-serif text.
ui_md: TextStyleDefault UI sans-serif text.
ui_lg: TextStyleLarge UI sans-serif text.
mono_md: TextStyleDefault monospace text for code and terminals.
Trait Implementations§
Source§impl Clone for ThemeTypography
impl Clone for ThemeTypography
Source§fn clone(&self) -> ThemeTypography
fn clone(&self) -> ThemeTypography
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThemeTypography
impl Debug for ThemeTypography
Source§impl PartialEq for ThemeTypography
impl PartialEq for ThemeTypography
impl Copy for ThemeTypography
impl StructuralPartialEq for ThemeTypography
Auto Trait Implementations§
impl Freeze for ThemeTypography
impl RefUnwindSafe for ThemeTypography
impl Send for ThemeTypography
impl Sync for ThemeTypography
impl Unpin for ThemeTypography
impl UnwindSafe for ThemeTypography
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more