Skip to content

Commit d299180

Browse files
committed
Move custom font import to theme
Also import more complete family for diversity
1 parent 1aaaefd commit d299180

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pydata_sphinx_theme/static/css/theme.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
* https://getbootstrap.com/docs/4.0/getting-started/theming/#css-variables
55
**/
66

7+
/*****************************************************************************
8+
* Custom font
9+
**/
10+
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');
11+
712
/*****************************************************************************
813
* Font size
914
**/

src/scss/index.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ $grid-breakpoints: (
1111
// Import Bootstrap core
1212
@import '../../node_modules/bootstrap/scss/bootstrap';
1313

14-
// Import fonts
15-
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400|Lato:400');
16-
1714
@import './base';
1815
@import './navbar';
1916
@import './admonitions';

0 commit comments

Comments
 (0)