Typography » Placeholders and Classes Font Styles Map and Adding Custom StylesLink
Since: 2.0.0 New IssueHolds values for font-size and line-height for all font styles. Two special case
scenarios, font-size-secondary
and font-size-minimum
, have pixel values. Secondary
is used for information in a theme that is secondary to main content, such as widgets,
asides, footbars, and shortcodes, and resets the base value which headings and paragraph
text uses. font-size-minimum
is the lowest allowable font size in pixels - it never gets
scaled, because it should never be smaller than that amount.
Other values, such as those used for headings (font-size-1
for <h1>
, font-size-2
for
<h2>
, etc) are dynamically added after we generate the headings scale.
These values are used to build the font-size placeholders. You can override invidividual
values and create your own custom values and placeholders by redeclaring values you want
to override and adding new values in your own $font-styles-theme
map.
$font-styles-theme must be set BEFORE this file is imported.
_typography-tools.scss, line 295
View Source