Skip to content

Commit 540eacc

Browse files
slorberclaude
andcommitted
fix(blog): drop system-ui from the feed font stack, like Infima
Follow the stack of #13148: no system-ui, with 'Ubuntu Sans' and 'Adwaita Sans' for current Linux desktops. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 1971834 commit 540eacc

11 files changed

Lines changed: 37 additions & 28 deletions

File tree

‎packages/docusaurus-plugin-content-blog/assets/atom.css‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ main {
1010
width: 100%;
1111
margin: 2rem auto;
1212
max-width: 800px;
13-
/* 'Segoe UI' before system-ui: Windows in Chinese, Japanese or Korean */
14-
/* resolves it to a UI font that ignores lang, see https://github.com/meta/docusaurus/pull/13133 */
13+
/* No system-ui: it's meant for UI elements, not paragraphs, and Windows in */
14+
/* Chinese, Japanese or Korean resolves it to a UI font that ignores lang */
15+
/* See https://github.com/meta/docusaurus/issues/11727 */
1516
/* BlinkMacSystemFont: Chrome on macOS ignores -apple-system */
17+
/* 'Ubuntu Sans' and 'Adwaita Sans': the UI fonts of Ubuntu and GNOME 48+ */
1618
/* stylelint-disable-next-line font-family-name-quotes */
1719
font-family:
18-
-apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, Ubuntu,
19-
Cantarell, 'Noto Sans', sans-serif;
20+
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Ubuntu Sans',
21+
Ubuntu, 'Adwaita Sans', Cantarell, 'Noto Sans', sans-serif;
2022
}
2123

2224
.info {

‎packages/docusaurus-plugin-content-blog/assets/rss.css‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ main {
1010
width: 100%;
1111
margin: 2rem auto;
1212
max-width: 800px;
13-
/* 'Segoe UI' before system-ui: Windows in Chinese, Japanese or Korean */
14-
/* resolves it to a UI font that ignores lang, see https://github.com/meta/docusaurus/pull/13133 */
13+
/* No system-ui: it's meant for UI elements, not paragraphs, and Windows in */
14+
/* Chinese, Japanese or Korean resolves it to a UI font that ignores lang */
15+
/* See https://github.com/meta/docusaurus/issues/11727 */
1516
/* BlinkMacSystemFont: Chrome on macOS ignores -apple-system */
17+
/* 'Ubuntu Sans' and 'Adwaita Sans': the UI fonts of Ubuntu and GNOME 48+ */
1618
/* stylelint-disable-next-line font-family-name-quotes */
1719
font-family:
18-
-apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, Ubuntu,
19-
Cantarell, 'Noto Sans', sans-serif;
20+
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Ubuntu Sans',
21+
Ubuntu, 'Adwaita Sans', Cantarell, 'Noto Sans', sans-serif;
2022
}
2123

2224
.info {

‎packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/blog/custom-atom.css‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/blog/custom-rss.css‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/atom.css‎

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/custom-atom.css‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/custom-rss.css‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/rss.css‎

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎project-words.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
abernathyca
33
Abramov
44
Adriaan
5+
Adwaita
56
aldridged
67
alexbdebrie
78
Alexey

‎website/_dogfooding/_blog tests/custom-atom.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ main {
1717
max-width: 800px;
1818
/* stylelint-disable-next-line font-family-name-quotes */
1919
font-family:
20-
-apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, Ubuntu,
21-
Cantarell, 'Noto Sans', sans-serif;
20+
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Ubuntu Sans',
21+
Ubuntu, 'Adwaita Sans', Cantarell, 'Noto Sans', sans-serif;
2222
}
2323

2424
.info {

0 commit comments

Comments
 (0)