monks/font_variation_settings

The font-variation-settings CSS property provides low-level control over variable font characteristics by letting you specify the four letter axis names of the characteristics you want to vary along with their values.

Values

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const normal: #(String, String)
  • : Text is laid out using default settings.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for font-variation-settings

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

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

Search Document