mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 13:04:10 +01:00
Clarify comment about loading Inter
This commit is contained in:
parent
3313b6a0a5
commit
a101159d96
|
|
@ -46,8 +46,9 @@ $td-enable-google-fonts: false;
|
||||||
Google Fonts manually via a script:
|
Google Fonts manually via a script:
|
||||||
https://github.com/matrix-org/matrix-spec/tree/main/static/css/fonts
|
https://github.com/matrix-org/matrix-spec/tree/main/static/css/fonts
|
||||||
|
|
||||||
The list of fonts (with Inter prepended) is taken from docsy's source code:
|
The $font-family-sans-serif definition here overrides the default value set by docsy:
|
||||||
https://github.com/matrix-org/docsy/blob/66a4e61d2d34edc7196b9df83a7d09cd4af14b47/assets/scss/_variables.scss#L68
|
https://github.com/matrix-org/docsy/blob/66a4e61d2d34edc7196b9df83a7d09cd4af14b47/assets/scss/_variables.scss#L68
|
||||||
|
and adds "Inter" to the front.
|
||||||
*/
|
*/
|
||||||
@import url("../css/fonts/Inter.css");
|
@import url("../css/fonts/Inter.css");
|
||||||
$font-family-sans-serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
$font-family-sans-serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
Loading…
Reference in a new issue