diff options
author | Angelo Stavrow <angelo@fogcreek.com> | 2018-10-15 02:58:27 +0300 |
---|---|---|
committer | Angelo Stavrow <angelo@fogcreek.com> | 2018-10-15 02:58:27 +0300 |
commit | e23427c07662d4d264bb21043f00234a2927b91c (patch) | |
tree | bcc86f39c5c19a74d8f93cbdee2a7d48279dad91 | |
parent | d91dc146533c4ae98f44bc5c07756aeed14a316e (diff) |
Add Fira Code font to theme download (closes #17)v1.0.1
-rw-r--r-- | CHANGELOG.md | 8 | ||||
-rw-r--r-- | static/css/style.css | 13 | ||||
-rwxr-xr-x | static/fonts/FiraCode-Regular.eot | bin | 0 -> 94467 bytes | |||
-rwxr-xr-x | static/fonts/FiraCode-Regular.otf | bin | 0 -> 160448 bytes | |||
-rwxr-xr-x | static/fonts/FiraCode-Regular.ttf | bin | 0 -> 227848 bytes | |||
-rwxr-xr-x | static/fonts/FiraCode-Regular.woff | bin | 0 -> 102788 bytes | |||
-rwxr-xr-x | static/fonts/FiraCode-Regular.woff2 | bin | 0 -> 80724 bytes |
7 files changed, 18 insertions, 3 deletions
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 Binary files differnew file mode 100755 index 0000000..cef458e --- /dev/null +++ b/static/fonts/FiraCode-Regular.eot diff --git a/static/fonts/FiraCode-Regular.otf b/static/fonts/FiraCode-Regular.otf Binary files differnew file mode 100755 index 0000000..4770d16 --- /dev/null +++ b/static/fonts/FiraCode-Regular.otf diff --git a/static/fonts/FiraCode-Regular.ttf b/static/fonts/FiraCode-Regular.ttf Binary files differnew file mode 100755 index 0000000..0fb0817 --- /dev/null +++ b/static/fonts/FiraCode-Regular.ttf diff --git a/static/fonts/FiraCode-Regular.woff b/static/fonts/FiraCode-Regular.woff Binary files differnew file mode 100755 index 0000000..5e4106f --- /dev/null +++ b/static/fonts/FiraCode-Regular.woff diff --git a/static/fonts/FiraCode-Regular.woff2 b/static/fonts/FiraCode-Regular.woff2 Binary files differnew file mode 100755 index 0000000..df544dc --- /dev/null +++ b/static/fonts/FiraCode-Regular.woff2 |