Skip to content

Commit 2c83269

Browse files
authored
fix(inter): ligatures causing arrows in titles (#442)
1 parent 5972d79 commit 2c83269

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

components/font/inter.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
font-family: "Inter";
1313
font-style: normal;
1414
font-weight: 100 900;
15+
font-feature-settings: "calt" 0;
1516

1617
src: url("fonts/inter-latin.woff2") format("woff2");
1718
font-display: swap;
@@ -25,6 +26,7 @@
2526
font-family: "Inter";
2627
font-style: italic;
2728
font-weight: 100 900;
29+
font-feature-settings: "calt" 0;
2830

2931
src: url("fonts/inter-italic-latin.woff2") format("woff2");
3032
font-display: swap;
@@ -40,6 +42,7 @@
4042
font-family: "Inter";
4143
font-style: normal;
4244
font-weight: 100 900;
45+
font-feature-settings: "calt" 0;
4346

4447
src: url("fonts/inter-latin-extended.woff2") format("woff2");
4548
font-display: swap;
@@ -53,6 +56,7 @@
5356
font-family: "Inter";
5457
font-style: italic;
5558
font-weight: 100 900;
59+
font-feature-settings: "calt" 0;
5660

5761
src: url("fonts/inter-italic-latin-extended.woff2") format("woff2");
5862
font-display: swap;
@@ -68,6 +72,7 @@
6872
font-family: "Inter";
6973
font-style: normal;
7074
font-weight: 100 900;
75+
font-feature-settings: "calt" 0;
7176

7277
src: url("fonts/inter-cyrillic.woff2") format("woff2");
7378
font-display: swap;
@@ -78,6 +83,7 @@
7883
font-family: "Inter";
7984
font-style: italic;
8085
font-weight: 100 900;
86+
font-feature-settings: "calt" 0;
8187

8288
src: url("fonts/inter-italic-cyrillic.woff2") format("woff2");
8389
font-display: swap;

components/html/global.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
html {
44
font-family: var(--font-family-text);
55
font-size: var(--font-size-normal);
6+
font-feature-settings: "calt" 0;
67
font-variant-alternates: styleset(disambiguation);
78

89
line-height: var(--font-line-normal);

0 commit comments

Comments
 (0)