Skip to content

Commit

Permalink
Use offline fonts, closes #411
Browse files Browse the repository at this point in the history
  • Loading branch information
onigoetz committed Sep 13, 2017
1 parent 4a9a477 commit 1f84f50
Show file tree
Hide file tree
Showing 22 changed files with 2,116 additions and 6 deletions.
45 changes: 45 additions & 0 deletions themes/common/less/_fonts.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,48 @@
@font-family-text: "Helvetica Neue", Helvetica, Arial, sans-serif;
@font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace;
@font-family-heading: "Roboto Slab", @font-family-text;

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on September 13, 2017 */

@font-face {
font-family: 'Roboto Slab';
font-style: normal;
font-weight: 300;
src: url('../fonts/robotoslab-light.eot');
src:
url('../fonts/robotoslab-light.eot?#iefix') format('embedded-opentype'),
url('../fonts/robotoslab-light.woff2') format('woff2'),
url('../fonts/robotoslab-light.woff') format('woff'),
url('../fonts/robotoslab-light.ttf') format('truetype'),
url('../fonts/robotoslab-light.svg#roboto_slablight') format('svg');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
font-family: 'Roboto Slab';
font-style: normal;
font-weight: 400;
src: url('../fonts/robotoslab-regular.eot');
src:
url('../fonts/robotoslab-regular.eot?#iefix') format('embedded-opentype'),
url('../fonts/robotoslab-regular.woff2') format('woff2'),
url('../fonts/robotoslab-regular.woff') format('woff'),
url('../fonts/robotoslab-regular.ttf') format('truetype'),
url('../fonts/robotoslab-regular.svg#roboto_slabregular') format('svg');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
font-family: 'Roboto Slab';
font-style: normal;
font-weight: 700;
src: url('../fonts/robotoslab-bold.eot');
src:
url('../fonts/robotoslab-bold.eot?#iefix') format('embedded-opentype'),
url('../fonts/robotoslab-bold.woff2') format('woff2'),
url('../fonts/robotoslab-bold.woff') format('woff'),
url('../fonts/robotoslab-bold.ttf') format('truetype'),
url('../fonts/robotoslab-bold.svg#roboto_slabbold') format('svg');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

1 change: 0 additions & 1 deletion themes/daux/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"favicon": "<theme_url>img/favicon.png",
"fonts": ["https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700&subset=latin,cyrillic-ext,cyrillic"],
"js": [],
"variants": {
"blue": {
Expand Down
3 changes: 2 additions & 1 deletion themes/daux/css/theme-blue.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion themes/daux/css/theme-green.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion themes/daux/css/theme-navy.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion themes/daux/css/theme-red.min.css

Large diffs are not rendered by default.

Binary file added themes/daux/fonts/robotoslab-bold.eot
Binary file not shown.
688 changes: 688 additions & 0 deletions themes/daux/fonts/robotoslab-bold.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/daux/fonts/robotoslab-bold.ttf
Binary file not shown.
Binary file added themes/daux/fonts/robotoslab-bold.woff
Binary file not shown.
Binary file added themes/daux/fonts/robotoslab-bold.woff2
Binary file not shown.
Binary file added themes/daux/fonts/robotoslab-light.eot
Binary file not shown.
687 changes: 687 additions & 0 deletions themes/daux/fonts/robotoslab-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/daux/fonts/robotoslab-light.ttf
Binary file not shown.
Binary file added themes/daux/fonts/robotoslab-light.woff
Binary file not shown.
Binary file added themes/daux/fonts/robotoslab-light.woff2
Binary file not shown.
Binary file added themes/daux/fonts/robotoslab-regular.eot
Binary file not shown.
687 changes: 687 additions & 0 deletions themes/daux/fonts/robotoslab-regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/daux/fonts/robotoslab-regular.ttf
Binary file not shown.
Binary file added themes/daux/fonts/robotoslab-regular.woff
Binary file not shown.
Binary file added themes/daux/fonts/robotoslab-regular.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion themes/daux_singlepage/css/main.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1f84f50

Please sign in to comment.