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

Fixing antonio weights for browser consistency #829

Merged
merged 11 commits into from
Jan 5, 2023

Conversation

bspeare
Copy link
Contributor

@bspeare bspeare commented Dec 22, 2022

Resolves #772.

This fixes the font-weight issue we were having with safari without having to switch to Google fonts. Also, with upcoming privacy concerns I think it makes sense to continue to locally host our fonts.

There is an update pr with a more updated Antonio.woff font in #828, however that update requires a lot of spacing adjustments that we can avoid but sticking with our older version of Antonio here.

How to test

In Safari, compare https://uids.brand.uiowa.edu/branches/feature_fix_antonio_weight/components/detail/stat--default.html with https://uids.brand.uiowa.edu/components/detail/stat--default.html. The stat font should look thin on uids.brand.uiowa.edu and the feature branch font weight should look thicker.

Compare https://uids.brand.uiowa.edu/branches/feature_fix_antonio_weight/components/detail/stat--default.html in Safari and Chrome and verify that the font weights look the same.

@bspeare bspeare changed the base branch from 4.x to 3.x December 22, 2022 22:20
@bspeare bspeare requested a review from pyrello January 3, 2023 21:44
Copy link
Contributor

@pyrello pyrello left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. Thanks!

@bspeare bspeare merged commit 581a215 into 3.x Jan 5, 2023
@bspeare bspeare deleted the feature_fix_antonio_weight branch January 5, 2023 15:24
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.

2 participants