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

Include Source Sans 3 #2322

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Include Source Sans 3 #2322

merged 1 commit into from
Jan 31, 2025

Conversation

jcoyne
Copy link
Contributor

@jcoyne jcoyne commented Jan 31, 2025

Previously we were using Source Sans Pro, which was not included in the styles

@jcoyne jcoyne force-pushed the use-source-sans branch 2 times, most recently from 08bbb73 to d7a9816 Compare January 31, 2025 16:40
@@ -5,6 +5,8 @@
@import "modules/popup_panels";
@import "modules/utility";

@import "https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap";
Copy link
Member

Choose a reason for hiding this comment

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

Do we use all these weights? Might be able to save a few kB if it's only 300,400,700 which are more common

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was using the same URL as in the component-library, so that the user will have a cached version.

Copy link
Member

Choose a reason for hiding this comment

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

Interesting. I guess if we get people to cache them all across our sites, it'll matter less

Previously we were using Source Sans Pro, which was not included in the styles
@jcoyne jcoyne merged commit 642e87b into main Jan 31, 2025
2 checks passed
@jcoyne jcoyne deleted the use-source-sans branch January 31, 2025 18:41
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