quartz-research-note/quartz
Aaron Pham 330e322e48
feat(fonts): fetch before build (#817)
* feat: fetch google fonts before build

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* Update quartz/plugins/emitters/componentResources.ts

* fix: fetching wolff2

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: remove request stylesheet

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* fix: race condition

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: remove preconnect for static fonts

since we are already downloading fonts into public folder

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: remove deadcode

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: add options to gate for cdn caching

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* chore: apply jacky's suggestion

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* chore: add docs and only use one promise

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* fix: fmt

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: remove deadcode

* chore: final touches

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* revert: changes in theme.ts

* fix: styles and remove deadcode

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

---------

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-02-08 02:52:55 -05:00
..
cli fix: content-disposition inline should apply to all resource types (closes #728) 2024-01-28 22:12:01 -08:00
components feat(fonts): fetch before build (#817) 2024-02-08 02:52:55 -05:00
i18n add Spanish translations (#822) 2024-02-07 09:57:14 -08:00
plugins feat(fonts): fetch before build (#817) 2024-02-08 02:52:55 -05:00
processors refactor: move emit from callback to helper file function (#704) 2024-01-18 10:56:14 -08:00
static Revert "feat: Making Quartz available offline by making it a PWA (#465)" 2023-09-20 13:52:45 -07:00
styles fix(links): show backdrop on links highlighted in headers alias (#816) 2024-02-06 02:06:19 -05:00
util feat(fonts): fetch before build (#817) 2024-02-08 02:52:55 -05:00
bootstrap-cli.mjs cleanup: rework cli to allow invoking create and build outside of cli (#428) 2023-08-27 15:59:51 -07:00
bootstrap-worker.mjs run prettier 2023-07-22 17:27:41 -07:00
build.ts fix: fmt 2024-01-31 11:58:54 -08:00
cfg.ts chore(i18n): refactor and cleanup (#805) 2024-02-04 20:57:10 -08:00
worker.ts base path refactor to better support subpath hosting 2023-08-19 15:52:25 -07:00