Felix Nie
25979ab216
feat(fonts): allow PageTitle to have its own font subset ( #1848 )
...
* fix(explorer): vertically center the Explorer toggle under mobile view
* Added a separate title font configuration
* Added googleSubFontHref function
* Applied --titleFont to PageTitle
* Made googleFontHref return array of URLs
* Dealing with empty and undefined title
* Minor update
* Dealing with empty and undefined title
* Refined font inclusion logic
* Adopted the googleFontHref + googleFontSubsetHref method
* Adaptively include font subset for PageTitle
* Restored default config
* Minor changes on configuration docs
* Formatted source code
2025-03-18 21:43:32 -07:00
Jacky Zhao
d9159e0ac9
feat: make og images an emitter to properly await image generation ( #1826 )
...
* checkpoint
* make emitters async generators
* fix
* custom font spec
* replace spinner, use disk cache for fonts
* use readline instead
* make og images look nice
2025-03-13 10:27:46 -07:00
Emile Bangma
580c1bd608
fix(typography): properly pass Google font options ( #1825 )
2025-03-12 11:27:41 -07:00
Jacky Zhao
6d195fd40a
feat: font specification flexibility
2025-03-06 09:21:50 -08:00
Daksh
598741a571
fix(fonts): update system-ui trick for improve cross-platform compatibility ( #1778 )
2025-02-25 16:31:41 -05:00
Peter
b7793bd856
feat(style): Add textHighlight theme setting ( #1242 )
...
* Add textHighlight theme setting
* update docs to include textHighlight
* Remove errant `S`
2024-07-09 17:21:00 -07:00
kabirgh
b4236e5142
feat(perf:fast-rebuilds): Stop mutating resources param in ComponentResources emitter ( #977 )
...
* Stop mutating resources param in ComponentResources emitter
* Add done rebuilding log for fast rebuilds
* Move google font loading to Head component
* Simplify code and fix comment
2024-03-09 16:42:23 -08:00
Aaron Pham
6b90d03ca6
chore(type): export attribute for theme key ( #933 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-02-26 09:53:45 -08:00
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
Jacky Zhao
96a3bfeafb
fix: put quotations around font
2023-08-19 22:04:29 -07:00
Jacky Zhao
2f6747b166
fix relative path resolution in router and link crawling
2023-08-16 22:04:15 -07:00