Skip to content

Commit 5139e05

Browse files
DrJKLcoderabbitai[bot]github-actions
authored
Style: Font Consistency (#7220)
## Summary Reduce lower level font definitions in most places. Default to Inter. See #6912 ## Review Focus Comic Sans is still an option... ## Screenshots (if applicable) <!-- Add screenshots or video recording to help explain your changes --> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7220-Style-Font-Consistency-2c26d73d365081348f2dd8909dd9bb8f) by [Unito](https://www.unito.io) --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: github-actions <[email protected]>
1 parent c9d5d5a commit 5139e05

File tree

209 files changed

+10
-49
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+10
-49
lines changed

browser_tests/fixtures/ComfyPage.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -324,19 +324,6 @@ export class ComfyPage {
324324
}
325325
await this.goto()
326326

327-
// Unify font for consistent screenshots.
328-
await this.page.addStyleTag({
329-
url: 'https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'
330-
})
331-
await this.page.addStyleTag({
332-
url: 'https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'
333-
})
334-
await this.page.addStyleTag({
335-
content: `
336-
* {
337-
font-family: 'Roboto Mono', 'Noto Color Emoji';
338-
}`
339-
})
340327
await this.page.waitForFunction(() => document.fonts.ready)
341328
await this.page.waitForFunction(
342329
() =>
1007 Bytes
1004 Bytes
980 Bytes
231 Bytes
1019 Bytes
987 Bytes
1.29 KB
1.22 KB
1008 Bytes

0 commit comments

Comments
 (0)