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

💄 Make fonts local to storybook. #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jwir3
Copy link

@jwir3 jwir3 commented Feb 9, 2024

During the testing of capture-6 on Chromatic, we discovered that the Hind and Montserrat fonts were being loaded from Google Fonts. Since this isn't technically supported by Chromatic, and we were getting some inconsistent snapshots due to the fonts not loading properly, we decided to make them statically loaded within the storybook public directory.

This fixes CAP-1628.

During the testing of capture-6 on Chromatic, we discovered that the Hind
and Montserrat fonts were being loaded from Google Fonts. Since this isn't
technically supported by Chromatic, and we were getting some inconsistent
snapshots due to the fonts not loading properly, we decided to make them
statically loaded within the storybook public directory.
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.

1 participant