|
|
|
@ -36,9 +36,17 @@ $table-border-color: rgba(black, .125);
|
|
|
|
|
$table-row-alternate: $secondary-lightest-background;
|
|
|
|
|
$table-row-default: $secondary-lighter-background;
|
|
|
|
|
|
|
|
|
|
/* Configure docsy to use the default system fonts instead of Google Fonts.
|
|
|
|
|
* See https://www.docsy.dev/docs/adding-content/lookandfeel/#fonts */
|
|
|
|
|
$td-enable-google-fonts: false;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
Opt to serve fonts locally by overriding web-font-path to be a non-google fonts URL.
|
|
|
|
|
This is only possible with our modified docsy theme: https://github.com/matrix-org/docsy
|
|
|
|
|
*/
|
|
|
|
|
$web-font-path: "../css/fonts/Inter.css";
|
|
|
|
|
$google_font_name: "Inter";
|
|
|
|
|
* Replace the default font with Inter - we load it from a local copy, which is downloaded from
|
|
|
|
|
* Google Fonts manually via a script:
|
|
|
|
|
* https://github.com/matrix-org/matrix-spec/tree/main/static/css/fonts
|
|
|
|
|
*
|
|
|
|
|
* 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
|
|
|
|
|
* and adds "Inter" to the front. */
|
|
|
|
|
@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";
|