Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/rmaguiar/hugo-theme-color-your-world.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Aguiar <rmaguiar@tuta.io>2020-06-23 00:36:06 +0300
committerRaphael Aguiar <rmaguiar@tuta.io>2020-06-23 00:36:06 +0300
commit3dd835c8a62dd8b6739e579b887b08fd09751bd8 (patch)
treed792ec885304dd18a0752af20e649898773310f0
parent933fcedb7204a9aeef80d26e730bf64d27a01d02 (diff)
Fix font paths
-rw-r--r--assets/scss/fonts/variables.scss9
-rw-r--r--assets/scss/main.scss13
2 files changed, 11 insertions, 11 deletions
diff --git a/assets/scss/fonts/variables.scss b/assets/scss/fonts/variables.scss
new file mode 100644
index 0000000..1710ed6
--- /dev/null
+++ b/assets/scss/fonts/variables.scss
@@ -0,0 +1,9 @@
+// Typography
+$heading-font: 'Oswald', sans-serif;
+$body-font: 'Open Sans', sans-serif;
+$code-font: monospace;
+
+$font-size: 18px;
+
+$heading-weight: 700;
+$body-bold-weight: 700;
diff --git a/assets/scss/main.scss b/assets/scss/main.scss
index 9c90403..5142040 100644
--- a/assets/scss/main.scss
+++ b/assets/scss/main.scss
@@ -12,10 +12,11 @@
// Import base (variables and mixins), typography and general colors
@import 'base/_all',
+ 'fonts/variables',
'colors/variables';
-// Fonts
+// Default font face
// "A Hassle-Free Way to Self-Host Google Fonts" by Mario Ranftl
// https://google-webfonts-helper.herokuapp.com/fonts
@@ -69,16 +70,6 @@ $display: swap;
}
-$heading-font: 'Oswald', sans-serif;
-$body-font: 'Open Sans', sans-serif;
-$code-font: monospace;
-
-$font-size: 18px;
-
-$heading-weight: 700;
-$body-bold-weight: 700;
-
-
// Transition for color changes
$change-transition: {{ .Site.Params.Style.changeTransition | default ".5s ease" }}