Skip to content

Commit 62dc275

Browse files
authored
Update font in cosmo.scss
Source Sans Pro is now known as Source Sans 3. But the real reason I make this change is to include the italic: otherwise, any Quarto document has rather ugly-looking automatically-generated italic letters (slanted versions of the upright).
1 parent 5b88d3d commit 62dc275

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/resources/formats/html/bootstrap/themes

src/resources/formats/html/bootstrap/themes/cosmo.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ $body-color: $gray-800 !default;
5252
// Fonts
5353

5454
// stylelint-disable-next-line value-keyword-case
55-
$font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
55+
$font-family-sans-serif: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
5656
$headings-font-weight: 400 !default;
5757

5858
// Navbar
@@ -75,7 +75,7 @@ $progress-height: .5rem !default;
7575

7676
// Variables
7777

78-
$web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;700&display=swap" !default;
78+
$web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" !default;
7979
@if $web-font-path {
8080
@import url($web-font-path);
8181
}

0 commit comments

Comments
 (0)