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

Add $marketing-font-path #660

Merged
merged 1 commit into from
Jan 25, 2019
Merged

Add $marketing-font-path #660

merged 1 commit into from
Jan 25, 2019

Conversation

shawnbot
Copy link
Contributor

This adds a $marketing-font-path variable that allows sites to specify where the Inter UI .woff files are located. The default remains unchanged (/primer-marketing-support/font/), but you can change it by setting the variable before the relevant Primer imports:

$marketing-font-path: "/assets/fonts/";
@import "primer-marketing/index.scss";

Copy link
Contributor

@gladwearefriends gladwearefriends left a comment

Choose a reason for hiding this comment

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

perfect, this makes more sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants