Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_brand.yml: fonts in html-like formats, font colors, schema updates, etc #10727

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

cscheid
Copy link
Collaborator

@cscheid cscheid commented Sep 5, 2024

Towards #10249.

This adds support for typography entries in html formats.

Notably, we don't currently download the fonts. I'm not sure it's something we want to do or not in HTML formats (it will be necessary for google font support in typst)

@cscheid cscheid changed the title _brand.yml: fonts in html-like formats _brand.yml: fonts in html-like formats, font colors, schema updates, etc Sep 10, 2024
@cscheid cscheid mentioned this pull request Sep 11, 2024
49 tasks
@gordonwoodhull
Copy link
Contributor

I've updated the typst brand yaml implementation and tests to the new schema.

Remaining failures don't seem to be related to brand yaml.

I think this is fine to merge. I'll continue with caching of fonts for typst, and hopefully have that ready for review at eng meeting tomorrow.

@gordonwoodhull gordonwoodhull marked this pull request as ready for review September 18, 2024 11:49
@gordonwoodhull
Copy link
Contributor

gordonwoodhull commented Sep 19, 2024

I've disabled font bunny on the Typst side for now (and removed the failing test), but we can pick it back up if we find a better woff->ttf converter.

I think we should merge this once the tests pass.

@cscheid cscheid mentioned this pull request Sep 20, 2024
@cscheid
Copy link
Collaborator Author

cscheid commented Sep 20, 2024

I cleaned up all this work into two main commits, one for the SCSS->CSS variable/SCSS analyzer work, and the other for the typography work in typst+html formats.

@cscheid cscheid merged commit 1399d2e into main Sep 20, 2024
47 checks passed
@cscheid cscheid deleted the feature/brand-yml-html-fonts branch September 20, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants