From b24246085f85fa7949f06530978f8ba102d7079c Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Wed, 28 Jun 2023 09:35:30 +0100 Subject: [PATCH] CSS: Tweaked css heading font to fall back to body font --- resources/sass/_text.scss | 2 +- resources/sass/_variables.scss | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/sass/_text.scss b/resources/sass/_text.scss index f2c88d96d..7cade9607 100644 --- a/resources/sass/_text.scss +++ b/resources/sass/_text.scss @@ -42,7 +42,7 @@ h1, h2, h3, h4, h5, h6 { font-weight: 400; position: relative; display: block; - font-family: var(--font-heading); + font-family: var(--font-heading, var(--font-body)); @include lightDark(color, #222, #BBB); .subheader { font-size: 0.5em; diff --git a/resources/sass/_variables.scss b/resources/sass/_variables.scss index 5892237d9..a3598e29c 100644 --- a/resources/sass/_variables.scss +++ b/resources/sass/_variables.scss @@ -60,10 +60,8 @@ $bs-hover: 0 2px 2px 1px rgba(0,0,0,.13); // CSS root variables :root { --font-body: #{$font-body}; - --font-heading: #{$font-body}; --font-code: #{$font-mono}; - --color-primary: #206ea7; --color-primary-light: rgba(32,110,167,0.15); --color-link: #206ea7;