@netzi/tokens 0.1.0-beta.8

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/README.md ADDED
@@ -0,0 +1,344 @@
1
+ # @netzi/tokens
2
+
3
+ Design tokens de Netzi como **CSS custom properties**. Agnóstico de framework
4
+ (sirve para Angular, React, HTML plano, Tailwind, etc.). Es la base sobre la que
5
+ se construyen `@netzi/ui` y cualquier app de Netzi Tech.
6
+
7
+ - Tema **claro** (`:root`, tema claro) y **oscuro** (`[data-theme="dark"]`, Netzi navy).
8
+ - Acentos de marca constantes en ambos temas.
9
+ - Todos los tokens usan el prefijo `--netzi-*` para evitar colisiones.
10
+
11
+ ## Instalación
12
+
13
+ En el **npm público**, bajo el scope `@netzi` de Netzi Tech: sin registry especial ni
14
+ token. Mientras el kit esté en beta, fija el canal:
15
+
16
+ ```bash
17
+ pnpm add @netzi/tokens@beta
18
+ ```
19
+
20
+ Licencia de uso libre con código privado: ver `LICENSE.md` dentro del paquete. Las
21
+ tipografías incluidas van bajo la SIL Open Font License 1.1.
22
+
23
+ ## Uso
24
+
25
+ Importa la entrada por defecto (tokens + reset base):
26
+
27
+ ```css
28
+ @import '@netzi/tokens';
29
+ ```
30
+
31
+ O por partes:
32
+
33
+ ```css
34
+ @import '@netzi/tokens/tokens.css'; /* solo las variables (sin reset) */
35
+ @import '@netzi/tokens/base.css'; /* reset + tipografía base + scrollbar */
36
+ @import '@netzi/tokens/fonts.css'; /* opcional: fuentes de marca, autoalojadas */
37
+ ```
38
+
39
+ En tu CSS, consume los tokens:
40
+
41
+ ```css
42
+ .boton {
43
+ background: var(--netzi-blue);
44
+ color: var(--netzi-on-accent);
45
+ border-radius: var(--netzi-radius);
46
+ box-shadow: var(--netzi-shadow);
47
+ }
48
+ ```
49
+
50
+ ## Espaciado (`--netzi-space-*`)
51
+
52
+ Escala de espaciado para gaps y paddings de layout (base 4px). Úsala en vez de
53
+ píxeles/rem sueltos para mantener el ritmo del sistema de diseño.
54
+
55
+ | Token | Valor | Compacto |
56
+ | ----------------- | ----- | -------- |
57
+ | `--netzi-space-0` | 0 | 0 |
58
+ | `--netzi-space-1` | 2px | 2px |
59
+ | `--netzi-space-2` | 4px | 4px |
60
+ | `--netzi-space-3` | 8px | 8px |
61
+ | `--netzi-space-4` | 12px | 10px |
62
+ | `--netzi-space-5` | 16px | 12px |
63
+ | `--netzi-space-6` | 24px | 20px |
64
+ | `--netzi-space-7` | 32px | 28px |
65
+ | `--netzi-space-8` | 48px | 40px |
66
+
67
+ Bajo `[data-density='compact']` los pasos medios/grandes se reducen (los finos no
68
+ cambian), coherente con la densidad de los controles.
69
+
70
+ ```css
71
+ .tarjeta {
72
+ padding: var(--netzi-space-5);
73
+ display: flex;
74
+ gap: var(--netzi-space-3);
75
+ }
76
+ ```
77
+
78
+ ## Fuentes de marca (`fonts.css`)
79
+
80
+ `fonts.css` trae **Plus Jakarta Sans** (texto) y **Fira Code** (monoespaciada) como
81
+ fuentes variables woff2 **dentro del paquete** (~95 KB en total, en dos subconjuntos
82
+ `latin` y `latin-ext` que el navegador descarga según haga falta). No se pide nada
83
+ a Google: política 14 (autoalojar) y 08b (sin terceros antes del consentimiento).
84
+ Va aparte de `index.css`; impórtalo si tu app usa las fuentes de marca:
85
+
86
+ ```css
87
+ @import '@netzi/tokens/fonts.css';
88
+ ```
89
+
90
+ Las rutas son relativas al paquete y las reescriben Vite y el CLI de Angular, que
91
+ copian los woff2 al build. Licencia OFL-1.1, adjunta en `styles/fonts/`. Ninguna hoja
92
+ publicada carga nada desde fuera: todo viaja dentro del paquete.
93
+
94
+ ## Tipografía (`--netzi-font-size-*`, `--netzi-line-height-*`, `--netzi-font-weight-*`)
95
+
96
+ Escala de texto para todo lo que **no** es un control: líneas secundarias, pies,
97
+ metadatos, títulos. Todos los tamaños escalan con `--netzi-font-scale` (el ajuste
98
+ de accesibilidad del panel), igual que los controles. `md` = 14px es el 100 %.
99
+
100
+ | Token | Valor | Para qué |
101
+ | ----------------------- | ------ | --------------------------------------- |
102
+ | `--netzi-font-size-xs` | 11px | metadatos, etiquetas en mayúsculas |
103
+ | `--netzi-font-size-sm` | 12.5px | líneas secundarias, pies, celdas densas |
104
+ | `--netzi-font-size-md` | 14px | texto corriente |
105
+ | `--netzi-font-size-lg` | 16px | texto destacado, títulos de tarjeta |
106
+ | `--netzi-font-size-xl` | 18px | títulos de sección |
107
+ | `--netzi-font-size-2xl` | 22px | títulos de página |
108
+ | `--netzi-font-size-3xl` | 28px | cifras grandes, portadas |
109
+
110
+ | Interlineado | Valor | Peso | Valor |
111
+ | ----------------------------- | ----- | ------------------------------- | ----- |
112
+ | `--netzi-line-height-none` | 1 | `--netzi-font-weight-regular` | 400 |
113
+ | `--netzi-line-height-tight` | 1.25 | `--netzi-font-weight-medium` | 500 |
114
+ | `--netzi-line-height-normal` | 1.5 | `--netzi-font-weight-semibold` | 600 |
115
+ | `--netzi-line-height-relaxed` | 1.65 | `--netzi-font-weight-bold` | 700 |
116
+ | | | `--netzi-font-weight-extrabold` | 800 |
117
+
118
+ Los tamaños de los **controles** (`--netzi-control-fs-sm/md/lg`) son otra familia,
119
+ ligada a la altura del control; no salen de esta escala. La densidad compacta no
120
+ cambia el texto (encoge el aire, no la letra).
121
+
122
+ ```css
123
+ .meta {
124
+ font-size: var(--netzi-font-size-xs);
125
+ line-height: var(--netzi-line-height-none);
126
+ font-weight: var(--netzi-font-weight-semibold);
127
+ text-transform: uppercase;
128
+ }
129
+ ```
130
+
131
+ ## Tema claro / oscuro
132
+
133
+ El tema se controla con el atributo `data-theme` en un ancestro (normalmente `<html>`):
134
+
135
+ ```html
136
+ <html data-theme="dark">
137
+ ...
138
+ </html>
139
+ ```
140
+
141
+ Sin el atributo, aplica el tema claro (`:root`).
142
+
143
+ ## Overrides (white-label por app)
144
+
145
+ El mecanismo de personalización **sobrevive a las actualizaciones**: redefine los
146
+ tokens que quieras en tu propio scope. Las nuevas versiones de `@netzi/tokens`
147
+ cambian solo los _defaults_; nunca pisan lo que tu app sobreescribe.
148
+
149
+ ```css
150
+ /* tema de la app "Acme": cambia el azul de marca y los radios */
151
+ :root {
152
+ --netzi-blue: #6c3cff;
153
+ --netzi-radius: 8px;
154
+ }
155
+
156
+ [data-theme='dark'] {
157
+ --netzi-surface: #101522;
158
+ }
159
+ ```
160
+
161
+ ## Catálogo de tokens
162
+
163
+ | Grupo | Tokens |
164
+ | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
165
+ | Marca | `--netzi-blue` `--netzi-blue-dark` `--netzi-green` `--netzi-purple` `--netzi-red` `--netzi-yellow` |
166
+ | Estado | `--netzi-info` `--netzi-success` `--netzi-warning` `--netzi-danger` (+ su `-text`) |
167
+ | Superficies | `--netzi-bg` `--netzi-surface` `--netzi-surface-2` `--netzi-surface-3` |
168
+ | Bordes | `--netzi-border` `--netzi-border-2` |
169
+ | Flotantes | `--netzi-float-bg` `--netzi-float-border` `--netzi-float-border-2` `--netzi-float-surface` (`-2`, `-3`) `--netzi-float-filter` `--netzi-float-glow` |
170
+ | Velo modal | `--netzi-scrim` `--netzi-scrim-filter` |
171
+ | Lente | `--netzi-float-lens` `--netzi-float-lens-size` (opt-in, ver abajo) |
172
+ | Texto | `--netzi-text` `--netzi-text-2` `--netzi-text-3` `--netzi-on-accent` |
173
+ | Sombras | `--netzi-shadow-sm` `--netzi-shadow` `--netzi-shadow-lg` |
174
+ | Acento | `--netzi-tint` `--netzi-primary-tint` `--netzi-primary-tint-strong` |
175
+ | Forma | `--netzi-radius` `--netzi-radius-lg` |
176
+ | Tipografía | `--netzi-font-sans` `--netzi-font-mono` `--netzi-font-scale` `--netzi-font-size-{xs…3xl}` `--netzi-line-height-*` `--netzi-font-weight-*` |
177
+
178
+ Alias por **simetría**, para que el nombre que se da por hecho exista:
179
+ `--netzi-surface-1`, `--netzi-text-1` y `--netzi-radius-md` apuntan a
180
+ `--netzi-surface`, `--netzi-text` y `--netzi-radius`. Un token que **no** existe
181
+ no da error: la declaración entera se descarta y el elemento se queda sin fondo,
182
+ sin color o sin radio, sin aviso en build ni en consola.
183
+
184
+ ### Un panel de cristal entra por transición, nunca por animación
185
+
186
+ Una animación CSS terminada se queda retenida en el elemento y, si animó
187
+ `opacity`, Chromium deja el panel compuesto como su propia raíz de fondo: el
188
+ `backdrop-filter` de su capa de cristal solo ve el fondo del propio panel y la
189
+ página se lee nítida a través de él. Por eso todos los paneles del kit entran con
190
+ `transition` + `@starting-style`, y un guardián de la suite lo vigila. Si añades
191
+ una capa de cristal nueva, no le pongas `@keyframes` de entrada.
192
+
193
+ ### La lente del canto, y por qué es opt-in
194
+
195
+ Con `data-glass-lens="on"` en la raíz, el borde de las capas modales (modal,
196
+ drawer, paleta ⌘K) lleva **su propio desenfoque**, más fuerte que el del interior:
197
+ es lo que da sensación de espesor.
198
+
199
+ No es refracción de verdad —el fondo no se curva— y **hoy no puede serlo**:
200
+ Chromium acepta `backdrop-filter: url(#filtro-svg)` y luego lo ignora (el mismo
201
+ filtro como `filter` normal sí deforma, así que el problema es el
202
+ `backdrop-filter`, no el filtro), y Safari ni lo acepta.
203
+
204
+ Es opt-in porque **cuesta**: es una segunda capa de `backdrop-filter`. Medido con
205
+ el fondo en movimiento:
206
+
207
+ | escenario | fps |
208
+ | ------------------------------------ | ----- |
209
+ | una capa con cristal | 60 |
210
+ | una capa con cristal **+ lente** | 60 |
211
+ | tres capas apiladas | 30-38 |
212
+ | tres capas apiladas **+ lente** | 26 |
213
+ | capa con lente, con el shell apagado | 51 |
214
+
215
+ Con una sola capa en pantalla sale gratis; apilada, se nota. La última fila es
216
+ un experimento **descartado**: apagar el filtro del topbar y del sidebar bajo una
217
+ capa modal daba esos frames, pero el velo es translúcido y el salto de tono del
218
+ shell se veía al abrir. `NetziOverlayService` y su marca `data-netzi-overlay="open"`
219
+ se quedan para que la app reaccione a «hay algo encima» (pausar una animación
220
+ cara, un vídeo de fondo).
221
+
222
+ ### Estados y tintes: relleno o texto, nunca los dos
223
+
224
+ `--netzi-success` y compañía son **relleno** (un punto de estado, un fondo, una
225
+ barra). Para texto va su `-text`, que es la versión que llega a 4.5:1. Con los
226
+ tintes del primario pasa lo mismo por otro lado: `--netzi-primary-tint` (10 %) es
227
+ para superficies grandes y aguanta `--netzi-primary-text` justo; en una pieza
228
+ pequeña se pierde contra el fondo, y para eso está
229
+ `--netzi-primary-tint-strong` (22 %), cuya tinta es `--netzi-text`.
230
+
231
+ Lo mismo vale para el primario y los acentos a secas: `--netzi-primary`,
232
+ `--netzi-blue`, `--netzi-green`… son **relleno** y no llegan a 4.5:1 como texto
233
+ sobre fondo claro (`--netzi-blue` da 2.9:1; `--netzi-primary-dark`, 4.3:1). Si se
234
+ lee, va `--netzi-primary-text` o el `-text` del color, que están calibrados por
235
+ tema y por preset. Es lo que le pasó al botón `soft` (#56).
236
+
237
+ ## Los tres niveles de texto
238
+
239
+ Tienen **papeles distintos**, no son tres grados de gris intercambiables. El ratio
240
+ es el peor de las cuatro superficies del tema (`bg`, `surface`, `surface-2`,
241
+ `surface-3`); `surface-3` es siempre el caso malo.
242
+
243
+ | Token | Claro | Oscuro | Para qué |
244
+ | ---------------- | ------ | ------ | ---------------------------------------------------------------------------------- |
245
+ | `--netzi-text` | 13.7:1 | 15.2:1 | Títulos, valores y cuerpo. |
246
+ | `--netzi-text-2` | 4.8:1 | 5.0:1 | **Cualquier** texto secundario: rótulos, ayudas, pies, metadatos, placeholders. |
247
+ | `--netzi-text-3` | 3.2:1 | 3.3:1 | **No textual**: iconos decorativos, chevrons, separadores, líneas, deshabilitados. |
248
+
249
+ WCAG 2.1 pide **4.5:1** para texto normal (SC 1.4.3) y **3:1** para lo no textual
250
+ con significado (SC 1.4.11). Por eso `--netzi-text-3` **no vale para texto**: si
251
+ lo que pintas se lee, va `--netzi-text-2`.
252
+
253
+ Con `data-contrast='high'` cada nivel toma el valor del de encima: `text-2` sube a
254
+ 7.1:1 y `text-3` a 4.8:1, así que el modo cumple incluso donde alguien haya usado
255
+ `text-3` para un rótulo.
256
+
257
+ Los ratios están **medidos sobre este mismo `tokens.css`** por
258
+ `tokens-contrast.spec.ts` en `@netzi/ui`: si cambias un valor y deja de cumplir, la
259
+ suite se pone roja.
260
+
261
+ ## Capas flotantes y superficies de cristal
262
+
263
+ Las capas que se pintan **encima** del contenido —topbar, sidebar, paneles
264
+ anclados, modal, drawer, menús y toasts— no usan `--netzi-surface` directamente,
265
+ sino su propio juego de tokens:
266
+
267
+ | Token | Para qué |
268
+ | ------------------------- | ----------------------------------------------- |
269
+ | `--netzi-float-bg` | Fondo de la capa |
270
+ | `--netzi-float-border` | Su borde |
271
+ | `--netzi-float-border-2` | Su borde marcado |
272
+ | `--netzi-float-surface` | Lo ANIDADO dentro de la capa: la lámina misma |
273
+ | `--netzi-float-surface-2` | … a un paso de la lámina (tarjetas, hovers) |
274
+ | `--netzi-float-surface-3` | … a dos pasos |
275
+ | `--netzi-float-filter` | Valor de `backdrop-filter` (por defecto `none`) |
276
+
277
+ Cada capa re-escopa `--netzi-surface`, `-2` y `-3` a los tres `float-surface`, así
278
+ que **todo lo que va dentro** (una tarjeta, la burbuja de un comentario, el hover
279
+ de un botón) hereda el vidrio sin saber que está en una capa. Con cristal son
280
+ tintes translúcidos **oscuros** que se alejan de la lámina un paso, dos y tres
281
+ (una tarjeta es más gris que la lámina, como en opaco). En claro eso resta
282
+ contraste, y por eso `--netzi-text-2` con cristal baja dos niveles (el mismo
283
+ valor que en alto contraste, `#354049`);
284
+ `tokens-contrast.spec.ts` exige que sobre el tinte más fuerte siga por encima de
285
+ 4.5:1 incluso con negro puro debajo.
286
+
287
+ Con el cristal apagado valen exactamente lo mismo que los tokens de siempre, así
288
+ que no cambia nada. Con `data-glass="on"` en un ancestro (lo pone
289
+ `NetziThemeService` en `<html>`, y también vale en un scope acotado) esas capas
290
+ pasan a ser translúcidas con el fondo desenfocado y saturado:
291
+
292
+ ```html
293
+ <html data-theme="dark" data-glass="on">
294
+ ...
295
+ </html>
296
+ ```
297
+
298
+ Las superficies de **contenido** (tarjetas, secciones, tablas) siguen opacas a
299
+ propósito: ahí el cristal solo resta legibilidad.
300
+
301
+ ### Fondo ambiental: darle al cristal algo que desenfocar
302
+
303
+ Un cristal sobre un fondo liso se ve como una placa gris: no hay nada detrás
304
+ que atravesar. Con `data-ambient="on"` en la raíz (`NetziThemeService.setAmbient`,
305
+ interruptor «Fondo ambiental» en `netzi-settings`) el layout pinta bajo
306
+ `--netzi-bg` unas manchas de color suaves —el primario del preset, morado y
307
+ verde— que se ven a través del topbar, del sidebar y de cualquier capa que pase
308
+ por encima. Token: `--netzi-ambient` (`none` sin el eje). Los porcentajes son
309
+ bajos y el texto se sigue leyendo encima (`--netzi-text-3` sobre la mancha más
310
+ fuerte: 4.4:1 en claro, 4.6:1 en oscuro). En alto contraste se apaga solo.
311
+
312
+ ```html
313
+ <html data-theme="dark" data-glass="on" data-ambient="on"></html>
314
+ ```
315
+
316
+ **El suelo de contraste no lo pone solo el alfa.** Sobre cristal el texto se lee
317
+ contra lo que haya debajo, que cambia al scrollear, así que el caso a cumplir es
318
+ el fondo más contrario posible. Taparlo con opacidad exige un alfa de 0.82, y a
319
+ 0.82 esto ya no parece cristal; por eso el filtro **acota el fondo** antes de
320
+ componerlo:
321
+
322
+ | función | qué hace |
323
+ | ---------------- | -------------------------------------------------------------- |
324
+ | `saturate(180%)` | aviva el color de debajo al difuminarse (lo vistoso) |
325
+ | `contrast(0.6)` | comprime el rango del fondo hacia el gris medio |
326
+ | `brightness()` | lo empuja al tono de la capa: `1.5` en claro, `0.66` en oscuro |
327
+ | `blur(28px)` | lo difumina; cuanto más ancho, más vidrio esmerilado |
328
+
329
+ Bastan **0.44** de alfa y brillo 1.25 en claro,
330
+ **0.12** y brillo 0.56 en oscuro, 10 px de desenfoque en los dos. El precio es
331
+ el plano contrario puro debajo (negro en claro, blanco en oscuro): ahí el texto
332
+ secundario se queda en **4.1-4.2:1**, y el primario no baja de 4.5:1
333
+ nunca; contra el fondo del kit y contra un gris medio, ambos pasan de 6:1. `tokens-contrast.spec.ts`
334
+ modela la cadena entera, no solo el alfa: tocar cualquiera de sus funciones mueve
335
+ el veredicto.
336
+
337
+ Degradación automática, sin JS y sin polyfill: con
338
+ `prefers-reduced-transparency: reduce` y donde no haya `backdrop-filter`, la
339
+ superficie opaca de siempre.
340
+
341
+ ## Versionado
342
+
343
+ SemVer. Cambiar el **valor** de un token es `minor`/`patch`; **renombrar o quitar**
344
+ un token es `major` (rompe la API pública).
package/package.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "@netzi/tokens",
3
+ "version": "0.1.0-beta.8",
4
+ "description": "Design tokens de Netzi (CSS custom properties): marca, tema claro/oscuro, tipografía, radios, sombras. Agnóstico de framework.",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
+ "homepage": "https://ui.netzi.tech",
7
+ "bugs": {
8
+ "email": "netzi.tech@gmail.com"
9
+ },
10
+ "type": "module",
11
+ "sideEffects": [
12
+ "**/*.css"
13
+ ],
14
+ "files": [
15
+ "styles",
16
+ "README.md",
17
+ "CHANGELOG.md",
18
+ "LICENSE.md"
19
+ ],
20
+ "exports": {
21
+ ".": "./styles/index.css",
22
+ "./tokens.css": "./styles/tokens.css",
23
+ "./base.css": "./styles/base.css",
24
+ "./fonts.css": "./styles/fonts.css",
25
+ "./index.css": "./styles/index.css"
26
+ },
27
+ "publishConfig": {
28
+ "access": "public",
29
+ "registry": "https://registry.npmjs.org/"
30
+ },
31
+ "keywords": [
32
+ "netzi",
33
+ "design-tokens",
34
+ "css",
35
+ "theme"
36
+ ],
37
+ "scripts": {
38
+ "lint": "stylelint \"styles/**/*.css\""
39
+ }
40
+ }
@@ -0,0 +1,89 @@
1
+ /* ===========================================================
2
+ @netzi/tokens — Base (reset + tipografía base + scrollbar)
3
+ OPCIONAL. Aplica un reset suave y estilos globales que usan los
4
+ tokens. Si tu app ya tiene su propio reset, importa solo
5
+ tokens.css en lugar de index.css.
6
+ Depende de tokens.css (las custom properties --netzi-*).
7
+ =========================================================== */
8
+
9
+ * {
10
+ margin: 0;
11
+ padding: 0;
12
+ box-sizing: border-box;
13
+ }
14
+
15
+ html,
16
+ body {
17
+ height: 100%;
18
+ }
19
+
20
+ body {
21
+ font-family: var(--netzi-font-sans);
22
+ font-size: calc(16px * var(--netzi-font-scale, 1));
23
+ background: var(--netzi-bg);
24
+ color: var(--netzi-text);
25
+ line-height: 1.55;
26
+ -webkit-font-smoothing: antialiased;
27
+ transition:
28
+ background 0.2s,
29
+ color 0.2s;
30
+ }
31
+
32
+ a {
33
+ color: var(--netzi-primary);
34
+ text-decoration: none;
35
+ }
36
+
37
+ /* Los controles heredan tipografía y color del contexto. Sin esto, los <button>
38
+ usan el color por defecto del navegador (negro), y los iconos que usan
39
+ `currentColor` quedarían negros (invisibles en tema oscuro). */
40
+ button,
41
+ input,
42
+ select,
43
+ textarea {
44
+ font-family: inherit;
45
+ color: inherit;
46
+ }
47
+
48
+ h1,
49
+ h2,
50
+ h3 {
51
+ font-weight: 800;
52
+ line-height: 1.2;
53
+ letter-spacing: -0.02em;
54
+ }
55
+
56
+ .netzi-mono {
57
+ font-family: var(--netzi-font-mono);
58
+ }
59
+
60
+ /* --- Scrollbar (claro/oscuro) --- */
61
+ * {
62
+ scrollbar-width: thin;
63
+ scrollbar-color: rgba(145, 158, 171, 0.45) transparent;
64
+ }
65
+
66
+ *::-webkit-scrollbar {
67
+ width: 9px;
68
+ height: 9px;
69
+ }
70
+
71
+ *::-webkit-scrollbar-track {
72
+ background: transparent;
73
+ }
74
+
75
+ *::-webkit-scrollbar-thumb {
76
+ background: rgba(145, 158, 171, 0.4);
77
+ border-radius: 100px;
78
+ border: 2px solid transparent;
79
+ background-clip: padding-box;
80
+ }
81
+
82
+ *::-webkit-scrollbar-thumb:hover {
83
+ background: rgba(145, 158, 171, 0.65);
84
+ background-clip: padding-box;
85
+ }
86
+
87
+ *::-webkit-scrollbar-corner {
88
+ background: transparent;
89
+ }
@@ -0,0 +1,93 @@
1
+ Copyright (c) 2014, The Fira Code Project Authors (https://github.com/tonsky/FiraCode)
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
+ -----------------------------------------------------------
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,93 @@
1
+ Copyright 2020 The Plus Jakarta Sans Project Authors (https://github.com/tokotype/PlusJakartaSans)
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
+ -----------------------------------------------------------
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.