monks/font

The font CSS shorthand property sets all the different properties of an element’s font. Alternatively, it sets an element’s font to a system font.

Values

pub const blink_mac_system_font: #(String, String)

BlinkMacSystemFont value of font

pub const bold: #(String, String)

bold value of font

pub const bolder: #(String, String)

bolder value of font

pub const caption: #(String, String)

caption value of font

pub const condensed: #(String, String)

condensed value of font

pub const cursive: #(String, String)

cursive value of font

pub const expanded: #(String, String)

expanded value of font

pub const extra_condensed: #(String, String)

extra-condensed value of font

pub const extra_expanded: #(String, String)

extra-expanded value of font

pub const fangsong: #(String, String)

fangsong value of font

pub const fantasy: #(String, String)

fantasy value of font

pub const icon: #(String, String)

icon value of font

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const italic: #(String, String)

italic value of font

pub const kai: #(String, String)

kai value of font

pub const large: #(String, String)

large value of font

pub const larger: #(String, String)

larger value of font

pub fn length(value: monks_of_style.Length) -> #(String, String)

length value of font

pub const lighter: #(String, String)

lighter value of font

pub const math: #(String, String)

math value of font

pub const medium: #(String, String)

medium value of font

pub const menu: #(String, String)

menu value of font

pub const message_box: #(String, String)

message-box value of font

pub const monospace: #(String, String)

monospace value of font

pub const nastaliq: #(String, String)

nastaliq value of font

pub const normal: #(String, String)

normal value of font

pub const oblique: #(String, String)

oblique value of font

pub fn raw(value: String) -> #(String, String)

Enter a raw string value for font

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const sans_serif: #(String, String)

sans-serif value of font

pub const semi_condensed: #(String, String)

semi-condensed value of font

pub const semi_expanded: #(String, String)

semi-expanded value of font

pub const serif: #(String, String)

serif value of font

pub const small: #(String, String)

small value of font

pub const small_caps: #(String, String)

small-caps value of font

pub const small_caption: #(String, String)

small-caption value of font

pub const smaller: #(String, String)

smaller value of font

pub const status_bar: #(String, String)

status-bar value of font

pub const system_ui: #(String, String)

system-ui value of font

pub const ui_monospace: #(String, String)

ui-monospace value of font

pub const ui_rounded: #(String, String)

ui-rounded value of font

pub const ui_sans_serif: #(String, String)

ui-sans-serif value of font

pub const ui_serif: #(String, String)

ui-serif value of font

pub const ultra_condensed: #(String, String)

ultra-condensed value of font

pub const ultra_expanded: #(String, String)

ultra-expanded value of font

pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for font. It will be wrapped in var() and have -- prepended.

pub const x_large: #(String, String)

x-large value of font

pub const x_small: #(String, String)

x-small value of font

pub const xx_large: #(String, String)

xx-large value of font

pub const xx_small: #(String, String)

xx-small value of font

pub const xxx_large: #(String, String)

xxx-large value of font

Search Document