From dc614abeb617c838cdcd6760b4b984cbc1d4ad16 Mon Sep 17 00:00:00 2001 From: BurnyLlama Date: Wed, 29 Mar 2023 10:42:38 +0200 Subject: [PATCH] Added start of setting system. --- src/_settings.scss | 2 ++ src/text.scss | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 src/_settings.scss diff --git a/src/_settings.scss b/src/_settings.scss new file mode 100644 index 0000000..e89593f --- /dev/null +++ b/src/_settings.scss @@ -0,0 +1,2 @@ +// $font-body-text: 'Manrope', sans-serif; +$font-body-text: 'Alegreya', serif; \ No newline at end of file diff --git a/src/text.scss b/src/text.scss index 255c194..8467371 100644 --- a/src/text.scss +++ b/src/text.scss @@ -1,20 +1,21 @@ @use "palette"; +@use "settings"; p { - font-family: 'Alegreya', serif; + font-family: settings.$font-body-text; font-size: 1rem; } blockquote { position: relative; - font-family: 'Alegreya', serif; + font-family: settings.$font-body-text; margin: 2rem 1rem; padding: 1rem; background-color: palette.$standout; box-shadow: .5rem .5rem 0 0 palette.$grey200; &::before { - font-family: 'Alegreya', serif; + font-family: settings.$font-body-text; font-size: 2rem; text-align: center; content: '"';