Skip to content

Bundle fonts with web assets #27

Description

@zainab-ali

The site displays text using the free fonts Adobe Source Serif Pro and Adobe Source Sans Pro.
These are not distributed with the site. If a user doesn't have them installed on their PC, we use their defaults instead. This causes styling issues.
We should bundle the fonts with the site assets such that all users see the correct fonts.

Potential Solution

The mill build must be adjusted to include bundling fonts. A task should be added under the web module to download and unzip the fonts from their GitHub releases:

Tests

Manual testing is satisfactory.

Prerequisites

  • The basics of CSS and font families
  • Enough familiarity with Scala to work with mill

What you'll learn

This is a great introduction to mill, outside of standard Scala projects

Getting started

Read our Contributor Guide to get set up.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions