@velumo/theme-show-engine 0.1.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/FONTS.md ADDED
@@ -0,0 +1,21 @@
1
+ # Bundled fonts — attribution & license
2
+
3
+ The `@velumo/theme-show-engine` package embeds three OFL-licensed font
4
+ families as self-contained woff2 data-URIs in `src/fonts.generated.ts` (so the
5
+ theme renders its typography on every surface without separate font serving).
6
+ Redistributing these fonts carries the SIL Open Font License 1.1 notice and
7
+ Reserved Font Name obligations. The full license text is in [`OFL.txt`](./OFL.txt).
8
+
9
+ The woff2 binaries are sourced from the [Fontsource](https://fontsource.org)
10
+ packages and regenerated by `scripts/embed-fonts.mjs` from
11
+ `examples/show-engine/public/fonts/`.
12
+
13
+ | Family | Weights | Copyright | Project |
14
+ |--------|---------|-----------|---------|
15
+ | Bebas Neue | 400 | Copyright 2019 The Bebas Neue Project Authors | https://github.com/dharmatype/Bebas-Neue |
16
+ | Inter | 400, 500, 600, 700 | Copyright 2016 The Inter Project Authors | https://github.com/rsms/inter |
17
+ | JetBrains Mono | 400, 500, 700 | Copyright 2020 The JetBrains Mono Project Authors | https://github.com/JetBrains/JetBrainsMono |
18
+
19
+ Each family is licensed under the SIL Open Font License, Version 1.1, with its
20
+ respective Reserved Font Name ("Bebas Neue", "Inter", "JetBrains Mono"). See
21
+ `OFL.txt` for the full terms.
package/OFL.txt ADDED
@@ -0,0 +1,85 @@
1
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
2
+ -----------------------------------------------------------
3
+
4
+ PREAMBLE
5
+ The goals of the Open Font License (OFL) are to stimulate worldwide
6
+ development of collaborative font projects, to support the font creation
7
+ efforts of academic and linguistic communities, and to provide a free and
8
+ open framework in which fonts may be shared and improved in partnership
9
+ with others.
10
+
11
+ The OFL allows the licensed fonts to be used, studied, modified and
12
+ redistributed freely as long as they are not sold by themselves. The
13
+ fonts, including any derivative works, can be bundled, embedded,
14
+ redistributed and/or sold with any software provided that any reserved
15
+ names are not used by derivative works. The fonts and derivatives,
16
+ however, cannot be released under any other type of license. The
17
+ requirement for fonts to remain under this license does not apply
18
+ to any document created using the fonts or their derivatives.
19
+
20
+ DEFINITIONS
21
+ "Font Software" refers to the set of files released by the Copyright
22
+ Holder(s) under this license and clearly marked as such. This may
23
+ include source files, build scripts and documentation.
24
+
25
+ "Reserved Font Name" refers to any names specified as such after the
26
+ copyright statement(s).
27
+
28
+ "Original Version" refers to the collection of Font Software components as
29
+ distributed by the Copyright Holder(s).
30
+
31
+ "Modified Version" refers to any derivative made by adding to, deleting,
32
+ or substituting -- in part or in whole -- any of the components of the
33
+ Original Version, by changing formats or by porting the Font Software to a
34
+ new environment.
35
+
36
+ "Author" refers to any designer, engineer, programmer, technical
37
+ writer or other person who contributed to the Font Software.
38
+
39
+ PERMISSION & CONDITIONS
40
+ Permission is hereby granted, free of charge, to any person obtaining
41
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
42
+ redistribute, and sell modified and unmodified copies of the Font
43
+ Software, subject to the following conditions:
44
+
45
+ 1) Neither the Font Software nor any of its individual components,
46
+ in Original or Modified Versions, may be sold by itself.
47
+
48
+ 2) Original or Modified Versions of the Font Software may be bundled,
49
+ redistributed and/or sold with any software, provided that each copy
50
+ contains the above copyright notice and this license. These can be
51
+ included either as stand-alone text files, human-readable headers or
52
+ in the appropriate machine-readable metadata fields within text or
53
+ binary files as long as those fields can be easily viewed by the user.
54
+
55
+ 3) No Modified Version of the Font Software may use the Reserved Font
56
+ Name(s) unless explicit written permission is granted by the corresponding
57
+ Copyright Holder. This restriction only applies to the primary font name as
58
+ presented to the users.
59
+
60
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
61
+ Software shall not be used to promote, endorse or advertise any
62
+ Modified Version, except to acknowledge the contribution(s) of the
63
+ Copyright Holder(s) and the Author(s) or with their explicit written
64
+ permission.
65
+
66
+ 5) The Font Software, modified or unmodified, in part or in whole,
67
+ must be distributed entirely under this license, and must not be
68
+ distributed under any other license. The requirement for fonts to
69
+ remain under this license does not apply to any document created
70
+ using the Font Software.
71
+
72
+ TERMINATION
73
+ This license becomes null and void if any of the above conditions are
74
+ not met.
75
+
76
+ DISCLAIMER
77
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
78
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
79
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
80
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
81
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
82
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
83
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
84
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
85
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,3 @@
1
+ import type { ThemeFontFace } from "@velumo/core";
2
+ export declare const showEngineFonts: readonly ThemeFontFace[];
3
+ //# sourceMappingURL=fonts.generated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fonts.generated.d.ts","sourceRoot":"","sources":["../src/fonts.generated.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,eAAO,MAAM,eAAe,EAAE,SAAS,aAAa,EAyDnD,CAAC"}