diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index c10f53cb5..144acf590 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -245,6 +245,7 @@ - **Sidebar** - Sidebar now defaults to `useLegacy: false` to avoid the overhead of feature detection for most users - **Search** - Slightly adjusted search result theme for clarity - **Statistic** - Statistic label styles have been updated +- **Site** - Additional font variables have been added to site to help clarify variable purpose. - **Site** - Increase contrast on default hovered/down colors for colored variations - **Site** - Page background is now `#FFFFFF` by default instead of an offwhite `#F7F7F7` - **Site** - Adjusted global line height to the closest even pixel value diff --git a/src/themes/default/globals/site.variables b/src/themes/default/globals/site.variables index 91753a58b..91fae1431 100644 --- a/src/themes/default/globals/site.variables +++ b/src/themes/default/globals/site.variables @@ -6,12 +6,14 @@ Fonts --------------------*/ -@headerFont : 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif; -@pageFont : 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif; +@fontName : 'Lato'; @fontSmoothing : antialiased; +@headerFont : @fontName, 'Helvetica Neue', Arial, Helvetica, sans-serif; +@pageFont : @fontName, 'Helvetica Neue', Arial, Helvetica, sans-serif; + +@googleFontName : @fontName; @importGoogleFonts : true; -@googleFontName : 'Lato'; @googleFontSizes : '400,700,400italic,700italic'; @googleSubset : 'latin';