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

github.com/gohugoio/gohugoioTheme2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-10 10:51:59 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-10 10:51:59 +0300
commit934a8f5ff94985a2003a98d17bfd44e00ffba0c2 (patch)
treef6a87eb160db00e4df4ab45e516f07a6de8a2ef3
parent677395d882c4e602aedebedf3d18737060f58b12 (diff)
Adjust font weights for Mulish
Make the normal weight a little higher (400 -> 500).
-rw-r--r--layouts/partials/sections/common/head.html8
-rw-r--r--tailwind.config.js7
2 files changed, 10 insertions, 5 deletions
diff --git a/layouts/partials/sections/common/head.html b/layouts/partials/sections/common/head.html
index 716b6ab..5ab5fc4 100644
--- a/layouts/partials/sections/common/head.html
+++ b/layouts/partials/sections/common/head.html
@@ -1,11 +1,9 @@
<head>
<meta charset="utf-8" />
{{/* TODO1 self host https://fonts.google.com/specimen/Mulish?preview.text_type=custom */}}
- <link rel="preconnect" href="https://fonts.gstatic.com" />
- <link
- href="https://fonts.googleapis.com/css2?family=Mulish:wght@200;400;800&display=swap"
- rel="stylesheet" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,300;0,500;0,700;1,500;1,700&display=swap" rel="stylesheet">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
{{/* NOTE: the Site's title, and if there is a page title, that is set too */}}
<title>
{{ block "title" . }}
diff --git a/tailwind.config.js b/tailwind.config.js
index a062fdd..8b43ab9 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -98,6 +98,13 @@ module.exports = {
...theme.fontFamily,
sans: ['Mulish', ...theme.fontFamily.sans],
},
+ fontWeight: {
+ light: 300,
+ normal: 500,
+ semibold: 600,
+ bold: 700,
+
+ },
extend: {
spacing: {
'2/3': '66.666667%',