Improve Rich Text typography (#11157)

* Replace @fontsource/noto-serif with local Noto Serif fonts
* Make more use of CSS variables in theme
* Make sure the chosen font is used for monospace
* Increase the weight of section headings
* Set link colours
* Rename variable to --source-font-family

GitOrigin-RevId: e14856a619829e075e71bf2df9b799fe0b45acea
This commit is contained in:
Alf Eaton
2023-01-12 09:03:19 +00:00
committed by Copybot
parent 82cd2d2a77
commit dbef19d0d6
7 changed files with 13 additions and 14 deletions
@@ -0,0 +1,11 @@
@font-face {
font-family: 'Noto Serif';
font-style: normal;
src: url('noto-serif/NotoSerif[wght].ttf') format('truetype');
}
@font-face {
font-family: 'Noto Serif';
font-style: italic;
src: url('noto-serif/NotoSerif-Italic[wght].ttf') format('truetype');
}