Permalink
Browse files

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
  • Loading branch information...
gcushen committed Oct 3, 2017
1 parent e7fa40b commit a83605a660379d4a9df9d32019b82d0749de8ff1
View
@@ -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
View
@@ -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
View
@@ -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"
View
@@ -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 -}}

0 comments on commit a83605a

Please sign in to comment.