Skip to content
Snippets Groups Projects
Unverified Commit d1f04b12 authored by Jed Fox's avatar Jed Fox Committed by GitHub
Browse files

Switch to Inter’s variable font version (#444)

parent 50a71335
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
<meta name="msapplication-TileColor" content="#da532c" /> <meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" /> <meta name="theme-color" content="#ffffff" />
<link rel="stylesheet" href="%PUBLIC_URL%/Inter/inter.css" />
<style type="text/css"> <style type="text/css">
html, html,
body { body {
...@@ -49,7 +48,7 @@ ...@@ -49,7 +48,7 @@
body, body,
button, button,
input { input {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', font-family: 'Inter var', -apple-system, BlinkMacSystemFont, 'Segoe UI',
'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
'Helvetica Neue', 'Helvetica', 'Arial', sans-serif; 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
} }
...@@ -73,7 +72,7 @@ ...@@ -73,7 +72,7 @@
input, input,
textarea { textarea {
font-size: 1em; font-size: 1em;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', font-family: 'Inter var', -apple-system, BlinkMacSystemFont, 'Segoe UI',
'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
'Helvetica Neue', 'Helvetica', 'Arial', sans-serif; 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
} }
......
...@@ -5,6 +5,8 @@ import './browser-preload'; ...@@ -5,6 +5,8 @@ import './browser-preload';
// A hack for now: this makes sure it's appended before glamor // A hack for now: this makes sure it's appended before glamor
import '@reach/listbox/styles.css'; import '@reach/listbox/styles.css';
import 'inter-ui/inter.css';
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import { Provider } from 'react-redux'; import { Provider } from 'react-redux';
......
...@@ -269,7 +269,7 @@ app.on('ready', async () => { ...@@ -269,7 +269,7 @@ app.on('ready', async () => {
const pathname = parsedUrl.pathname; const pathname = parsedUrl.pathname;
if (pathname.startsWith('/static') || pathname.startsWith('/Inter')) { if (pathname.startsWith('/static')) {
callback({ callback({
path: path.normalize(`${__dirname}/client-build${pathname}`) path: path.normalize(`${__dirname}/client-build${pathname}`)
}); });
......
...@@ -95,6 +95,7 @@ __metadata: ...@@ -95,6 +95,7 @@ __metadata:
glamor: ^2.20.40 glamor: ^2.20.40
html-webpack-plugin: 4.0.0-alpha.2 html-webpack-plugin: 4.0.0-alpha.2
identity-obj-proxy: 3.0.0 identity-obj-proxy: 3.0.0
inter-ui: ^3.19.3
load-js: ^3.0.3 load-js: ^3.0.3
mini-css-extract-plugin: 0.4.3 mini-css-extract-plugin: 0.4.3
mitt: ^1.1.2 mitt: ^1.1.2
...@@ -13112,6 +13113,13 @@ __metadata: ...@@ -13112,6 +13113,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
   
"inter-ui@npm:^3.19.3":
version: 3.19.3
resolution: "inter-ui@npm:3.19.3"
checksum: 74435e742e9829402cf15ac08aa48541c93e96d7528a29ba3bc2a14b059ccd3f330ddba8b1c96f06bfdda46b0c7e1a406db22a309045b3412b66ec4dcb5efa2a
languageName: node
linkType: hard
"internal-ip@npm:^4.3.0": "internal-ip@npm:^4.3.0":
version: 4.3.0 version: 4.3.0
resolution: "internal-ip@npm:4.3.0" resolution: "internal-ip@npm:4.3.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment