Skip to content

Commit

Permalink
Bolder bigger headings
Browse files Browse the repository at this point in the history
  • Loading branch information
gabalafou committed Sep 12, 2024
1 parent 8b36690 commit e4a0a1a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/pydata_sphinx_theme/assets/styles/variables/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ html {
// base font size - applied at body/html level
--pst-font-size-base: 1rem;

// heading font sizes based on bootstrap sizing
--pst-font-size-h1: 2.5rem;
--pst-font-size-h2: 2rem;
// heading font sizes based on a medium contrast type scale
// - see: https://github.com/Quansight-Labs/czi-scientific-python-mgmt/issues/97#issuecomment-2310531483
--pst-font-size-h1: 2.625rem;
--pst-font-size-h2: 2.125rem;
--pst-font-size-h3: 1.75rem;
--pst-font-size-h4: 1.5rem;
--pst-font-size-h5: 1.25rem;
--pst-font-size-h6: 1.1rem;
--pst-font-size-h6: 1rem;

// smaller than heading font sizes
--pst-font-size-milli: 0.9rem;
Expand All @@ -28,7 +29,7 @@ html {

// Font weights
--pst-font-weight-caption: 300;
--pst-font-weight-heading: 400;
--pst-font-weight-heading: 600;

// Font family
// These are adapted from https://systemfontstack.com/ */
Expand Down

0 comments on commit e4a0a1a

Please sign in to comment.