As of January 3rd, 2023 the ACCESS NYC Pattern library package is deprecated in favor of the NYC Opportunity Standard which contains updated user interface elements and usability guidance.
Font
Source:
src/utilities/font/font
The ACCESS NYC Patterns use Google Noto Fonts to support the Patterns in multiple languages. It includes sans-serif and serif variations for over 800 languages and is designed to appear equal in weight and size across languages. This makes the multilingual templates easier to develop and non-English content easier to read. Using the .font-serif
or .font-sans
utility will render the serif or san-serif font of the current language selected.
Font Serif
Font Sans
<h1 class="font-serif m-0 py-2">Font Serif</h1> <h1 class="font-sans m-0 py-2">Font Sans</h1>