aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-05-30 17:12:06 -0700
committerBastien Wirtz <bastien.wirtz@gmail.com>2020-05-30 17:12:06 -0700
commit1875c17aa5142d90fc03498875e195f2085d9640 (patch)
tree91c6616f8272c525835753fcc7e79a5ad30b5c3e
parent3bf0edcf136b6354274fe0a5870c38350d36e6b7 (diff)
downloadhomer-1875c17aa5142d90fc03498875e195f2085d9640.tar.gz
homer-1875c17aa5142d90fc03498875e195f2085d9640.tar.zst
homer-1875c17aa5142d90fc03498875e195f2085d9640.zip
Full offline support (local fonts)
-rw-r--r--src/assets/app.scss3
-rw-r--r--src/assets/webfonts/lato/OFL.txt93
-rw-r--r--src/assets/webfonts/lato/lato-v16-latin-regular.woffbin0 -> 28660 bytes
-rw-r--r--src/assets/webfonts/lato/lato-v16-latin-regular.woff2bin0 -> 23484 bytes
-rw-r--r--src/assets/webfonts/raleway/OFL.txt95
-rw-r--r--src/assets/webfonts/raleway/raleway-v14-latin-regular.woffbin0 -> 25244 bytes
-rw-r--r--src/assets/webfonts/raleway/raleway-v14-latin-regular.woff2bin0 -> 20724 bytes
-rw-r--r--src/assets/webfonts/webfonts.scss23
8 files changed, 213 insertions, 1 deletions
diff --git a/src/assets/app.scss b/src/assets/app.scss
index 4b69864..001e3a4 100644
--- a/src/assets/app.scss
+++ b/src/assets/app.scss
@@ -1,6 +1,7 @@
1@charset "utf-8"; 1@charset "utf-8";
2 2
3@import url("//fonts.googleapis.com/css?family=Lato:400,700|Pacifico|Raleway&display=swap"); 3@import "./webfonts/webfonts.scss";
4
4@import "bulma"; 5@import "bulma";
5 6
6// Themes import 7// Themes import
diff --git a/src/assets/webfonts/lato/OFL.txt b/src/assets/webfonts/lato/OFL.txt
new file mode 100644
index 0000000..dfca0da
--- /dev/null
+++ b/src/assets/webfonts/lato/OFL.txt
@@ -0,0 +1,93 @@
1Copyright (c) 2010-2014 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato"
2
3This Font Software is licensed under the SIL Open Font License, Version 1.1.
4This license is copied below, and is also available with a FAQ at:
5http://scripts.sil.org/OFL
6
7
8-----------------------------------------------------------
9SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10-----------------------------------------------------------
11
12PREAMBLE
13The goals of the Open Font License (OFL) are to stimulate worldwide
14development of collaborative font projects, to support the font creation
15efforts of academic and linguistic communities, and to provide a free and
16open framework in which fonts may be shared and improved in partnership
17with others.
18
19The OFL allows the licensed fonts to be used, studied, modified and
20redistributed freely as long as they are not sold by themselves. The
21fonts, including any derivative works, can be bundled, embedded,
22redistributed and/or sold with any software provided that any reserved
23names are not used by derivative works. The fonts and derivatives,
24however, cannot be released under any other type of license. The
25requirement for fonts to remain under this license does not apply
26to any document created using the fonts or their derivatives.
27
28DEFINITIONS
29"Font Software" refers to the set of files released by the Copyright
30Holder(s) under this license and clearly marked as such. This may
31include source files, build scripts and documentation.
32
33"Reserved Font Name" refers to any names specified as such after the
34copyright statement(s).
35
36"Original Version" refers to the collection of Font Software components as
37distributed by the Copyright Holder(s).
38
39"Modified Version" refers to any derivative made by adding to, deleting,
40or substituting -- in part or in whole -- any of the components of the
41Original Version, by changing formats or by porting the Font Software to a
42new environment.
43
44"Author" refers to any designer, engineer, programmer, technical
45writer or other person who contributed to the Font Software.
46
47PERMISSION & CONDITIONS
48Permission is hereby granted, free of charge, to any person obtaining
49a copy of the Font Software, to use, study, copy, merge, embed, modify,
50redistribute, and sell modified and unmodified copies of the Font
51Software, subject to the following conditions:
52
531) Neither the Font Software nor any of its individual components,
54in Original or Modified Versions, may be sold by itself.
55
562) Original or Modified Versions of the Font Software may be bundled,
57redistributed and/or sold with any software, provided that each copy
58contains the above copyright notice and this license. These can be
59included either as stand-alone text files, human-readable headers or
60in the appropriate machine-readable metadata fields within text or
61binary files as long as those fields can be easily viewed by the user.
62
633) No Modified Version of the Font Software may use the Reserved Font
64Name(s) unless explicit written permission is granted by the corresponding
65Copyright Holder. This restriction only applies to the primary font name as
66presented to the users.
67
684) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69Software shall not be used to promote, endorse or advertise any
70Modified Version, except to acknowledge the contribution(s) of the
71Copyright Holder(s) and the Author(s) or with their explicit written
72permission.
73
745) The Font Software, modified or unmodified, in part or in whole,
75must be distributed entirely under this license, and must not be
76distributed under any other license. The requirement for fonts to
77remain under this license does not apply to any document created
78using the Font Software.
79
80TERMINATION
81This license becomes null and void if any of the above conditions are
82not met.
83
84DISCLAIMER
85THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/src/assets/webfonts/lato/lato-v16-latin-regular.woff b/src/assets/webfonts/lato/lato-v16-latin-regular.woff
new file mode 100644
index 0000000..189a0fe
--- /dev/null
+++ b/src/assets/webfonts/lato/lato-v16-latin-regular.woff
Binary files differ
diff --git a/src/assets/webfonts/lato/lato-v16-latin-regular.woff2 b/src/assets/webfonts/lato/lato-v16-latin-regular.woff2
new file mode 100644
index 0000000..6904b66
--- /dev/null
+++ b/src/assets/webfonts/lato/lato-v16-latin-regular.woff2
Binary files differ
diff --git a/src/assets/webfonts/raleway/OFL.txt b/src/assets/webfonts/raleway/OFL.txt
new file mode 100644
index 0000000..3219811
--- /dev/null
+++ b/src/assets/webfonts/raleway/OFL.txt
@@ -0,0 +1,95 @@
1Copyright (c) 2010, Matt McInerney (matt@pixelspread.com),
2Copyright (c) 2011, Pablo Impallari (www.impallari.com|impallari@gmail.com),
3Copyright (c) 2011, Rodrigo Fuenzalida (www.rfuenzalida.com|hello@rfuenzalida.com), with Reserved Font Name Raleway
4
5This Font Software is licensed under the SIL Open Font License, Version 1.1.
6This license is copied below, and is also available with a FAQ at:
7http://scripts.sil.org/OFL
8
9
10-----------------------------------------------------------
11SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
12-----------------------------------------------------------
13
14PREAMBLE
15The goals of the Open Font License (OFL) are to stimulate worldwide
16development of collaborative font projects, to support the font creation
17efforts of academic and linguistic communities, and to provide a free and
18open framework in which fonts may be shared and improved in partnership
19with others.
20
21The OFL allows the licensed fonts to be used, studied, modified and
22redistributed freely as long as they are not sold by themselves. The
23fonts, including any derivative works, can be bundled, embedded,
24redistributed and/or sold with any software provided that any reserved
25names are not used by derivative works. The fonts and derivatives,
26however, cannot be released under any other type of license. The
27requirement for fonts to remain under this license does not apply
28to any document created using the fonts or their derivatives.
29
30DEFINITIONS
31"Font Software" refers to the set of files released by the Copyright
32Holder(s) under this license and clearly marked as such. This may
33include source files, build scripts and documentation.
34
35"Reserved Font Name" refers to any names specified as such after the
36copyright statement(s).
37
38"Original Version" refers to the collection of Font Software components as
39distributed by the Copyright Holder(s).
40
41"Modified Version" refers to any derivative made by adding to, deleting,
42or substituting -- in part or in whole -- any of the components of the
43Original Version, by changing formats or by porting the Font Software to a
44new environment.
45
46"Author" refers to any designer, engineer, programmer, technical
47writer or other person who contributed to the Font Software.
48
49PERMISSION & CONDITIONS
50Permission is hereby granted, free of charge, to any person obtaining
51a copy of the Font Software, to use, study, copy, merge, embed, modify,
52redistribute, and sell modified and unmodified copies of the Font
53Software, subject to the following conditions:
54
551) Neither the Font Software nor any of its individual components,
56in Original or Modified Versions, may be sold by itself.
57
582) Original or Modified Versions of the Font Software may be bundled,
59redistributed and/or sold with any software, provided that each copy
60contains the above copyright notice and this license. These can be
61included either as stand-alone text files, human-readable headers or
62in the appropriate machine-readable metadata fields within text or
63binary files as long as those fields can be easily viewed by the user.
64
653) No Modified Version of the Font Software may use the Reserved Font
66Name(s) unless explicit written permission is granted by the corresponding
67Copyright Holder. This restriction only applies to the primary font name as
68presented to the users.
69
704) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
71Software shall not be used to promote, endorse or advertise any
72Modified Version, except to acknowledge the contribution(s) of the
73Copyright Holder(s) and the Author(s) or with their explicit written
74permission.
75
765) The Font Software, modified or unmodified, in part or in whole,
77must be distributed entirely under this license, and must not be
78distributed under any other license. The requirement for fonts to
79remain under this license does not apply to any document created
80using the Font Software.
81
82TERMINATION
83This license becomes null and void if any of the above conditions are
84not met.
85
86DISCLAIMER
87THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
88EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
89MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
90OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
91COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
92INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
93DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
94FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
95OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/src/assets/webfonts/raleway/raleway-v14-latin-regular.woff b/src/assets/webfonts/raleway/raleway-v14-latin-regular.woff
new file mode 100644
index 0000000..ab3a51b
--- /dev/null
+++ b/src/assets/webfonts/raleway/raleway-v14-latin-regular.woff
Binary files differ
diff --git a/src/assets/webfonts/raleway/raleway-v14-latin-regular.woff2 b/src/assets/webfonts/raleway/raleway-v14-latin-regular.woff2
new file mode 100644
index 0000000..86b505e
--- /dev/null
+++ b/src/assets/webfonts/raleway/raleway-v14-latin-regular.woff2
Binary files differ
diff --git a/src/assets/webfonts/webfonts.scss b/src/assets/webfonts/webfonts.scss
new file mode 100644
index 0000000..df3b56b
--- /dev/null
+++ b/src/assets/webfonts/webfonts.scss
@@ -0,0 +1,23 @@
1/* raleway-regular - latin */
2@font-face {
3 font-family: "Raleway";
4 font-style: normal;
5 font-weight: 400;
6 font-display: swap;
7 src: local("Raleway"), local("Raleway-Regular"),
8 url("./webfonts/raleway/raleway-v14-latin-regular.woff2") format("woff2"),
9 /* Chrome 26+, Opera 23+, Firefox 39+ */
10 url("./webfonts/raleway/raleway-v14-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
11}
12
13/* lato-regular - latin */
14@font-face {
15 font-family: "Lato";
16 font-style: normal;
17 font-weight: 400;
18 font-display: swap;
19 src: local("Lato Regular"), local("Lato-Regular"),
20 url("./webfonts/lato/lato-v16-latin-regular.woff2") format("woff2"),
21 /* Chrome 26+, Opera 23+, Firefox 39+ */
22 url("./webfonts/lato/lato-v16-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
23}