@aurea-uds/tokens 0.74.0 → 0.76.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/README.md +1 -1
- package/dist/aurea.tokens.css +0 -4
- package/dist/aurea.tokens.native.js +0 -12
- package/package.json +1 -1
- package/src/aurea.tokens.json +0 -39
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ checked. This file holds the rules.
|
|
|
14
14
|
| Colour | `--<semantic>`, `--<family>-<step>` | oklch / hex | the semantic token comes first; a ramp step is for building a semantic token, not for direct use |
|
|
15
15
|
| Space | `--space-0` … `--space-24` | rem | the scale skips values on purpose — not every integer exists |
|
|
16
16
|
| Type size | `--text-xs` … `--text-7xl` | rem | |
|
|
17
|
-
| Type family | `--font-ui`, `--font-heading`, `--font-
|
|
17
|
+
| Type family | `--font-ui`, `--font-heading`, `--font-code` | — | Inter / Sora (every h1 to h6) / IBM Plex Mono |
|
|
18
18
|
| Type weight | `--weight-regular` … `--weight-extrabold` | number | |
|
|
19
19
|
| Line height | `--leading-none` … `--leading-relaxed` | number | `--leading-none` exists for components whose HEIGHT is part of the contract |
|
|
20
20
|
| Letter spacing | `--tracking-tight` … `--tracking-widest` | em | |
|
package/dist/aurea.tokens.css
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
/* Aurea tokens — generated from aurea.tokens.json (DTCG 2025.10). Do not edit. */
|
|
2
2
|
:root{
|
|
3
3
|
--brand-yellow:oklch(0.795 0.184 86.047);
|
|
4
|
-
--brand-yellow-foreground:oklch(0.421 0.095 57.708);
|
|
5
|
-
--brand-yellow-text:oklch(0.516 0.105 86.047);
|
|
6
4
|
--brand-yellow-ink:#18181b;
|
|
7
5
|
--brand-blue:#0246f1;
|
|
8
6
|
--white:oklch(1 0 0);
|
|
9
7
|
--black:oklch(0 0 0);
|
|
10
8
|
--font-ui:Inter,"Segoe UI",sans-serif;
|
|
11
9
|
--font-heading:Sora,Inter,"Segoe UI",sans-serif;
|
|
12
|
-
--font-editorial:Inter,"Segoe UI",sans-serif;
|
|
13
10
|
--font-code:"IBM Plex Mono",SFMono-Regular,Consolas,monospace;
|
|
14
11
|
--text-xs:0.75rem;
|
|
15
12
|
--text-sm:0.875rem;
|
|
16
|
-
--text-md:var(--text-sm);
|
|
17
13
|
--text-base:1rem;
|
|
18
14
|
--text-lg:1.125rem;
|
|
19
15
|
--text-xl:1.25rem;
|
|
@@ -26,16 +26,6 @@ export const base = {
|
|
|
26
26
|
"p3": "color(display-p3 0.9037 0.7031 0.0745)",
|
|
27
27
|
"oklch": "oklch(0.795 0.184 86.047)"
|
|
28
28
|
},
|
|
29
|
-
"brandYellowForeground": {
|
|
30
|
-
"hex": "#733e0a",
|
|
31
|
-
"p3": "color(display-p3 0.4225 0.2527 0.0951)",
|
|
32
|
-
"oklch": "oklch(0.421 0.095 57.708)"
|
|
33
|
-
},
|
|
34
|
-
"brandYellowText": {
|
|
35
|
-
"hex": "#826202",
|
|
36
|
-
"p3": "color(display-p3 0.4921 0.3908 0.1193)",
|
|
37
|
-
"oklch": "oklch(0.516 0.105 86.047)"
|
|
38
|
-
},
|
|
39
29
|
"brandYellowInk": {
|
|
40
30
|
"hex": "#18181b",
|
|
41
31
|
"p3": "color(display-p3 0.0941 0.0941 0.1059)",
|
|
@@ -58,11 +48,9 @@ export const base = {
|
|
|
58
48
|
},
|
|
59
49
|
"fontUi": "Inter",
|
|
60
50
|
"fontHeading": "Sora",
|
|
61
|
-
"fontEditorial": "Inter",
|
|
62
51
|
"fontCode": "IBM Plex Mono",
|
|
63
52
|
"textXs": 12,
|
|
64
53
|
"textSm": 14,
|
|
65
|
-
"textMd": 14,
|
|
66
54
|
"textBase": 16,
|
|
67
55
|
"textLg": 18,
|
|
68
56
|
"textXl": 20,
|
package/package.json
CHANGED
package/src/aurea.tokens.json
CHANGED
|
@@ -58,30 +58,6 @@
|
|
|
58
58
|
]
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
-
"brand-yellow-foreground": {
|
|
62
|
-
"$type": "color",
|
|
63
|
-
"$description": "OBSOLETO desde a ADR-0083 (26/10/2026): o marrom sobre o amarelo saiu de todo lugar (a marca sobre o amarelo é a tinta, --brand-yellow-ink; a bolinha e a alça são brancas, --control-thumb). Fica até a 1.0 para não quebrar quem a lê.",
|
|
64
|
-
"$value": {
|
|
65
|
-
"colorSpace": "oklch",
|
|
66
|
-
"components": [
|
|
67
|
-
0.421,
|
|
68
|
-
0.095,
|
|
69
|
-
57.708
|
|
70
|
-
]
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"brand-yellow-text": {
|
|
74
|
-
"$type": "color",
|
|
75
|
-
"$description": "OBSOLETO: sem uso nos temas desde a ADR-0073 (18/10/2026), e a ADR-0083 (26/10/2026) confirma: no claro, o amarelo não vira letra. Fica até a 1.0 para não quebrar quem a lê. Era o amarelo da marca como LETRA ou ÍCONE sobre fundo claro (ADR-0054).",
|
|
76
|
-
"$value": {
|
|
77
|
-
"colorSpace": "oklch",
|
|
78
|
-
"components": [
|
|
79
|
-
0.516,
|
|
80
|
-
0.105,
|
|
81
|
-
86.047
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
61
|
"brand-yellow-ink": {
|
|
86
62
|
"$type": "color",
|
|
87
63
|
"$description": "O cinza-escuro desenhado SOBRE o amarelo da marca — a letra do botão primário, o ícone da barra de baixo cheia, o play —, nos dois temas: #18181B, o tom do zinco, 9,28:1 sobre o amarelo (ADR-0083, 26/10/2026; era #242424, ADR-0073).",
|
|
@@ -150,15 +126,6 @@
|
|
|
150
126
|
],
|
|
151
127
|
"$description": "A fonte dos títulos (GAR-16, 0.28.0): a Sora desde a ADR-0077 (22/10/2026). Vale para todo título, do h1 ao h6 (o sistema que serviu de modelo deixa o h6 no texto; a Aurea não — decisão do Victor, 22/10/2026); o texto é a Inter."
|
|
152
128
|
},
|
|
153
|
-
"font-editorial": {
|
|
154
|
-
"$type": "fontFamily",
|
|
155
|
-
"$value": [
|
|
156
|
-
"Inter",
|
|
157
|
-
"Segoe UI",
|
|
158
|
-
"sans-serif"
|
|
159
|
-
],
|
|
160
|
-
"$description": "Apelido da fonte do texto desde a ADR-0053 (a serifada saiu); sai na 1.0."
|
|
161
|
-
},
|
|
162
129
|
"font-code": {
|
|
163
130
|
"$type": "fontFamily",
|
|
164
131
|
"$value": [
|
|
@@ -182,12 +149,6 @@
|
|
|
182
149
|
"unit": "rem"
|
|
183
150
|
}
|
|
184
151
|
},
|
|
185
|
-
"text-md": {
|
|
186
|
-
"$type": "dimension",
|
|
187
|
-
"$value": "{text-sm}",
|
|
188
|
-
"$deprecated": "Use text-sm. Sai na 1.0 (R-10, 01/10/2026).",
|
|
189
|
-
"$description": "APELIDO do text-sm (14), e não um degrau: a referência 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."
|
|
190
|
-
},
|
|
191
152
|
"text-base": {
|
|
192
153
|
"$type": "dimension",
|
|
193
154
|
"$value": {
|