Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3298732
D3122.id9453.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D3122.id9453.diff
View Options
diff --git a/server/src/responders/website-responders.js b/server/src/responders/website-responders.js
--- a/server/src/responders/website-responders.js
+++ b/server/src/responders/website-responders.js
@@ -51,7 +51,7 @@
const access = promisify(fs.access);
const googleFontsURL =
- 'https://fonts.googleapis.com/css?family=Open+Sans:300,600%7CAnaheim&family=IBM+Plex+Sans:wght@400;500&display=swap';
+ 'https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Inter:wght@400;500;600&display=swap';
const localFontsURL = 'fonts/local-fonts.css';
async function getFontsURL() {
try {
diff --git a/web/app.react.js b/web/app.react.js
--- a/web/app.react.js
+++ b/web/app.react.js
@@ -3,6 +3,11 @@
import '@fontsource/inter';
import '@fontsource/inter/500.css';
import '@fontsource/inter/600.css';
+
+import '@fontsource/ibm-plex-sans';
+import '@fontsource/ibm-plex-sans/500.css';
+import '@fontsource/ibm-plex-sans/600.css';
+
import 'basscss/css/basscss.min.css';
import './theme.css';
import { config as faConfig } from '@fortawesome/fontawesome-svg-core';
diff --git a/web/package.json b/web/package.json
--- a/web/package.json
+++ b/web/package.json
@@ -40,6 +40,7 @@
},
"dependencies": {
"@babel/runtime": "^7.13.10",
+ "@fontsource/ibm-plex-sans": "^4.5.3",
"@fontsource/inter": "^4.5.1",
"@fortawesome/fontawesome-svg-core": "^1.2.25",
"@fortawesome/free-regular-svg-icons": "^5.11.2",
diff --git a/yarn.lock b/yarn.lock
--- a/yarn.lock
+++ b/yarn.lock
@@ -1891,6 +1891,11 @@
dependencies:
tslib "^2.1.0"
+"@fontsource/ibm-plex-sans@^4.5.3":
+ version "4.5.3"
+ resolved "https://registry.yarnpkg.com/@fontsource/ibm-plex-sans/-/ibm-plex-sans-4.5.3.tgz#4bf76a9771727c98dadc3f52aabe24816476dae2"
+ integrity sha512-vW5XE5Z0SFR8U6MlsTT54lHp3FOQNvL7rmT9nTQQGDQNhp8SmO535tmkS2Yg/ii+eC/5ZuuOdBnQMRoWjPOBFw==
+
"@fontsource/inter@^4.5.1":
version "4.5.1"
resolved "https://registry.yarnpkg.com/@fontsource/inter/-/inter-4.5.1.tgz#058d8a02354f3c78e369d452c15d33557ec1b705"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 8:16 AM (21 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2534111
Default Alt Text
D3122.id9453.diff (2 KB)
Attached To
Mode
D3122: [web] [fix] render correct font family's in app
Attached
Detach File
Event Timeline
Log In to Comment