termina-plex 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +51 -0
- data/_includes/category-archive.html +15 -0
- data/_includes/collect-categories.html +18 -0
- data/_includes/collect-tags.html +18 -0
- data/_includes/custom-head.html +17 -0
- data/_includes/footer.html +6 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head.html +13 -0
- data/_includes/header.html +68 -0
- data/_includes/tag-archive.html +15 -0
- data/_includes/theme-toggle.html +25 -0
- data/_layouts/base.html +20 -0
- data/_layouts/category.html +25 -0
- data/_layouts/home.html +70 -0
- data/_layouts/index.html +41 -0
- data/_layouts/meta.html +15 -0
- data/_layouts/page.html +13 -0
- data/_layouts/post.html +65 -0
- data/_layouts/tag.html +25 -0
- data/_sass/termina-plex/highlight.scss +64 -0
- data/_sass/termina-plex/ibm-plex.scss +124 -0
- data/_sass/termina-plex/layout/core.scss +62 -0
- data/_sass/termina-plex/layout/footer.scss +13 -0
- data/_sass/termina-plex/layout/header.scss +155 -0
- data/_sass/termina-plex/layout/posts.scss +70 -0
- data/_sass/termina-plex/layout/social.scss +22 -0
- data/_sass/termina-plex/layout/toggle.scss +71 -0
- data/_sass/termina-plex/main.scss +34 -0
- data/_sass/termina-plex/pages/base.scss +79 -0
- data/_sass/termina-plex/pages/index.scss +12 -0
- data/_sass/termina-plex/pages/list.scss +7 -0
- data/_sass/termina-plex/pages/single.scss +76 -0
- data/_sass/termina-plex/themes.scss +304 -0
- data/assets/css/style.scss +4 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-BoldItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-BoldItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-BoldItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLight.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLight.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLight.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLightItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLightItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLightItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Light.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Light.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Light.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-LightItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-LightItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-LightItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Medium.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Medium.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Medium.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-MediumItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-MediumItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-MediumItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBold.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBold.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBold.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBoldItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBoldItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBoldItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Text.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Text.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Text.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-TextItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-TextItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-TextItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Thin.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Thin.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Thin.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ThinItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ThinItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ThinItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/license.txt +92 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Bold.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Bold.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Bold.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-BoldItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-BoldItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-BoldItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ExtraLight.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ExtraLight.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ExtraLight.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ExtraLightItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ExtraLightItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ExtraLightItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Italic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Italic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Italic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Light.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Light.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Light.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-LightItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-LightItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-LightItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Medium.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Medium.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Medium.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-MediumItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-MediumItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-MediumItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Regular.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Regular.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Regular.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-SemiBold.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-SemiBold.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-SemiBold.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-SemiBoldItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-SemiBoldItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-SemiBoldItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Text.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Text.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Text.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-TextItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-TextItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-TextItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Thin.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Thin.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Thin.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ThinItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ThinItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ThinItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/license.txt +92 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Bold.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Bold.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Bold.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-BoldItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-BoldItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-BoldItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ExtraLight.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ExtraLight.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ExtraLight.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ExtraLightItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ExtraLightItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ExtraLightItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Italic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Italic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Italic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Light.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Light.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Light.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-LightItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-LightItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-LightItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Medium.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Medium.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Medium.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-MediumItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-MediumItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-MediumItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Regular.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Regular.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Regular.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-SemiBold.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-SemiBold.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-SemiBold.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-SemiBoldItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-SemiBoldItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-SemiBoldItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Text.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Text.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Text.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-TextItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-TextItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-TextItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Thin.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Thin.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Thin.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ThinItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ThinItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ThinItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/license.txt +92 -0
- data/assets/js/theme.js +60 -0
- metadata +312 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,92 @@
|
|
1
|
+
Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
|
2
|
+
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
5
|
+
http://scripts.sil.org/OFL
|
6
|
+
|
7
|
+
-----------------------------------------------------------
|
8
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
9
|
+
-----------------------------------------------------------
|
10
|
+
|
11
|
+
PREAMBLE
|
12
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
13
|
+
development of collaborative font projects, to support the font creation
|
14
|
+
efforts of academic and linguistic communities, and to provide a free and
|
15
|
+
open framework in which fonts may be shared and improved in partnership
|
16
|
+
with others.
|
17
|
+
|
18
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
19
|
+
redistributed freely as long as they are not sold by themselves. The
|
20
|
+
fonts, including any derivative works, can be bundled, embedded,
|
21
|
+
redistributed and/or sold with any software provided that any reserved
|
22
|
+
names are not used by derivative works. The fonts and derivatives,
|
23
|
+
however, cannot be released under any other type of license. The
|
24
|
+
requirement for fonts to remain under this license does not apply
|
25
|
+
to any document created using the fonts or their derivatives.
|
26
|
+
|
27
|
+
DEFINITIONS
|
28
|
+
"Font Software" refers to the set of files released by the Copyright
|
29
|
+
Holder(s) under this license and clearly marked as such. This may
|
30
|
+
include source files, build scripts and documentation.
|
31
|
+
|
32
|
+
"Reserved Font Name" refers to any names specified as such after the
|
33
|
+
copyright statement(s).
|
34
|
+
|
35
|
+
"Original Version" refers to the collection of Font Software components as
|
36
|
+
distributed by the Copyright Holder(s).
|
37
|
+
|
38
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
39
|
+
or substituting -- in part or in whole -- any of the components of the
|
40
|
+
Original Version, by changing formats or by porting the Font Software to a
|
41
|
+
new environment.
|
42
|
+
|
43
|
+
"Author" refers to any designer, engineer, programmer, technical
|
44
|
+
writer or other person who contributed to the Font Software.
|
45
|
+
|
46
|
+
PERMISSION & CONDITIONS
|
47
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
48
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
49
|
+
redistribute, and sell modified and unmodified copies of the Font
|
50
|
+
Software, subject to the following conditions:
|
51
|
+
|
52
|
+
1) Neither the Font Software nor any of its individual components,
|
53
|
+
in Original or Modified Versions, may be sold by itself.
|
54
|
+
|
55
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
56
|
+
redistributed and/or sold with any software, provided that each copy
|
57
|
+
contains the above copyright notice and this license. These can be
|
58
|
+
included either as stand-alone text files, human-readable headers or
|
59
|
+
in the appropriate machine-readable metadata fields within text or
|
60
|
+
binary files as long as those fields can be easily viewed by the user.
|
61
|
+
|
62
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
63
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
64
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
65
|
+
presented to the users.
|
66
|
+
|
67
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
68
|
+
Software shall not be used to promote, endorse or advertise any
|
69
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
70
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
71
|
+
permission.
|
72
|
+
|
73
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
74
|
+
must be distributed entirely under this license, and must not be
|
75
|
+
distributed under any other license. The requirement for fonts to
|
76
|
+
remain under this license does not apply to any document created
|
77
|
+
using the Font Software.
|
78
|
+
|
79
|
+
TERMINATION
|
80
|
+
This license becomes null and void if any of the above conditions are
|
81
|
+
not met.
|
82
|
+
|
83
|
+
DISCLAIMER
|
84
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
85
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
86
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
87
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
88
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
89
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
90
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
91
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
92
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,92 @@
|
|
1
|
+
Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
|
2
|
+
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
5
|
+
http://scripts.sil.org/OFL
|
6
|
+
|
7
|
+
-----------------------------------------------------------
|
8
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
9
|
+
-----------------------------------------------------------
|
10
|
+
|
11
|
+
PREAMBLE
|
12
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
13
|
+
development of collaborative font projects, to support the font creation
|
14
|
+
efforts of academic and linguistic communities, and to provide a free and
|
15
|
+
open framework in which fonts may be shared and improved in partnership
|
16
|
+
with others.
|
17
|
+
|
18
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
19
|
+
redistributed freely as long as they are not sold by themselves. The
|
20
|
+
fonts, including any derivative works, can be bundled, embedded,
|
21
|
+
redistributed and/or sold with any software provided that any reserved
|
22
|
+
names are not used by derivative works. The fonts and derivatives,
|
23
|
+
however, cannot be released under any other type of license. The
|
24
|
+
requirement for fonts to remain under this license does not apply
|
25
|
+
to any document created using the fonts or their derivatives.
|
26
|
+
|
27
|
+
DEFINITIONS
|
28
|
+
"Font Software" refers to the set of files released by the Copyright
|
29
|
+
Holder(s) under this license and clearly marked as such. This may
|
30
|
+
include source files, build scripts and documentation.
|
31
|
+
|
32
|
+
"Reserved Font Name" refers to any names specified as such after the
|
33
|
+
copyright statement(s).
|
34
|
+
|
35
|
+
"Original Version" refers to the collection of Font Software components as
|
36
|
+
distributed by the Copyright Holder(s).
|
37
|
+
|
38
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
39
|
+
or substituting -- in part or in whole -- any of the components of the
|
40
|
+
Original Version, by changing formats or by porting the Font Software to a
|
41
|
+
new environment.
|
42
|
+
|
43
|
+
"Author" refers to any designer, engineer, programmer, technical
|
44
|
+
writer or other person who contributed to the Font Software.
|
45
|
+
|
46
|
+
PERMISSION & CONDITIONS
|
47
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
48
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
49
|
+
redistribute, and sell modified and unmodified copies of the Font
|
50
|
+
Software, subject to the following conditions:
|
51
|
+
|
52
|
+
1) Neither the Font Software nor any of its individual components,
|
53
|
+
in Original or Modified Versions, may be sold by itself.
|
54
|
+
|
55
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
56
|
+
redistributed and/or sold with any software, provided that each copy
|
57
|
+
contains the above copyright notice and this license. These can be
|
58
|
+
included either as stand-alone text files, human-readable headers or
|
59
|
+
in the appropriate machine-readable metadata fields within text or
|
60
|
+
binary files as long as those fields can be easily viewed by the user.
|
61
|
+
|
62
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
63
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
64
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
65
|
+
presented to the users.
|
66
|
+
|
67
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
68
|
+
Software shall not be used to promote, endorse or advertise any
|
69
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
70
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
71
|
+
permission.
|
72
|
+
|
73
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
74
|
+
must be distributed entirely under this license, and must not be
|
75
|
+
distributed under any other license. The requirement for fonts to
|
76
|
+
remain under this license does not apply to any document created
|
77
|
+
using the Font Software.
|
78
|
+
|
79
|
+
TERMINATION
|
80
|
+
This license becomes null and void if any of the above conditions are
|
81
|
+
not met.
|
82
|
+
|
83
|
+
DISCLAIMER
|
84
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
85
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
86
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
87
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
88
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
89
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
90
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
91
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
92
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
data/assets/js/theme.js
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
/*
|
2
|
+
* Based on the Theme Controls by Ryan Mulligan
|
3
|
+
* Blog Post: https://ryanmulligan.dev/blog/themes-and-schemes/
|
4
|
+
* CodePen: https://codepen.io/hexagoncircle/pen/zYPrjNd
|
5
|
+
*/
|
6
|
+
|
7
|
+
const html = document.documentElement;
|
8
|
+
const themeControls = document.querySelector("[data-theme-controls]");
|
9
|
+
const toggle = themeControls.querySelector(".color-scheme-toggle");
|
10
|
+
const colorSchemeStatus = themeControls.querySelector(".color-scheme-status");
|
11
|
+
const prefersDark = window.matchMedia("(prefers-color-scheme: dark)");
|
12
|
+
|
13
|
+
const setToggleLabel = () => {
|
14
|
+
let mode;
|
15
|
+
|
16
|
+
mode = !html.dataset.colorScheme ?
|
17
|
+
prefersDark.matches ?
|
18
|
+
"dark" :
|
19
|
+
"light" :
|
20
|
+
html.dataset.colorScheme;
|
21
|
+
|
22
|
+
toggle.setAttribute("title", `Enable ${mode === "dark" ? "light" : "dark"} mode`);
|
23
|
+
};
|
24
|
+
|
25
|
+
const setColorScheme = value => {
|
26
|
+
html.dataset.colorScheme = value;
|
27
|
+
localStorage.setItem("color-scheme", value);
|
28
|
+
setToggleLabel();
|
29
|
+
};
|
30
|
+
|
31
|
+
const setTheme = value => {
|
32
|
+
const theme = themeFlavors[value - 1];
|
33
|
+
html.dataset.theme = theme;
|
34
|
+
localStorage.setItem("theme", theme);
|
35
|
+
|
36
|
+
if (!html.dataset.colorScheme) {
|
37
|
+
const scheme = prefersDark.matches ? "dark" : "light";
|
38
|
+
setColorScheme(scheme);
|
39
|
+
}
|
40
|
+
};
|
41
|
+
|
42
|
+
const init = () => {
|
43
|
+
const scheme = localStorage.getItem("color-scheme");
|
44
|
+
if (scheme) {
|
45
|
+
setColorScheme(scheme);
|
46
|
+
}
|
47
|
+
setToggleLabel();
|
48
|
+
};
|
49
|
+
|
50
|
+
toggle.addEventListener("click", () => {
|
51
|
+
if (!html.dataset.colorScheme && prefersDark.matches) {
|
52
|
+
setColorScheme("light");
|
53
|
+
return;
|
54
|
+
}
|
55
|
+
|
56
|
+
const scheme = html.dataset.colorScheme === "dark" ? "light" : "dark";
|
57
|
+
setColorScheme(scheme);
|
58
|
+
});
|
59
|
+
|
60
|
+
init();
|