mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 08:15:44 +00:00
fonts: Update Classic to use original fonts + Add Playfair theme (#289)
- Update Classic font theme to use original Academic fonts - Add new Playfair font theme
This commit is contained in:
1 parent
e7fa40b1c6
commit
a83605a660
6 files changed
+23
-5
No files matched your search
@@ -2,11 +2,12 @@
|
||||
name = "Classic"
|
||||
|
||||
# Optional Google font URL
|
||||
google_fonts = "Playfair+Display:400,700|Fauna+One"
|
||||
google_fonts = "Lato:400,700|Merriweather|Roboto+Mono"
|
||||
|
||||
# Font families
|
||||
heading_font = "Playfair Display"
|
||||
body_font = "Fauna One"
|
||||
heading_font = "Lato"
|
||||
body_font = "Merriweather"
|
||||
nav_font = "Lato"
|
||||
mono_font = "Roboto Mono"
|
||||
|
||||
# Font size
|
||||
|
||||
@@ -7,6 +7,7 @@ google_fonts = "Montserrat:400,700|Roboto:400,400italic,700|Roboto+Mono"
|
||||
# Font families
|
||||
heading_font = "Montserrat"
|
||||
body_font = "Roboto"
|
||||
nav_font = "Roboto"
|
||||
mono_font = "Roboto Mono"
|
||||
|
||||
# Font size
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
# Font style metadata
|
||||
name = "Playfair"
|
||||
|
||||
# Optional Google font URL
|
||||
google_fonts = "Playfair+Display:400,700|Fauna+One"
|
||||
|
||||
# Font families
|
||||
heading_font = "Playfair Display"
|
||||
body_font = "Fauna One"
|
||||
nav_font = "Fauna One"
|
||||
mono_font = "Roboto Mono"
|
||||
|
||||
# Font size
|
||||
font_size = "20"
|
||||
font_size_small = "16"
|
||||
@@ -29,7 +29,7 @@ defaultContentLanguageInSubdir = false
|
||||
color_theme = "default"
|
||||
|
||||
# Font style.
|
||||
# Choose from `default` or `classic`.
|
||||
# Choose from `default`, `classic`, or `playfair`.
|
||||
font = "default"
|
||||
|
||||
# Your details.
|
||||
|
||||
@@ -61,7 +61,7 @@ ul, ol, dl {
|
||||
|
||||
/* Navigation bar text */
|
||||
.navbar-default {
|
||||
font-family: '{{ .Get "body_font" }}', sans-serif;
|
||||
font-family: '{{ .Get "nav_font" }}', sans-serif;
|
||||
font-weight: 400;
|
||||
line-height: 1.25;
|
||||
text-rendering: optimizeLegibility;
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
{{- $scr.Set "google_fonts" $font.google_fonts -}}
|
||||
{{- $scr.Set "body_font" $font.body_font -}}
|
||||
{{- $scr.Set "heading_font" $font.heading_font -}}
|
||||
{{- $scr.Set "nav_font" $font.nav_font -}}
|
||||
{{- $scr.Set "mono_font" $font.mono_font -}}
|
||||
{{- $scr.Set "font_size" $font.font_size -}}
|
||||
{{- $scr.Set "font_size_small" $font.font_size_small -}}
|
||||
|
||||
Reference in new issue
Block a user