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 PFB fonts #7

Open
rgreinho opened this issue Nov 6, 2022 · 1 comment
Open

Use PFB fonts #7

rgreinho opened this issue Nov 6, 2022 · 1 comment
Labels
exp/beginner Good for newcomers kind/feature New feature request

Comments

@rgreinho
Copy link
Member

rgreinho commented Nov 6, 2022

Feature Request

Current Behavior

The site just uses the default fonts.

Expected Behavior

PFB uses the Dharma Gothic Extended + Montserrat fonts.

Possible Solution

Tailwind CSS should be configured as per PFB branding guidelines:

  • Montserrat Extra Light: body copy

  • Montserrat Regular: body copy on a dark background or for print

  • Montserrat Bold: subheads

  • The italic version of the Montserrat font: may be used when needed.

  • Dharma Gothic Extended Extra Light: subheads in sentence casing

  • Dharma Gothic Extended Bold: headlines in all caps

  • When using Dharma Gothic the tracking must be set to 25pts.

Tailwind CSS configuration reference: https://tailwindcss.com/docs/font-family#customizing-your-theme

@rgreinho rgreinho added kind/feature New feature request exp/beginner Good for newcomers labels Nov 6, 2022
@rgreinho
Copy link
Member Author

rgreinho commented Nov 6, 2022

Partially fixed by #8.

The font types and case must be tweaked to fully match the branding guidelines. The tweaking may be done in the tailwind configuration itself, this way the changes may be reflected to the page without having to update the CSS classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exp/beginner Good for newcomers kind/feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant