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

Use Brand Central font versions #288

Merged
merged 4 commits into from
Feb 1, 2023
Merged

Use Brand Central font versions #288

merged 4 commits into from
Feb 1, 2023

Conversation

taysea
Copy link
Collaborator

@taysea taysea commented Oct 28, 2022

What does this PR do?

Based on outcomes of grommet/hpe-design-system#2990, reverting the theme to point to brand central font version. The URLs were provided by Artur's team. I had to explicitly define regular as font-weight 400 otherwise it wasn't applying it.

What testing has been done on this PR?

Tested locally in the site on Mac Chrome, Windows Edge:

Mac Chrome:
Screen Shot 2023-01-27 at 3 36 21 PM

New font, Windows Edge (notice how the "i" is differentiable from "l", j has a visibly separate dot)

Screen Shot 2023-01-27 at 3 38 54 PM

Old font (on Windows, i is not differentiable from l at certain sizes/weights)
203654546-4fa6f54a-440e-4489-8687-f9d7cf4f27e5

Any background context you want to provide?

What are the relevant issues?

Closes grommet/hpe-design-system#2990

Screenshots (if appropriate)

Is this change backward compatible or could it be a breaking change for the official HPE theme?

How should this PR be communicated in the release notes?

src/js/themes/hpe.js Outdated Show resolved Hide resolved
@taysea taysea marked this pull request as draft October 28, 2022 20:42
@taysea
Copy link
Collaborator Author

taysea commented Oct 28, 2022

Interestingly it seems like that CDN has Metric-Regular, -Light, -Semibold but is missing -Medium and -Bold.

@halocline
Copy link
Collaborator

Interestingly it seems like that CDN has Metric-Regular, -Light, -Semibold but is missing -Medium and -Bold.

I think we should at least try to have a conversation with the team managing. Let's do that and evaluate from there.

@taysea taysea marked this pull request as ready for review November 23, 2022 22:12
src/js/themes/hpe.js Outdated Show resolved Hide resolved
@taysea taysea marked this pull request as draft November 23, 2022 22:33
@taysea taysea marked this pull request as ready for review January 27, 2023 23:42
@taysea taysea requested a review from halocline January 27, 2023 23:42
@halocline halocline merged commit 072f4a1 into master Feb 1, 2023
@halocline halocline deleted the font-version branch February 1, 2023 22:16
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.

Change HPE theme to brand Metric font
3 participants