@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/CHANGELOG.md +389 -0
- package/LICENSE.md +33 -0
- package/README.md +344 -0
- package/package.json +40 -0
- package/styles/base.css +89 -0
- package/styles/fonts/LICENSE-FiraCode.txt +93 -0
- package/styles/fonts/LICENSE-PlusJakartaSans.txt +93 -0
- package/styles/fonts/fira-code-latin-ext.woff2 +0 -0
- package/styles/fonts/fira-code-latin.woff2 +0 -0
- package/styles/fonts/plus-jakarta-sans-latin-ext.woff2 +0 -0
- package/styles/fonts/plus-jakarta-sans-latin.woff2 +0 -0
- package/styles/fonts.css +64 -0
- package/styles/index.css +7 -0
- package/styles/tokens.css +665 -0
package/styles/fonts.css
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* ===========================================================
|
|
2
|
+
@netzi/tokens — Fuentes de marca, AUTOALOJADAS
|
|
3
|
+
Plus Jakarta Sans (texto) y Fira Code (monoespaciada), como fuentes
|
|
4
|
+
variables woff2 en dos subconjuntos: `latin` y `latin-ext` (ç, ñ, ß, ã,
|
|
5
|
+
l·l… política 10). El navegador descarga solo el subconjunto que el texto
|
|
6
|
+
necesita (`unicode-range`). Nada se pide a Google: política 14 («Google
|
|
7
|
+
Fonts se autoaloja; nunca se carga desde Google en producción») y 08b
|
|
8
|
+
(ningún recurso de terceros antes del consentimiento).
|
|
9
|
+
|
|
10
|
+
Este archivo NO va en index.css: impórtalo aparte
|
|
11
|
+
(`@import '@netzi/tokens/fonts.css'`) si tu app usa las fuentes de marca.
|
|
12
|
+
Las rutas son relativas al paquete: Vite y el CLI de Angular las
|
|
13
|
+
reescriben y copian los woff2 al build.
|
|
14
|
+
|
|
15
|
+
Licencias: SIL Open Font License 1.1, copia junto a cada fuente
|
|
16
|
+
(fonts/LICENSE-PlusJakartaSans.txt, fonts/LICENSE-FiraCode.txt).
|
|
17
|
+
Origen y versiones: docs/licencias/medios.md del repositorio.
|
|
18
|
+
=========================================================== */
|
|
19
|
+
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: 'Plus Jakarta Sans';
|
|
22
|
+
font-style: normal;
|
|
23
|
+
font-weight: 200 800;
|
|
24
|
+
font-display: swap;
|
|
25
|
+
src: url('./fonts/plus-jakarta-sans-latin.woff2') format('woff2');
|
|
26
|
+
unicode-range:
|
|
27
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
28
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@font-face {
|
|
32
|
+
font-family: 'Plus Jakarta Sans';
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-weight: 200 800;
|
|
35
|
+
font-display: swap;
|
|
36
|
+
src: url('./fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
|
|
37
|
+
unicode-range:
|
|
38
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
39
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
40
|
+
U+A720-A7FF;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@font-face {
|
|
44
|
+
font-family: 'Fira Code';
|
|
45
|
+
font-style: normal;
|
|
46
|
+
font-weight: 300 700;
|
|
47
|
+
font-display: swap;
|
|
48
|
+
src: url('./fonts/fira-code-latin.woff2') format('woff2');
|
|
49
|
+
unicode-range:
|
|
50
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
51
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: 'Fira Code';
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-weight: 300 700;
|
|
58
|
+
font-display: swap;
|
|
59
|
+
src: url('./fonts/fira-code-latin-ext.woff2') format('woff2');
|
|
60
|
+
unicode-range:
|
|
61
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
62
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
63
|
+
U+A720-A7FF;
|
|
64
|
+
}
|
package/styles/index.css
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/* ===========================================================
|
|
2
|
+
@netzi/tokens — Entrada por defecto
|
|
3
|
+
Incluye tokens + base. NO incluye fonts.css (impórtalo aparte
|
|
4
|
+
si quieres cargar las fuentes desde Google Fonts).
|
|
5
|
+
=========================================================== */
|
|
6
|
+
@import './tokens.css';
|
|
7
|
+
@import './base.css';
|