fix(docs-infra): switch code font from `Droid Sans Mono` to `Roboto Mono` (#40667)

`Droid Sans Mono` didn't look good on some screens.

Fixes #40666

PR Close #40667
This commit is contained in:
Enea Jahollari 2021-02-02 17:08:38 +01:00 committed by Alex Rickabaugh
parent 5cde4ad591
commit c9fa59ac1f
2 changed files with 3 additions and 3 deletions

View File

@ -25,8 +25,8 @@
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/images/favicons/favicon-144x144.png">
<!-- NOTE: These need to be kept in sync with `ngsw-config.json`. -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Droid+Sans+Mono&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons&display=block">
<!-- -->

View File

@ -1,6 +1,6 @@
// TYPOGRAPHY
$main-font: "Roboto","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
$code-font: "Droid Sans Mono", monospace;
$code-font: "Roboto Mono", monospace;
// Z-LAYER
$layer-1: 1;