Merge pull request #17190 from overleaf/td-bs5-default-typography

Change default fonts in Bootstrap 5

GitOrigin-RevId: e60b6f32ae639a47353f1a73179c8e1e25edcd52
This commit is contained in:
Tim Down 2024-02-21 16:01:50 +00:00 committed by Copybot
parent 992cb49802
commit fd26faa3d9
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,6 @@
// Web fonts // Web fonts
@import '../../fonts/lato.css'; @import '../../fonts/noto-sans';
@import '../../fonts/dm-mono';
@import '../../fonts/merriweather.css'; @import '../../fonts/merriweather.css';
@import '../../fonts/source-code-pro.css'; @import '../../fonts/source-code-pro.css';
@import '../../fonts/stix-two-math.css'; @import '../../fonts/stix-two-math.css';

View file

@ -1,8 +1,8 @@
// This file provides overrides for Bootstrap 5's default font-related Sass variables // This file provides overrides for Bootstrap 5's default font-related Sass variables
$font-family-sans-serif: 'Lato', sans-serif; $font-family-sans-serif: 'Noto Sans', sans-serif;
$font-family-serif: 'Merriweather', serif; $font-family-serif: 'Merriweather', serif;
$font-family-monospace: 'Menlo', 'Monaco', 'Consolas', 'Courier New', monospace; $font-family-monospace: 'DM Mono', monospace;
$font-size-base: $default-font-size; $font-size-base: $default-font-size;
$line-height-base: $default-line-height; $line-height-base: $default-line-height;