Autodesk / Autodesk/hig

Make it easier to include fonts

Open
#1,482 0 comments 0 reactions 0 assignees View on GitHub
chore
Dominant language
JavaScript
Stars
193
Forks
112
PR merge metrics
No merged PRs in 30d

Description

As a developer
I can include the Artifakt font with my component
so my component looks right

---

Today developers must import the font separately from the component they're using, like this:

```
import Typography from '@hig/typography';
import "@hig/fonts/build/ArtifaktElement.css";
```

Do a research spike to see if there is a way to have a component (e.g. Typography) to import the font and make it available automagically so a developer can use the component and the font with a single import. Report back with findings.

If something good turns up we'll make a new story and estimate. If nothing good turns up, add information to the global README explaining how to import the font.

Contributor guide

Open the contributing guide

Research direction

Start by examining how Typography and @hig/fonts/build/ArtifaktElement.css are packaged and imported. Determine whether Typography can make the font available through a single import; report the findings, and if no suitable approach exists, document the separate font import in the global README.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.