mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
The code in this commit is not intended for production environments; it requires further testing. Added: - Multiple "Source Sans 3" fonts to test many `FontFace` entries. Changed: - Removed quotes from font family name to avoid them being included in `FontFace.family` value. Notes: - Replaces hidden `<span>` elements with `FaceFace.load()` and `FaceFace.loaded` to eagerly load fonts. - Fonts are eagerly using custom `loadFonts()` (see 'app.js'). - Acting upon loaded fonts is done using `whenReady()` (see 'Example.js').
156 KiB
156 KiB