Skip to content

Commit

Permalink
fix: update source sans font to latest
Browse files Browse the repository at this point in the history
The 3.x series of Source Sans was released in 2020, and contains the
desired italicized glyphs.
It was added to Google Fonts in 2021 in google/fonts#3856

The author dropped "Pro" from the name, and replaced with "3".

See: https://blog.adobe.com/en/publish/2020/11/30/whats-new-in-source-sans-3

Fixes pypi#8634

Signed-off-by: Mike Fiedler <[email protected]>
  • Loading branch information
miketheman committed May 2, 2023
1 parent 352fec9 commit 4e9146e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion warehouse/static/sass/settings/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// SETTINGS - FONTS

$base-font-family: "Source Sans Pro", "Helvetica", arial, sans-serif;
$base-font-family: "Source Sans 3", "Helvetica", arial, sans-serif;
$code-font: "Source Code Pro", monospace;


Expand Down
2 changes: 1 addition & 1 deletion warehouse/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

<link rel="stylesheet" href="{{ request.static_path('warehouse:static/dist/css/warehouse-{}.css'.format(request.locale.text_direction)) }}">
<link rel="stylesheet" href="{{ request.static_path('warehouse:static/dist/css/fontawesome.css') }}">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,600italic,700,700italic%7CSource+Code+Pro:500">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+3:400,400italic,600,600italic,700,700italic%7CSource+Code+Pro:500">
<noscript>
<link rel="stylesheet" href="{{ request.static_path('warehouse:static/dist/css/noscript.css') }}">
</noscript>
Expand Down

0 comments on commit 4e9146e

Please sign in to comment.