@kenlo/sds-design-system 1.0.1 → 1.0.2
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 +12 -3
- package/foundations/tokens.css +1 -2
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -80,9 +80,18 @@ da do próprio app — se o bucket cair, nenhum produto perde a tipografia junto
|
|
|
80
80
|
ficam fora do pacote pelo motivo oposto: os bytes delas não devem pesar em quem nunca
|
|
81
81
|
escolhe nenhuma.
|
|
82
82
|
|
|
83
|
-
> **
|
|
84
|
-
>
|
|
85
|
-
>
|
|
83
|
+
> **As quatro opcionais carregam desde 21/09**, quando o CORS entrou no bucket. Conferido
|
|
84
|
+
> aqui com `npm run check:fonts`: 24 de 24 utilizáveis, e num navegador limpo as quatro
|
|
85
|
+
> famílias renderizam.
|
|
86
|
+
>
|
|
87
|
+
> **Com uma ressalva que vale saber.** Entre a publicação do bucket e o conserto do CORS,
|
|
88
|
+
> houve uma janela em que os arquivos respondiam sem o cabeçalho. Um navegador que passou
|
|
89
|
+
> por uma dessas URLs nessa janela **guardou a resposta ruim** — e elas são servidas
|
|
90
|
+
> `immutable`, com um ano de cache, então ele não revalida. Essa pessoa continua vendo o
|
|
91
|
+
> fallback, e consertar o servidor não a alcança: só um nome de arquivo novo alcança.
|
|
92
|
+
>
|
|
93
|
+
> A `manrope` e a `helvetica` nunca dependeram disso — e essa é exatamente a razão de a
|
|
94
|
+
> padrão vir embarcada.
|
|
86
95
|
|
|
87
96
|
Há duas portas para escrevê-los, e a diferença importa:
|
|
88
97
|
|
package/foundations/tokens.css
CHANGED
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
- the Kenlo radius scheme named `default` is removed; `soft` is the install
|
|
8
8
|
default and keeps its name.
|
|
9
9
|
SDS owns this file from here on — edit it directly, do not regenerate. */
|
|
10
|
-
/*
|
|
11
|
-
No usage-rule comments here — token usage rules live in
|
|
10
|
+
/* No usage-rule comments here — token usage rules live in
|
|
12
11
|
.claude/tokens-reference.md. General component rules: .claude/component-rules.md. */
|
|
13
12
|
|
|
14
13
|
/* ── The one layout rule this package asserts ──────────────────────────────────
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kenlo/sds-design-system",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "SDS, the Site Design System \u2014 Marko 5 components for Kenlo's public products (Site, Landing Page, Blog)",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -33,7 +33,11 @@
|
|
|
33
33
|
"test:watch": "jest --watch",
|
|
34
34
|
"gen:icons": "node scripts/gen-icons.mjs",
|
|
35
35
|
"gen:contrast": "node scripts/gen-contrast-tokens.mjs",
|
|
36
|
-
"gen:font": "node scripts/gen-font.mjs"
|
|
36
|
+
"gen:font": "node scripts/gen-font.mjs",
|
|
37
|
+
"check:fonts": "node scripts/check-font-bucket.mjs",
|
|
38
|
+
"parity": "node scripts/parity.mjs",
|
|
39
|
+
"parity:css": "node scripts/css-parity.mjs",
|
|
40
|
+
"parity:defaults": "node scripts/defaults-parity.mjs"
|
|
37
41
|
},
|
|
38
42
|
"peerDependencies": {
|
|
39
43
|
"marko": "^5.38.39"
|