mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
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:
@@ -142,7 +142,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
// Load fonts
|
||||
test: /\.(woff|woff2)$/,
|
||||
test: /\.(woff2?|ttf|otf)$/,
|
||||
type: 'asset/resource',
|
||||
generator: {
|
||||
filename: 'fonts/[name]-[contenthash][ext]',
|
||||
|
||||
Reference in New Issue
Block a user