Skip to content

Commit c7fc1d8

Browse files
committed
Use system-ui font family
1 parent 7412bd2 commit c7fc1d8

File tree

5 files changed

+5
-15
lines changed

5 files changed

+5
-15
lines changed

ux.symfony.com/assets/styles/app/_html.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
body {
2-
font-family: Inter;
2+
font-family: var(--font-family-text);
33
font-size: 16px;
44
font-weight: 400;
55
line-height: 26px;

ux.symfony.com/assets/styles/app/_root.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
--space-larger: 2rem;
1515

1616
// Fonts
17-
// --font-family-title: "Inter";
18-
--font-family-text: "Inter";
19-
// --font-family-code: "Inter";
17+
--font-family-text: system-ui, sans-serif;
2018

2119
// Colors
2220
--color-primary: var(--bs-body-color);

ux.symfony.com/assets/styles/app/_typography.scss

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ h1 {
55
letter-spacing: -0.035em;
66
}
77

8-
h1.inter {
9-
font-family: Inter;
10-
font-size: 16px;
11-
font-weight: 700;
12-
line-height: 26px;
13-
letter-spacing: 0px;
14-
}
15-
168
h1.ubuntu {
179
line-height: 60px;
1810
}
@@ -89,7 +81,7 @@ h4.ubuntu {
8981

9082
.eyebrows {
9183
text-transform: uppercase;
92-
font-family: Inter;
84+
font-family: var(--font-family-text);
9385
font-size: 0.7rem;
9486
font-weight: 600;
9587
line-height: 1.6;

ux.symfony.com/assets/styles/utilities/_info-tooltips.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.info-tooltips {
2-
font-family: Inter;
2+
font-family: var(--font-family-text);
33
font-size: 12px;
44
font-weight: 400;
55
line-height: 19px;

ux.symfony.com/templates/base.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<meta name="color-scheme" content="light dark">
1313
<link rel="preconnect" href="https://fonts.googleapis.com" />
1414
{% block stylesheets %}
15-
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:200,400,600|Playfair+Display:400,700i|Space+Mono|Ubuntu:400,700&display=swap">
15+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700i|Space+Mono|Ubuntu:400,700&display=swap">
1616
{{ ux_controller_link_tags() }}
1717
<link rel="stylesheet" href="{{ asset('styles/app.scss') }}">
1818
{% endblock %}

0 commit comments

Comments
 (0)