diff --git a/docs/_includes/elements/new-tag.html b/docs/_includes/elements/new-tag.html index 0c69b825..b4d395b0 100644 --- a/docs/_includes/elements/new-tag.html +++ b/docs/_includes/elements/new-tag.html @@ -1,4 +1,12 @@ +{% assign current_version_value = site.data.meta.version | remove: "." | plus: 0 %} +{% assign tag_version_value = include.version | remove: "." | plus: 0 %} +
- New! - {{ include.version }} + {% if tag_version_value > current_version_value %} + Coming soon! + {{ include.version }} + {% else %} + New! + {{ include.version }} + {% endif %}
\ No newline at end of file diff --git a/docs/documentation/modifiers/typography-helpers.html b/docs/documentation/modifiers/typography-helpers.html index e29985ed..04fc5a7f 100644 --- a/docs/documentation/modifiers/typography-helpers.html +++ b/docs/documentation/modifiers/typography-helpers.html @@ -415,45 +415,34 @@ breadcrumb: {% include elements/anchor.html name="Font family" %} +{% include elements/new-tag.html version="0.7.3" %} +

- You can change the font family with the use of one of 5 font family - helpers: + You can change the font family with the use of one of 3 font family helpers:

+{% assign font_families = "sans-serif,monospace,primary,secondary,code" | split: ',' %} + - - - - + + + + - - - - - - - - - - - - - - - - - - - - + {% for family in font_families %} + + + + + {% endfor %}
- Class - - Family -
+ Class + + Family +
is-family-primaryChanges font family to $family-primary
is-family-secondaryChanges font family to $family-secondary
is-family-sans-serifChanges font family to $family-sans-serif
is-family-monospaceChanges font family to $family-monospace
is-family-codeChanges font family to $family-code
is-family-{{ family }}Sets font family to $family-{{ family }}