guardian / guardian/dotcom-rendering

Update fonts path in DCR

Open
#14,500 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
274
Forks
34
Avg merge
2d 22h
Merged PRs (30d)
121

Description

**Note:** Coordinate this work with apps experience, who may have to make changes at the same time i.e. Android intercepts fonts requests in the app, so we may have to update the fonts paths that the app is listening for.

Point DCR-rendered pages to new fonts path

https://github.com/guardian/dotcom-rendering/blob/main/dotcom-rendering/src/lib/fonts-css.ts#L253

Update preload paths

https://github.com/guardian/dotcom-rendering/blob/6fa014f2ce44a58903f6fcc25881771d0f5770a9/dotcom-rendering/src/server/htmlPageTemplate.ts#L42-L56

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.