RockefellerArchiveCenter / styles

Style Library for the Rockefeller Archive Center
https://styles.rockarch.org
MIT License
0 stars 1 forks source link

Use CDN fonts in font declarations #124

Closed HaSistrunk closed 2 years ago

HaSistrunk commented 2 years ago

Fixes #123 by moving asset files to the stylesheets directory so that css file from CDN will point to font files also from CDN (from the same versioned directory as the css file).

Also creates a font-face mixin to streamline the font-face declarations and adds font names for local src.

Does not include a test for font-face mixin because there was an issue I could not resolve that seemed to be related to using @font-face in the test output. But the CSS output and local testing showed that the mixin is functioning correctly.