pub struct Typography {Show 15 fields
pub display_large: TextStyle,
pub display_medium: TextStyle,
pub display_small: TextStyle,
pub headline_large: TextStyle,
pub headline_medium: TextStyle,
pub headline_small: TextStyle,
pub title_large: TextStyle,
pub title_medium: TextStyle,
pub title_small: TextStyle,
pub body_large: TextStyle,
pub body_medium: TextStyle,
pub body_small: TextStyle,
pub label_large: TextStyle,
pub label_medium: TextStyle,
pub label_small: TextStyle,
}Expand description
The complete Material Design 3–inspired type scale, bumped +1px across every step (2026-08-03, user-requested: the MD3 baseline still read small in practice) — the whole point of routing widgets through this ONE scale (D127) instead of their own literals is that a tweak like this now takes effect everywhere at once, with zero widget-file edits.
Fields§
§display_large: TextStyle§display_medium: TextStyle§display_small: TextStyle§headline_large: TextStyle§headline_medium: TextStyle§headline_small: TextStyle§title_large: TextStyle§title_medium: TextStyle§title_small: TextStyle§body_large: TextStyle§body_medium: TextStyle§body_small: TextStyle§label_large: TextStyle§label_medium: TextStyle§label_small: TextStyleTrait Implementations§
Source§impl Clone for Typography
impl Clone for Typography
Source§fn clone(&self) -> Typography
fn clone(&self) -> Typography
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Typography
impl Debug for Typography
Auto Trait Implementations§
impl Freeze for Typography
impl RefUnwindSafe for Typography
impl Send for Typography
impl Sync for Typography
impl Unpin for Typography
impl UnsafeUnpin for Typography
impl UnwindSafe for Typography
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