@aurea-uds/tokens 0.12.4 → 0.14.1
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 +1 -1
- package/dist/aurea.tokens.css +4 -4
- package/dist/aurea.tokens.native.js +3 -3
- package/package.json +1 -1
- package/src/aurea.tokens.json +8 -10
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ regras.
|
|
|
17
17
|
| Cor | `--<semântico>`, `--<família>-<degrau>` | oklch / hex | o semântico vem primeiro; um degrau da rampa serve para montar um semântico, não para usar direto |
|
|
18
18
|
| Espaço | `--space-0` … `--space-24` | rem | escala com saltos de propósito — nem todo inteiro existe |
|
|
19
19
|
| Tamanho de letra | `--text-xs` … `--text-5xl` | rem | |
|
|
20
|
-
| Família de letra | `--font-ui`, `--font-editorial`, `--font-code` | — |
|
|
20
|
+
| Família de letra | `--font-ui`, `--font-editorial`, `--font-code` | — | Atkinson Hyperlegible Next / Next (apelido, ADR-0053) / Mono |
|
|
21
21
|
| Peso de letra | `--weight-regular` … `--weight-bold` | número | criado na Fase 6; o eixo não existia |
|
|
22
22
|
| Altura de linha | `--leading-none` … `--leading-relaxed` | número | `--leading-none` existe para componentes cuja ALTURA é contrato |
|
|
23
23
|
| Espaçamento entre letras | `--tracking-tight` … `--tracking-widest` | em | criado na Fase 6 |
|
package/dist/aurea.tokens.css
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
:root{
|
|
3
3
|
--brand-yellow:oklch(0.795 0.184 86.047);
|
|
4
4
|
--brand-yellow-foreground:oklch(0.421 0.095 57.708);
|
|
5
|
-
--font-ui:"
|
|
6
|
-
--font-editorial:"
|
|
7
|
-
--font-code:"
|
|
5
|
+
--font-ui:"Atkinson Hyperlegible Next","Segoe UI",sans-serif;
|
|
6
|
+
--font-editorial:"Atkinson Hyperlegible Next","Segoe UI",sans-serif;
|
|
7
|
+
--font-code:"Atkinson Hyperlegible Mono",SFMono-Regular,Consolas,monospace;
|
|
8
8
|
--text-xs:0.75rem;
|
|
9
9
|
--text-sm:0.875rem;
|
|
10
|
-
--text-md:
|
|
10
|
+
--text-md:var(--text-sm);
|
|
11
11
|
--text-base:1rem;
|
|
12
12
|
--text-lg:1.125rem;
|
|
13
13
|
--text-xl:1.25rem;
|
|
@@ -31,9 +31,9 @@ export const base = {
|
|
|
31
31
|
"p3": "color(display-p3 0.4225 0.2527 0.0951)",
|
|
32
32
|
"oklch": "oklch(0.421 0.095 57.708)"
|
|
33
33
|
},
|
|
34
|
-
"fontUi": "
|
|
35
|
-
"fontEditorial": "
|
|
36
|
-
"fontCode": "
|
|
34
|
+
"fontUi": "Atkinson Hyperlegible Next",
|
|
35
|
+
"fontEditorial": "Atkinson Hyperlegible Next",
|
|
36
|
+
"fontCode": "Atkinson Hyperlegible Mono",
|
|
37
37
|
"textXs": 12,
|
|
38
38
|
"textSm": 14,
|
|
39
39
|
"textMd": 14,
|
package/package.json
CHANGED
package/src/aurea.tokens.json
CHANGED
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"font-ui": {
|
|
50
50
|
"$type": "fontFamily",
|
|
51
51
|
"$value": [
|
|
52
|
-
"
|
|
52
|
+
"Atkinson Hyperlegible Next",
|
|
53
53
|
"Segoe UI",
|
|
54
54
|
"sans-serif"
|
|
55
55
|
]
|
|
@@ -57,15 +57,15 @@
|
|
|
57
57
|
"font-editorial": {
|
|
58
58
|
"$type": "fontFamily",
|
|
59
59
|
"$value": [
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"serif"
|
|
60
|
+
"Atkinson Hyperlegible Next",
|
|
61
|
+
"Segoe UI",
|
|
62
|
+
"sans-serif"
|
|
63
63
|
]
|
|
64
64
|
},
|
|
65
65
|
"font-code": {
|
|
66
66
|
"$type": "fontFamily",
|
|
67
67
|
"$value": [
|
|
68
|
-
"
|
|
68
|
+
"Atkinson Hyperlegible Mono",
|
|
69
69
|
"SFMono-Regular",
|
|
70
70
|
"Consolas",
|
|
71
71
|
"monospace"
|
|
@@ -87,11 +87,9 @@
|
|
|
87
87
|
},
|
|
88
88
|
"text-md": {
|
|
89
89
|
"$type": "dimension",
|
|
90
|
-
"$value": {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
},
|
|
94
|
-
"$description": "Vale o MESMO que o text-sm (14), de propósito — ADR-0050, escolha 1: o md é o texto base das páginas da web, e o texto base das peças do HeroUI é 14. Os dois nomes continuam para não quebrar quem usa. Código novo usa text-sm. R-10, 24/09/2026."
|
|
90
|
+
"$value": "{text-sm}",
|
|
91
|
+
"$deprecated": "Use text-sm. Sai na 1.0 (R-10, 01/10/2026).",
|
|
92
|
+
"$description": "APELIDO do text-sm (14), e não um degrau: o HeroUI não tem md, e cada nome da escala é um tamanho só (R-10). Até 01/10/2026 era um 0.875rem próprio, que valia o mesmo por coincidência escrita (ADR-0050, escolha 1). Continua existindo para não quebrar quem usa; sai na 1.0. Código novo usa text-sm."
|
|
95
93
|
},
|
|
96
94
|
"text-base": {
|
|
97
95
|
"$type": "dimension",
|