Commit 1252e05
committed
minor #1119 [Site] Use
This PR was merged into the 2.x branch.
Discussion
----------
[Site] Use `system-ui` font family
### TL;DR;
I suggest we use "system-ui" (native/OS font) instead of "Inter" on the website.
---
### What ?
* System font are the default font used in every OS
* They can be used instead of webfont .. and are excellent fonts.
* This article is a great overview on system fonts: https://woorkup.com/system-font/
* Already used by Github, bootstrap, web.dev, apple, Stripe, and many more
### Why ?
* better web performance (good for seo, greater for accessibility & UX)
* less bandwidth used (good for 💰, greater for 🌍)
* the system fonts will allow us more things than Inter
* Allow the user to get the standard font used in the OS
### How does it look ?
The difference is subtile... at least.
And i'm pretty sure only a very, very low part of the visitors will notice the difference.
### Test it
I made some captures for you to see the "before/after" on our main pages..
They are available on a page if you want to test yourself the slider and see the differences
-> https://smnand.re/w/ab4e91/
| All demos | Invoice demo |
| - | - |
|  |  |
| [Test it yourself (external link)](https://smnand.re/w/ab4e91/) |
| - |
|  |
Commits
-------
c7fc1d8 Use `system-ui` font familysystem-ui font family (smnandre)File tree
5 files changed
+5
-15
lines changed- ux.symfony.com
- assets/styles
- app
- utilities
- templates
5 files changed
+5
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 8 | | |
17 | 9 | | |
18 | 10 | | |
| |||
89 | 81 | | |
90 | 82 | | |
91 | 83 | | |
92 | | - | |
| 84 | + | |
93 | 85 | | |
94 | 86 | | |
95 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments