font-variation-settings

baseline logo Widely available in browsers but not in WebViews

The font-variation-settings CSS property sets an “axis of variability” on a variable font, such as weight, optical size, or a custom axis defined by the typeface designer. When possible, use other CSS font properties, such as font-weight: bold. Also known as variable fonts.