Package Name
fifthtry.github.io/montserrat
This component consist of Google montserrat font with all it's styles from Thin-100 to Black-900 Italic.
montserrat - fastn font
This component consist of Google montserrat font with all it's styles from Thin-100 to Black-900 Italic.
How to use
Include fifthtry.github.io/montserrat package into FASTN.ftd file
-- fastn.dependency: fifthtry.github.io/montserrat as montserrat
-- fastn.auto-import: montserrat
Inside your .ftd file to add montserrat dependency and create custom font as given
in below code:
-- import: fifthtry.github.io/montserrat/assets as montserrat-assets
-- import: fastn
-- How to: define a custom font:-
-- ftd.type montserrat-desktop:
size.px: 40
weight: 900
font-family: $montserrat-assets.fonts.Montserrat
-- ftd.type montserrat-mobile:
size.px: 40
weight: 900
font-family: $montserrat-assets.fonts.Montserrat
-- ftd.responsive-type montserrat:
desktop: $montserrat-desktop
mobile: $montserrat-mobile
-- How to: invoke a custom font:-
-- ftd.text: Todos os seres humanos nascem livres e iguais em dignidade.
role: $montserrat
color: $inherited.colors.text-strong
margin-bottom.px: 24
The quick brown fox jumps over the lazy dog
montserrat
regular strike through 18px:
The quick brown fox jumps over the lazy dog
montserrat
regular underline 18px:
The quick brown fox jumps over the lazy dog
montserrat
regular italic 18px:
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
montserrat
bold italic 18px:
The quick brown fox jumps over the lazy dog
montserrat
heading regular 48px:
The quick brown fox jumps over the lazy dog