@aurea-uds/fonts 0.6.0 → 0.8.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/LICENSE +93 -93
- package/dist/fonts.native.d.ts +15 -0
- package/dist/fonts.native.js +164 -0
- package/files-native/ibm-plex-mono-400-normal.ttf +0 -0
- package/files-native/ibm-plex-mono-500-normal.ttf +0 -0
- package/files-native/ibm-plex-mono-600-normal.ttf +0 -0
- package/files-native/ibm-plex-sans-400-italic.ttf +0 -0
- package/files-native/ibm-plex-sans-400-normal.ttf +0 -0
- package/files-native/ibm-plex-sans-500-normal.ttf +0 -0
- package/files-native/ibm-plex-sans-600-normal.ttf +0 -0
- package/files-native/ibm-plex-sans-700-normal.ttf +0 -0
- package/files-native/ibm-plex-serif-500-normal.ttf +0 -0
- package/files-native/ibm-plex-serif-600-normal.ttf +0 -0
- package/files-native/ibm-plex-serif-700-normal.ttf +0 -0
- package/package.json +14 -5
package/LICENSE
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
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
|
-
|
|
5
|
-
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
-----------------------------------------------------------
|
|
9
|
-
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
-
-----------------------------------------------------------
|
|
11
|
-
|
|
12
|
-
PREAMBLE
|
|
13
|
-
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
-
development of collaborative font projects, to support the font creation
|
|
15
|
-
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
-
open framework in which fonts may be shared and improved in partnership
|
|
17
|
-
with others.
|
|
18
|
-
|
|
19
|
-
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
-
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
-
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
-
redistributed and/or sold with any software provided that any reserved
|
|
23
|
-
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
-
however, cannot be released under any other type of license. The
|
|
25
|
-
requirement for fonts to remain under this license does not apply
|
|
26
|
-
to any document created using the fonts or their derivatives.
|
|
27
|
-
|
|
28
|
-
DEFINITIONS
|
|
29
|
-
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
-
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
-
include source files, build scripts and documentation.
|
|
32
|
-
|
|
33
|
-
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
-
copyright statement(s).
|
|
35
|
-
|
|
36
|
-
"Original Version" refers to the collection of Font Software components as
|
|
37
|
-
distributed by the Copyright Holder(s).
|
|
38
|
-
|
|
39
|
-
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
-
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
-
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
-
new environment.
|
|
43
|
-
|
|
44
|
-
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
-
writer or other person who contributed to the Font Software.
|
|
46
|
-
|
|
47
|
-
PERMISSION & CONDITIONS
|
|
48
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
-
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
-
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
-
Software, subject to the following conditions:
|
|
52
|
-
|
|
53
|
-
1) Neither the Font Software nor any of its individual components,
|
|
54
|
-
in Original or Modified Versions, may be sold by itself.
|
|
55
|
-
|
|
56
|
-
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
-
redistributed and/or sold with any software, provided that each copy
|
|
58
|
-
contains the above copyright notice and this license. These can be
|
|
59
|
-
included either as stand-alone text files, human-readable headers or
|
|
60
|
-
in the appropriate machine-readable metadata fields within text or
|
|
61
|
-
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
-
|
|
63
|
-
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
-
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
-
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
-
presented to the users.
|
|
67
|
-
|
|
68
|
-
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
-
Software shall not be used to promote, endorse or advertise any
|
|
70
|
-
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
-
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
-
permission.
|
|
73
|
-
|
|
74
|
-
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
-
must be distributed entirely under this license, and must not be
|
|
76
|
-
distributed under any other license. The requirement for fonts to
|
|
77
|
-
remain under this license does not apply to any document created
|
|
78
|
-
using the Font Software.
|
|
79
|
-
|
|
80
|
-
TERMINATION
|
|
81
|
-
This license becomes null and void if any of the above conditions are
|
|
82
|
-
not met.
|
|
83
|
-
|
|
84
|
-
DISCLAIMER
|
|
85
|
-
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
-
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
-
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
-
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
-
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
-
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
-
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
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
|
+
|
|
5
|
+
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Gerado por packages/fonts/build-fonts.mjs. NÃO EDITAR.
|
|
2
|
+
export type AureaFontRole = "ui" | "editorial" | "code";
|
|
3
|
+
export type AureaFontFile = {
|
|
4
|
+
file: string; postScriptName: string; family: string; typographicFamily: string;
|
|
5
|
+
role: AureaFontRole; weight: number; style: "normal" | "italic";
|
|
6
|
+
};
|
|
7
|
+
/** nome PostScript -> asset, no formato que o `useFonts` do expo-font recebe. */
|
|
8
|
+
export declare const AUREA_FONTS: Record<string, number>;
|
|
9
|
+
/** papel -> peso -> nome PostScript, que é o que vai em `fontFamily`. */
|
|
10
|
+
export declare const FONT_FAMILIES: {
|
|
11
|
+
ui: Record<"400" | "500" | "600" | "700" | "400i", string>;
|
|
12
|
+
editorial: Record<"500" | "600" | "700", string>;
|
|
13
|
+
code: Record<"400" | "500" | "600", string>;
|
|
14
|
+
};
|
|
15
|
+
export declare const AUREA_FONT_FILES: readonly AureaFontFile[];
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
// Aurea — alvo NATIVO das fontes. GERADO por packages/fonts/build-fonts.mjs. NÃO EDITAR.
|
|
2
|
+
//
|
|
3
|
+
// Lote 0 do NATIVE.md (§5.2.1). O React Native não lê woff2, então o alvo web não atravessa:
|
|
4
|
+
// estes são os MESMOS 11 estilos da web, em .ttf estático.
|
|
5
|
+
//
|
|
6
|
+
// ⚠ NÃO use `fontWeight` para escolher o peso. MEDIDO na tabela `name` de cada arquivo:
|
|
7
|
+
// só Regular, Italic e Bold moram na família "IBM Plex Sans" — o Medium está em "IBM Plex Sans
|
|
8
|
+
// Medium" e o SemiBold em "IBM Plex Sans SemiBold", cada um uma FAMÍLIA PRÓPRIA. É o formato
|
|
9
|
+
// RIBBI, e vale para as três famílias. Pedir `fontFamily:"IBM Plex Sans"` + `fontWeight:"600"`
|
|
10
|
+
// devolve o Regular sintetizado, não o SemiBold desenhado.
|
|
11
|
+
//
|
|
12
|
+
// A forma correta é uma só: `fontFamily` recebe o NOME POSTSCRIPT, que é a chave deste mapa.
|
|
13
|
+
// O `FONT_FAMILIES` abaixo faz essa tradução por papel de tipografia e peso.
|
|
14
|
+
//
|
|
15
|
+
// import {AUREA_FONTS, FONT_FAMILIES} from "@aurea-uds/fonts/native";
|
|
16
|
+
// const [pronto] = useFonts(AUREA_FONTS); // expo-font
|
|
17
|
+
// <Text style={{fontFamily: FONT_FAMILIES.ui["600"]}}> // "IBMPlexSans-SemiBold"
|
|
18
|
+
//
|
|
19
|
+
// Glifos: estes .ttf são COMPLETOS, enquanto o alvo web serve o subset `latin`. Mesma origem
|
|
20
|
+
// de desenho (medido: o woff2 do repositório é byte a byte o `latin` do fontsource, e os dois
|
|
21
|
+
// vêm do Google Fonts), tamanhos diferentes — no nativo a fonte é asset local do bundle, não
|
|
22
|
+
// transferência de rede por página.
|
|
23
|
+
|
|
24
|
+
// nome PostScript -> asset. É o formato que o `useFonts` do expo-font recebe.
|
|
25
|
+
const AUREA_FONTS = {
|
|
26
|
+
"IBMPlexSans-Regular": require("../files-native/ibm-plex-sans-400-normal.ttf"),
|
|
27
|
+
"IBMPlexSans-Italic": require("../files-native/ibm-plex-sans-400-italic.ttf"),
|
|
28
|
+
"IBMPlexSans-Medium": require("../files-native/ibm-plex-sans-500-normal.ttf"),
|
|
29
|
+
"IBMPlexSans-SemiBold": require("../files-native/ibm-plex-sans-600-normal.ttf"),
|
|
30
|
+
"IBMPlexSans-Bold": require("../files-native/ibm-plex-sans-700-normal.ttf"),
|
|
31
|
+
"IBMPlexSerif-Medium": require("../files-native/ibm-plex-serif-500-normal.ttf"),
|
|
32
|
+
"IBMPlexSerif-SemiBold": require("../files-native/ibm-plex-serif-600-normal.ttf"),
|
|
33
|
+
"IBMPlexSerif-Bold": require("../files-native/ibm-plex-serif-700-normal.ttf"),
|
|
34
|
+
"IBMPlexMono-Regular": require("../files-native/ibm-plex-mono-400-normal.ttf"),
|
|
35
|
+
"IBMPlexMono-Medium": require("../files-native/ibm-plex-mono-500-normal.ttf"),
|
|
36
|
+
"IBMPlexMono-SemiBold": require("../files-native/ibm-plex-mono-600-normal.ttf"),
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
// papel de tipografia -> peso -> nome PostScript. O sufixo `i` é o itálico.
|
|
40
|
+
const FONT_FAMILIES = {
|
|
41
|
+
"ui": {
|
|
42
|
+
"400": "IBMPlexSans-Regular",
|
|
43
|
+
"500": "IBMPlexSans-Medium",
|
|
44
|
+
"600": "IBMPlexSans-SemiBold",
|
|
45
|
+
"700": "IBMPlexSans-Bold",
|
|
46
|
+
"400i": "IBMPlexSans-Italic"
|
|
47
|
+
},
|
|
48
|
+
"editorial": {
|
|
49
|
+
"500": "IBMPlexSerif-Medium",
|
|
50
|
+
"600": "IBMPlexSerif-SemiBold",
|
|
51
|
+
"700": "IBMPlexSerif-Bold"
|
|
52
|
+
},
|
|
53
|
+
"code": {
|
|
54
|
+
"400": "IBMPlexMono-Regular",
|
|
55
|
+
"500": "IBMPlexMono-Medium",
|
|
56
|
+
"600": "IBMPlexMono-SemiBold"
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
// O que foi medido em cada arquivo, para quem precisa do resto (o Android acha a fonte
|
|
61
|
+
// pelo nome do arquivo, e algumas ferramentas de build pedem a família tipográfica).
|
|
62
|
+
const AUREA_FONT_FILES = [
|
|
63
|
+
{
|
|
64
|
+
"file": "ibm-plex-sans-400-normal.ttf",
|
|
65
|
+
"postScriptName": "IBMPlexSans-Regular",
|
|
66
|
+
"family": "IBM Plex Sans",
|
|
67
|
+
"typographicFamily": "IBM Plex Sans",
|
|
68
|
+
"role": "ui",
|
|
69
|
+
"weight": 400,
|
|
70
|
+
"style": "normal"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"file": "ibm-plex-sans-400-italic.ttf",
|
|
74
|
+
"postScriptName": "IBMPlexSans-Italic",
|
|
75
|
+
"family": "IBM Plex Sans",
|
|
76
|
+
"typographicFamily": "IBM Plex Sans",
|
|
77
|
+
"role": "ui",
|
|
78
|
+
"weight": 400,
|
|
79
|
+
"style": "italic"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"file": "ibm-plex-sans-500-normal.ttf",
|
|
83
|
+
"postScriptName": "IBMPlexSans-Medium",
|
|
84
|
+
"family": "IBM Plex Sans Medium",
|
|
85
|
+
"typographicFamily": "IBM Plex Sans",
|
|
86
|
+
"role": "ui",
|
|
87
|
+
"weight": 500,
|
|
88
|
+
"style": "normal"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"file": "ibm-plex-sans-600-normal.ttf",
|
|
92
|
+
"postScriptName": "IBMPlexSans-SemiBold",
|
|
93
|
+
"family": "IBM Plex Sans SemiBold",
|
|
94
|
+
"typographicFamily": "IBM Plex Sans",
|
|
95
|
+
"role": "ui",
|
|
96
|
+
"weight": 600,
|
|
97
|
+
"style": "normal"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"file": "ibm-plex-sans-700-normal.ttf",
|
|
101
|
+
"postScriptName": "IBMPlexSans-Bold",
|
|
102
|
+
"family": "IBM Plex Sans",
|
|
103
|
+
"typographicFamily": "IBM Plex Sans",
|
|
104
|
+
"role": "ui",
|
|
105
|
+
"weight": 700,
|
|
106
|
+
"style": "normal"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"file": "ibm-plex-serif-500-normal.ttf",
|
|
110
|
+
"postScriptName": "IBMPlexSerif-Medium",
|
|
111
|
+
"family": "IBM Plex Serif Medium",
|
|
112
|
+
"typographicFamily": "IBM Plex Serif",
|
|
113
|
+
"role": "editorial",
|
|
114
|
+
"weight": 500,
|
|
115
|
+
"style": "normal"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"file": "ibm-plex-serif-600-normal.ttf",
|
|
119
|
+
"postScriptName": "IBMPlexSerif-SemiBold",
|
|
120
|
+
"family": "IBM Plex Serif SemiBold",
|
|
121
|
+
"typographicFamily": "IBM Plex Serif",
|
|
122
|
+
"role": "editorial",
|
|
123
|
+
"weight": 600,
|
|
124
|
+
"style": "normal"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"file": "ibm-plex-serif-700-normal.ttf",
|
|
128
|
+
"postScriptName": "IBMPlexSerif-Bold",
|
|
129
|
+
"family": "IBM Plex Serif",
|
|
130
|
+
"typographicFamily": "IBM Plex Serif",
|
|
131
|
+
"role": "editorial",
|
|
132
|
+
"weight": 700,
|
|
133
|
+
"style": "normal"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"file": "ibm-plex-mono-400-normal.ttf",
|
|
137
|
+
"postScriptName": "IBMPlexMono-Regular",
|
|
138
|
+
"family": "IBM Plex Mono",
|
|
139
|
+
"typographicFamily": "IBM Plex Mono",
|
|
140
|
+
"role": "code",
|
|
141
|
+
"weight": 400,
|
|
142
|
+
"style": "normal"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"file": "ibm-plex-mono-500-normal.ttf",
|
|
146
|
+
"postScriptName": "IBMPlexMono-Medium",
|
|
147
|
+
"family": "IBM Plex Mono Medium",
|
|
148
|
+
"typographicFamily": "IBM Plex Mono",
|
|
149
|
+
"role": "code",
|
|
150
|
+
"weight": 500,
|
|
151
|
+
"style": "normal"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"file": "ibm-plex-mono-600-normal.ttf",
|
|
155
|
+
"postScriptName": "IBMPlexMono-SemiBold",
|
|
156
|
+
"family": "IBM Plex Mono SemiBold",
|
|
157
|
+
"typographicFamily": "IBM Plex Mono",
|
|
158
|
+
"role": "code",
|
|
159
|
+
"weight": 600,
|
|
160
|
+
"style": "normal"
|
|
161
|
+
}
|
|
162
|
+
];
|
|
163
|
+
|
|
164
|
+
module.exports = {AUREA_FONTS, FONT_FAMILIES, AUREA_FONT_FILES};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurea-uds/fonts",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "IBM Plex
|
|
3
|
+
"version": "0.8.0",
|
|
4
|
+
"description": "IBM Plex for Aurea: WOFF2 for the web (@aurea-uds/fonts/css) and static TTF for React Native (@aurea-uds/fonts/native).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aurea",
|
|
7
7
|
"design-system",
|
|
8
8
|
"fonts",
|
|
9
|
-
"ibm-plex"
|
|
9
|
+
"ibm-plex",
|
|
10
|
+
"react-native"
|
|
10
11
|
],
|
|
11
12
|
"license": "OFL-1.1",
|
|
12
13
|
"repository": {
|
|
@@ -19,12 +20,20 @@
|
|
|
19
20
|
},
|
|
20
21
|
"files": [
|
|
21
22
|
"dist",
|
|
22
|
-
"files"
|
|
23
|
+
"files",
|
|
24
|
+
"files-native"
|
|
23
25
|
],
|
|
24
26
|
"exports": {
|
|
25
27
|
"./css": {
|
|
26
28
|
"types": "./dist/fonts.css.d.ts",
|
|
27
29
|
"default": "./dist/fonts.css"
|
|
30
|
+
},
|
|
31
|
+
"./native": {
|
|
32
|
+
"types": "./dist/fonts.native.d.ts",
|
|
33
|
+
"default": "./dist/fonts.native.js"
|
|
28
34
|
}
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "node build-fonts.mjs"
|
|
29
38
|
}
|
|
30
|
-
}
|
|
39
|
+
}
|