Skip to content

Commit 0817afb

Browse files
authored
Replace Inter font with system-ui keyword (#2676)
2 parents 6a2cffc + 505c5ab commit 0817afb

File tree

6 files changed

+6
-22
lines changed

6 files changed

+6
-22
lines changed

app/index.html

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,6 @@
88

99
{{content-for "head"}}
1010

11-
<style type="text/css">
12-
@font-face {
13-
font-display: swap;
14-
font-family: 'Inter';
15-
font-style: normal;
16-
font-weight: 400;
17-
src: url("{{rootURL}}assets/fonts/Inter-Regular.woff2?v=3.12") format("woff2"), url("{{rootURL}}assets/fonts/Inter-Regular.woff?v=3.12") format("woff");
18-
}
19-
20-
@font-face {
21-
font-display: swap;
22-
font-family: 'Inter';
23-
font-style: normal;
24-
font-weight: 700;
25-
src: url("{{rootURL}}assets/fonts/Inter-Bold.woff2?v=3.12") format("woff2"), url("{{rootURL}}assets/fonts/Inter-Bold.woff?v=3.12") format("woff");
26-
}
27-
</style>
28-
2911
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css">
3012
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/ember-inspector.css">
3113

app/styles/base.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
:root {
22
/* stylelint-disable value-keyword-case */
3-
--font-sans-serif: "Inter", -apple-system, system-ui, BlinkMacSystemFont,
4-
"Segoe UI", "Roboto", "Cantarell", "Oxygen", "Ubuntu", "Helvetica Neue",
5-
helvetica, arial, sans-serif;
6-
--font-monospace: "SF Mono", Menlo, Monaco, monospace;
3+
--font-sans-serif: system-ui, sans-serif, "Apple Color Emoji",
4+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
5+
--font-monospace: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo,
6+
Consolas, "DejaVu Sans Mono", monospace, "Apple Color Emoji",
7+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
78
/* stylelint-enable value-keyword-case */
9+
810
--inherit: inherit;
911
--unit0: 0;
1012
--unit1: 4px;
-140 KB
Binary file not shown.
-105 KB
Binary file not shown.
-131 KB
Binary file not shown.
-97.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)