From e23427c07662d4d264bb21043f00234a2927b91c Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Sun, 14 Oct 2018 19:58:27 -0400 Subject: Add Fira Code font to theme download (closes #17) --- CHANGELOG.md | 8 +++++++- static/css/style.css | 13 +++++++++++-- static/fonts/FiraCode-Regular.eot | Bin 0 -> 94467 bytes static/fonts/FiraCode-Regular.otf | Bin 0 -> 160448 bytes static/fonts/FiraCode-Regular.ttf | Bin 0 -> 227848 bytes static/fonts/FiraCode-Regular.woff | Bin 0 -> 102788 bytes static/fonts/FiraCode-Regular.woff2 | Bin 0 -> 80724 bytes 7 files changed, 18 insertions(+), 3 deletions(-) create mode 100755 static/fonts/FiraCode-Regular.eot create mode 100755 static/fonts/FiraCode-Regular.otf create mode 100755 static/fonts/FiraCode-Regular.ttf create mode 100755 static/fonts/FiraCode-Regular.woff create mode 100755 static/fonts/FiraCode-Regular.woff2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b7bb2b..4d2d63e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.1] - 2018-10-14 +### Fixed +- The Fira Code font is now part of the theme download, rather than downloading from rawgit ([#17](https://github.com/AngeloStavrow/indigo/issues/17)). + ## 1.0.0 - 2018-09-30 ### Added -- The first public release of the indigo theme for Hugo, along with related project documentation (including this changelog). \ No newline at end of file +- The first public release of the indigo theme for Hugo, along with related project documentation (including this changelog). + +[1.0.1]: https://github.com/AngeloStavrow/indigo/compare/v1.0.0...v1.0.1 \ No newline at end of file diff --git a/static/css/style.css b/static/css/style.css index 9e359b6..2b3d846 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,8 +1,17 @@ -@import url(https://cdn.rawgit.com/AngeloStavrow/FiraCode/1.205/distr/fira_code.css); +@font-face{ + font-family: 'Fira Code'; + src: url('/fonts/FiraCode-Regular.eot'); + src: url('/fonts/FiraCode-Regular.eot') format('embedded-opentype'), + url('/fonts/FiraCode-Regular.woff2') format('woff2'), + url('/fonts/FiraCode-Regular.woff') format('woff'), + url('/fonts/FiraCode-Regular.ttf') format('truetype'); + font-weight: 400; + font-style: normal; +} @font-face { font-family: 'Charter'; - src: url('/fonts/charter_regular-webfont.eot?') format('eot'); + src: url('/fonts/charter_regular-webfont.eot') format('eot'); src: url('/fonts/charter_regular-webfont.woff') format('woff'); src: url('/fonts/charter_regular-webfont.ttf') format('truetype'); } diff --git a/static/fonts/FiraCode-Regular.eot b/static/fonts/FiraCode-Regular.eot new file mode 100755 index 0000000..cef458e Binary files /dev/null and b/static/fonts/FiraCode-Regular.eot differ diff --git a/static/fonts/FiraCode-Regular.otf b/static/fonts/FiraCode-Regular.otf new file mode 100755 index 0000000..4770d16 Binary files /dev/null and b/static/fonts/FiraCode-Regular.otf differ diff --git a/static/fonts/FiraCode-Regular.ttf b/static/fonts/FiraCode-Regular.ttf new file mode 100755 index 0000000..0fb0817 Binary files /dev/null and b/static/fonts/FiraCode-Regular.ttf differ diff --git a/static/fonts/FiraCode-Regular.woff b/static/fonts/FiraCode-Regular.woff new file mode 100755 index 0000000..5e4106f Binary files /dev/null and b/static/fonts/FiraCode-Regular.woff differ diff --git a/static/fonts/FiraCode-Regular.woff2 b/static/fonts/FiraCode-Regular.woff2 new file mode 100755 index 0000000..df544dc Binary files /dev/null and b/static/fonts/FiraCode-Regular.woff2 differ -- cgit v1.2.3