@toski-labs/ds 0.5.3 → 0.6.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/README.en.md +3 -3
  3. package/README.md +3 -3
  4. package/build/css/themes/{pethealth.css → pawta.css} +5 -5
  5. package/build/json/app-tokens.json +5 -0
  6. package/build/json/app-tokens.koti.json +5 -0
  7. package/build/json/{app-tokens.pethealth.json → app-tokens.pawta.json} +40 -35
  8. package/build/json/mobile.json +5 -2
  9. package/build/json/web.json +1 -0
  10. package/build/json/web.koti.json +1 -0
  11. package/build/json/{web.pethealth.json → web.pawta.json} +36 -35
  12. package/build/swift/ToskiColors.swift +2 -0
  13. package/build/swift/{ToskiThemePetHealth.swift → ToskiThemePawta.swift} +9 -5
  14. package/dist/components/ProductArt.d.ts +1 -1
  15. package/dist/generated/icons.d.ts +10 -0
  16. package/dist/generated/products.d.ts +4 -4
  17. package/dist/generated/tokens.d.ts +1 -1
  18. package/dist/index.js +40 -17
  19. package/dist/index.js.map +1 -1
  20. package/dist/renamed.d.ts +13 -0
  21. package/icons/icons.json +4 -0
  22. package/icons/svg/resumo.svg +3 -0
  23. package/package.json +4 -4
  24. package/products/{pethealth → pawta}/animations.md +1 -1
  25. package/products/{pethealth/icon/pethealth-icon-light.svg → pawta/icon/pawta-icon-dark.svg} +1 -1
  26. package/products/pawta/icon/pawta-icon-light.svg +1 -0
  27. package/products/pawta/icon/pawta-icon-tinted.svg +1 -0
  28. package/products/pawta/icon-alt/pawta-icon-night.svg +1 -0
  29. package/products/pawta/icon-alt/pawta-icon-paper.svg +1 -0
  30. package/products/pethealth/icon/pethealth-icon-dark.svg +0 -1
  31. package/products/pethealth/icon/pethealth-icon-tinted.svg +0 -1
  32. package/products/pethealth/icon-alt/pethealth-icon-night.svg +0 -1
  33. package/products/pethealth/icon-alt/pethealth-icon-paper.svg +0 -1
  34. /package/products/{pethealth/icon/pethealth-icon-dark-1024.png → pawta/icon/pawta-icon-dark-1024.png} +0 -0
  35. /package/products/{pethealth/icon/pethealth-icon-light-1024.png → pawta/icon/pawta-icon-light-1024.png} +0 -0
  36. /package/products/{pethealth/icon/pethealth-icon-tinted-1024.png → pawta/icon/pawta-icon-tinted-1024.png} +0 -0
  37. /package/products/{pethealth/icon-alt/pethealth-icon-night-1024.png → pawta/icon-alt/pawta-icon-night-1024.png} +0 -0
  38. /package/products/{pethealth/icon-alt/pethealth-icon-paper-1024.png → pawta/icon-alt/pawta-icon-paper-1024.png} +0 -0
  39. /package/products/{pethealth → pawta}/icon-layers/1-background.svg +0 -0
  40. /package/products/{pethealth → pawta}/icon-layers/2-dog.svg +0 -0
  41. /package/products/{pethealth → pawta}/icon-layers/3-cat.svg +0 -0
  42. /package/products/{pethealth → pawta}/icon-layers/4-heart.svg +0 -0
  43. /package/products/{pethealth → pawta}/mascots/ball-indigo-dark.svg +0 -0
  44. /package/products/{pethealth → pawta}/mascots/ball-indigo-light.svg +0 -0
  45. /package/products/{pethealth → pawta}/mascots/pair-base-dark.svg +0 -0
  46. /package/products/{pethealth → pawta}/mascots/pair-base-light.svg +0 -0
  47. /package/products/{pethealth → pawta}/mascots/pair-dark.svg +0 -0
  48. /package/products/{pethealth → pawta}/mascots/pair-error-dark.svg +0 -0
  49. /package/products/{pethealth → pawta}/mascots/pair-error-light.svg +0 -0
  50. /package/products/{pethealth → pawta}/mascots/pair-light.svg +0 -0
package/CHANGELOG.md CHANGED
@@ -5,6 +5,45 @@ Escreva as mudanças em "Próxima versão" enquanto trabalha; `npm run release`
5
5
 
6
6
  ## Próxima versão
7
7
 
8
+ ## 0.6.1 — 2026-10-28
9
+
10
+ ### Adicionado
11
+
12
+ - **Token `unreadBackground`** (mobile): fundo dos avisos não lidos da central de notificações do app. Claro `#F6F7FC`,
13
+ escuro `#33292A` (os mesmos valores que o app usava como token local). Sai em `app-tokens.json`,
14
+ `app-tokens.pawta.json`, `app-tokens.koti.json`, `mobile.json` e `ToskiColors.swift` (`ToskiColors.unreadBackground`),
15
+ e `npm run sync:app` passa a levá-lo ao app em vez de apagá-lo. Não muda por tema: Pawta e Koti herdam da base.
16
+ - **Ícone `resumo`** (web `summary`): três linhas de larguras diferentes, usado pelo app na central de notificações
17
+ (`ToskiIcon.resumo`). Já existia só no app, e o `sync:app` acusava "O app tem ícones que o DS não tem: resumo.svg";
18
+ agora o desenho vem do DS (`icons/svg/resumo.svg`, copiado do app sem alteração) e o sync fica sem erro.
19
+ - Contraste: `textPrimary`, `textSecondary` e `critical` sobre `unreadBackground` entram nos pares checados
20
+ (mínimo 4,5:1; passam no claro e no escuro).
21
+
22
+ ## 0.6.0 — 2026-10-24
23
+
24
+ ### Alterado (quebra)
25
+
26
+ - **O tema `pethealth` agora se chama `pawta`** (o app PetHealthTracker virou Pawta). Cores, mascotes e ícones não
27
+ mudam (as saídas são byte a byte iguais às da 0.5.3, a não ser pelo nome); só os nomes:
28
+ - `themes/pethealth.css` e `<html data-product="pethealth">` → `themes/pawta.css` e `data-product="pawta"`;
29
+ - `app-tokens.pethealth.json` → `app-tokens.pawta.json`; `web.pethealth.json` → `web.pawta.json`;
30
+ - `ToskiThemePetHealth.swift` (`ToskiPetHealthTheme`) → `ToskiThemePawta.swift` (`ToskiPawtaTheme`);
31
+ - `products/pethealth/` → `products/pawta/`, com `pethealth-icon-*` → `pawta-icon-*` na web e
32
+ `pethealth-icone-*` → `pawta-icone-*` no app (`themes.pawta.assets`);
33
+ - `ProductIcon`, `ProductMascot` e `ProductLogo`: `product="pethealth"` → `product="pawta"`;
34
+ - `npm run sync:app` usa `pawta` como tema padrão (o app continua em `../../mobile/PetHealthTracker`).
35
+ - O nome antigo dá erro com o nome novo, sem alias que funcione: os caminhos antigos saíram do pacote (o build para
36
+ no `import`); no Swift, `ToskiPetHealthTheme` não compila e o Xcode oferece trocar por `ToskiPawtaTheme`;
37
+ `product="pethealth"`, `themedColors(…, 'pethealth')` e `sync:app -- --theme pethealth` falham com "O tema
38
+ "pethealth" agora se chama "pawta"". Esses avisos saem na 0.7.0.
39
+ - Troque o `data-product` junto com o CSS: uma página com `themes/pawta.css` e `data-product="pethealth"` fica com o
40
+ destaque da base (caramelo), e o CSS não tem como avisar.
41
+
42
+ ### Adicionado
43
+
44
+ - `npm run tokens:build` apaga de `build/` o que não gera mais, e `npm run tokens:check` falha se sobrar algum arquivo
45
+ assim, para um tema renomeado não ir para o npm com o nome antigo.
46
+
8
47
  ## 0.5.3 — 2026-10-09
9
48
 
10
49
  ### Removido
package/README.en.md CHANGED
@@ -23,7 +23,7 @@ components used on the website (Astro + Tailwind CSS 4), the iOS app (SwiftUI) a
23
23
  | `build/css/theme.css` | Tailwind CSS 4 `@theme` block (colors, `--radius-*`, `--font-sans`) |
24
24
  | `build/swift/ToskiColors.swift` | SwiftUI (app names): light/dark colors, radii, spacing, sizes and text styles |
25
25
  | `build/json/web.json` · `mobile.json` | Plain JSON per platform (VS Code and iTerm2 themes, scripts) |
26
- | `build/json/app-tokens.json` | Tokens in the PetHealthTracker app format (copied with `npm run sync:app`) |
26
+ | `build/json/app-tokens.json` | Tokens in the Pawta app format (copied with `npm run sync:app`) |
27
27
  | `build/swift/ToskiTokens.swift` | SwiftUI: app component sizes (`ToskiComponent`) and animations (`ToskiMotionTokens`) |
28
28
  | `icons/` | 64 stroke icons (`svg/`) and the web ↔ app name map (`icons.json`) |
29
29
  | `styles/tailwind.css` | Everything a Tailwind CSS 4 project needs to import |
@@ -51,7 +51,7 @@ npm install @toski-labs/ds @fontsource-variable/outfit
51
51
  import { Button, SectionHeading } from '@toski-labs/ds';
52
52
 
53
53
  <SectionHeading kicker="Projects" title="What comes out of the lab" />
54
- <Button href="/pethealthtracker" icon="arrow-right">Learn more</Button>
54
+ <Button href="/pawta" icon="arrow-right">Learn more</Button>
55
55
  ```
56
56
 
57
57
  ```swift
@@ -68,7 +68,7 @@ npm install
68
68
  npm run dev # Storybook at http://localhost:6006
69
69
  npm run tokens:build # generate build/ from tokens/tokens.json
70
70
  npm run contrast # check token contrast pairs
71
- npm run sync:app # copy tokens and icons into the PetHealthTracker app
71
+ npm run sync:app # copy tokens and icons into the Pawta app
72
72
  npm run verify # everything CI runs
73
73
  ```
74
74
 
package/README.md CHANGED
@@ -22,7 +22,7 @@ site (Astro + Tailwind CSS 4), no app iOS (SwiftUI) e nos temas (VS Code e iTerm
22
22
  | `build/css/theme.css` | Bloco `@theme` do Tailwind CSS 4 (cores, `--radius-*`, `--font-sans`) |
23
23
  | `build/swift/ToskiColors.swift` | SwiftUI (nomes do app): cores claro/escuro, raios, espaçamentos, tamanhos e estilos de texto |
24
24
  | `build/json/web.json` · `mobile.json` | JSON simples por plataforma (temas do VS Code e do iTerm2, scripts) |
25
- | `build/json/app-tokens.json` | Tokens no formato do app PetHealthTracker (copiado com `npm run sync:app`) |
25
+ | `build/json/app-tokens.json` | Tokens no formato do app Pawta (copiado com `npm run sync:app`) |
26
26
  | `build/swift/ToskiTokens.swift` | SwiftUI: medidas dos componentes do app (`ToskiComponent`) e animações (`ToskiMotionTokens`) |
27
27
  | `icons/` | 64 ícones de traço (`svg/`) e o mapa de nomes web ↔ app (`icons.json`) |
28
28
  | `styles/tailwind.css` | Tudo o que um projeto com Tailwind CSS 4 precisa importar |
@@ -51,7 +51,7 @@ npm install @toski-labs/ds @fontsource-variable/outfit
51
51
  import { Button, SectionHeading } from '@toski-labs/ds';
52
52
 
53
53
  <SectionHeading kicker="Projetos" title="O que sai do laboratório" />
54
- <Button href="/pethealthtracker" icon="arrow-right">Conhecer</Button>
54
+ <Button href="/pawta" icon="arrow-right">Conhecer</Button>
55
55
  ```
56
56
 
57
57
  ```swift
@@ -70,7 +70,7 @@ npm install
70
70
  npm run dev # Storybook em http://localhost:6006
71
71
  npm run tokens:build # gera build/ a partir de tokens/tokens.json
72
72
  npm run contrast # confere o contraste dos pares de tokens
73
- npm run sync:app # copia tokens e ícones para o app PetHealthTracker
73
+ npm run sync:app # copia tokens e ícones para o app Pawta
74
74
  npm run verify # tudo o que o CI roda
75
75
  ```
76
76
 
@@ -1,8 +1,8 @@
1
1
  /* Gerado por scripts/build-tokens.ts a partir de tokens/tokens.json. Não edite à mão. */
2
- /* Tema de produto: PetHealthTracker. Só troca o destaque; o resto vem de tokens.css.
3
- Uso: @import "@toski-labs/ds/themes/pethealth.css"; e <html data-product="pethealth"> */
2
+ /* Tema de produto: Pawta. Só troca o destaque; o resto vem de tokens.css.
3
+ Uso: @import "@toski-labs/ds/themes/pawta.css"; e <html data-product="pawta"> */
4
4
 
5
- :root[data-product="pethealth"] {
5
+ :root[data-product="pawta"] {
6
6
  --toski-hero: #E3E6F5;
7
7
  --toski-accent: #3E4C8A;
8
8
  --toski-accent-hover: #2C376A;
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  @media (prefers-color-scheme: dark) {
15
- :root[data-product="pethealth"]:not([data-theme="light"]) {
15
+ :root[data-product="pawta"]:not([data-theme="light"]) {
16
16
  --toski-hero: #2A2E45;
17
17
  --toski-accent: #A9B4E8;
18
18
  --toski-accent-hover: #C9D0F2;
@@ -22,7 +22,7 @@
22
22
  }
23
23
  }
24
24
 
25
- :root[data-product="pethealth"][data-theme="dark"] {
25
+ :root[data-product="pawta"][data-theme="dark"] {
26
26
  --toski-hero: #2A2E45;
27
27
  --toski-accent: #A9B4E8;
28
28
  --toski-accent-hover: #C9D0F2;
@@ -192,6 +192,11 @@
192
192
  "light": "rgba(169,84,31,.35)",
193
193
  "dark": "rgba(169,84,31,.35)",
194
194
  "use": "Cartões das miniaturas de tema (Aparência)"
195
+ },
196
+ "unreadBackground": {
197
+ "light": "#F6F7FC",
198
+ "dark": "#33292A",
199
+ "use": "Fundo de um aviso não lido na central de notificações"
195
200
  }
196
201
  },
197
202
  "pet": {
@@ -192,6 +192,11 @@
192
192
  "light": "rgba(122,63,110,.35)",
193
193
  "dark": "rgba(122,63,110,.35)",
194
194
  "use": "Cartões das miniaturas de tema (Aparência)"
195
+ },
196
+ "unreadBackground": {
197
+ "light": "#F6F7FC",
198
+ "dark": "#33292A",
199
+ "use": "Fundo de um aviso não lido na central de notificações"
195
200
  }
196
201
  },
197
202
  "pet": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$description": "Tokens de design do Toski. Cores semânticas têm valor para o tema claro e para o escuro. Gerado pelo Toski DS (github.com/Toski-Labs/toski-ds): não edite à mão; mude tokens/tokens.json no DS e rode npm run sync:app. Tema: PetHealthTracker (base + tema pethealth).",
2
+ "$description": "Tokens de design do Toski. Cores semânticas têm valor para o tema claro e para o escuro. Gerado pelo Toski DS (github.com/Toski-Labs/toski-ds): não edite à mão; mude tokens/tokens.json no DS e rode npm run sync:app. Tema: Pawta (base + tema pawta).",
3
3
  "brand": {
4
4
  "caramelo": "#DB9A5B",
5
5
  "ferrugem": "#A9541F",
@@ -192,6 +192,11 @@
192
192
  "light": "rgba(62,76,138,.35)",
193
193
  "dark": "rgba(62,76,138,.35)",
194
194
  "use": "Cartões das miniaturas de tema (Aparência)"
195
+ },
196
+ "unreadBackground": {
197
+ "light": "#F6F7FC",
198
+ "dark": "#33292A",
199
+ "use": "Fundo de um aviso não lido na central de notificações"
195
200
  }
196
201
  },
197
202
  "pet": {
@@ -355,8 +360,8 @@
355
360
  "rule": "Botão \"Continuar com a Apple\" segue a diretriz da Apple e fica fora da paleta: claro = fundo #000000, texto #FFFFFF; escuro = fundo #FFFFFF, texto #000000."
356
361
  },
357
362
  "product": {
358
- "id": "pethealth",
359
- "name": "PetHealthTracker",
363
+ "id": "pawta",
364
+ "name": "Pawta",
360
365
  "scheme": "indigo",
361
366
  "brand": {
362
367
  "indigo": "#3E4C8A",
@@ -382,113 +387,113 @@
382
387
  },
383
388
  "assets": [
384
389
  {
385
- "name": "pethealth-icone-claro",
386
- "file": "products/pethealth/icon/pethealth-icon-light.svg",
390
+ "name": "pawta-icone-claro",
391
+ "file": "products/pawta/icon/pawta-icon-light.svg",
387
392
  "kind": "icon"
388
393
  },
389
394
  {
390
- "name": "pethealth-icone-claro-1024",
391
- "file": "products/pethealth/icon/pethealth-icon-light-1024.png",
395
+ "name": "pawta-icone-claro-1024",
396
+ "file": "products/pawta/icon/pawta-icon-light-1024.png",
392
397
  "kind": "icon-png"
393
398
  },
394
399
  {
395
- "name": "pethealth-icone-escuro",
396
- "file": "products/pethealth/icon/pethealth-icon-dark.svg",
400
+ "name": "pawta-icone-escuro",
401
+ "file": "products/pawta/icon/pawta-icon-dark.svg",
397
402
  "kind": "icon"
398
403
  },
399
404
  {
400
- "name": "pethealth-icone-escuro-1024",
401
- "file": "products/pethealth/icon/pethealth-icon-dark-1024.png",
405
+ "name": "pawta-icone-escuro-1024",
406
+ "file": "products/pawta/icon/pawta-icon-dark-1024.png",
402
407
  "kind": "icon-png"
403
408
  },
404
409
  {
405
- "name": "pethealth-icone-tingido",
406
- "file": "products/pethealth/icon/pethealth-icon-tinted.svg",
410
+ "name": "pawta-icone-tingido",
411
+ "file": "products/pawta/icon/pawta-icon-tinted.svg",
407
412
  "kind": "icon"
408
413
  },
409
414
  {
410
- "name": "pethealth-icone-tingido-1024",
411
- "file": "products/pethealth/icon/pethealth-icon-tinted-1024.png",
415
+ "name": "pawta-icone-tingido-1024",
416
+ "file": "products/pawta/icon/pawta-icon-tinted-1024.png",
412
417
  "kind": "icon-png"
413
418
  },
414
419
  {
415
420
  "name": "camada-1-fundo",
416
- "file": "products/pethealth/icon-layers/1-background.svg",
421
+ "file": "products/pawta/icon-layers/1-background.svg",
417
422
  "kind": "icon-layer"
418
423
  },
419
424
  {
420
425
  "name": "camada-2-cachorro",
421
- "file": "products/pethealth/icon-layers/2-dog.svg",
426
+ "file": "products/pawta/icon-layers/2-dog.svg",
422
427
  "kind": "icon-layer"
423
428
  },
424
429
  {
425
430
  "name": "camada-3-gato",
426
- "file": "products/pethealth/icon-layers/3-cat.svg",
431
+ "file": "products/pawta/icon-layers/3-cat.svg",
427
432
  "kind": "icon-layer"
428
433
  },
429
434
  {
430
435
  "name": "camada-4-coracao",
431
- "file": "products/pethealth/icon-layers/4-heart.svg",
436
+ "file": "products/pawta/icon-layers/4-heart.svg",
432
437
  "kind": "icon-layer"
433
438
  },
434
439
  {
435
440
  "name": "dupla-claro",
436
- "file": "products/pethealth/mascots/pair-light.svg",
441
+ "file": "products/pawta/mascots/pair-light.svg",
437
442
  "kind": "mascot"
438
443
  },
439
444
  {
440
445
  "name": "dupla-escuro",
441
- "file": "products/pethealth/mascots/pair-dark.svg",
446
+ "file": "products/pawta/mascots/pair-dark.svg",
442
447
  "kind": "mascot"
443
448
  },
444
449
  {
445
450
  "name": "dupla-base-claro",
446
- "file": "products/pethealth/mascots/pair-base-light.svg",
451
+ "file": "products/pawta/mascots/pair-base-light.svg",
447
452
  "kind": "mascot"
448
453
  },
449
454
  {
450
455
  "name": "dupla-base-escuro",
451
- "file": "products/pethealth/mascots/pair-base-dark.svg",
456
+ "file": "products/pawta/mascots/pair-base-dark.svg",
452
457
  "kind": "mascot"
453
458
  },
454
459
  {
455
460
  "name": "dupla-erro-claro",
456
- "file": "products/pethealth/mascots/pair-error-light.svg",
461
+ "file": "products/pawta/mascots/pair-error-light.svg",
457
462
  "kind": "mascot"
458
463
  },
459
464
  {
460
465
  "name": "dupla-erro-escuro",
461
- "file": "products/pethealth/mascots/pair-error-dark.svg",
466
+ "file": "products/pawta/mascots/pair-error-dark.svg",
462
467
  "kind": "mascot"
463
468
  },
464
469
  {
465
470
  "name": "bolinha-indigo-claro",
466
- "file": "products/pethealth/mascots/ball-indigo-light.svg",
471
+ "file": "products/pawta/mascots/ball-indigo-light.svg",
467
472
  "kind": "mascot"
468
473
  },
469
474
  {
470
475
  "name": "bolinha-indigo-escuro",
471
- "file": "products/pethealth/mascots/ball-indigo-dark.svg",
476
+ "file": "products/pawta/mascots/ball-indigo-dark.svg",
472
477
  "kind": "mascot"
473
478
  },
474
479
  {
475
- "name": "pethealth-icone-noite",
476
- "file": "products/pethealth/icon-alt/pethealth-icon-night.svg",
480
+ "name": "pawta-icone-noite",
481
+ "file": "products/pawta/icon-alt/pawta-icon-night.svg",
477
482
  "kind": "icon-alt"
478
483
  },
479
484
  {
480
- "name": "pethealth-icone-noite-1024",
481
- "file": "products/pethealth/icon-alt/pethealth-icon-night-1024.png",
485
+ "name": "pawta-icone-noite-1024",
486
+ "file": "products/pawta/icon-alt/pawta-icon-night-1024.png",
482
487
  "kind": "icon-alt-png"
483
488
  },
484
489
  {
485
- "name": "pethealth-icone-papel",
486
- "file": "products/pethealth/icon-alt/pethealth-icon-paper.svg",
490
+ "name": "pawta-icone-papel",
491
+ "file": "products/pawta/icon-alt/pawta-icon-paper.svg",
487
492
  "kind": "icon-alt"
488
493
  },
489
494
  {
490
- "name": "pethealth-icone-papel-1024",
491
- "file": "products/pethealth/icon-alt/pethealth-icon-paper-1024.png",
495
+ "name": "pawta-icone-papel-1024",
496
+ "file": "products/pawta/icon-alt/pawta-icon-paper-1024.png",
492
497
  "kind": "icon-alt-png"
493
498
  }
494
499
  ],
@@ -44,7 +44,8 @@
44
44
  "alertBackground": "#F7F1E8",
45
45
  "bannerBackground": "rgba(255,253,249,.92)",
46
46
  "previewBackdrop": "#EDE3D6",
47
- "themePreviewCard": "rgba(169,84,31,.35)"
47
+ "themePreviewCard": "rgba(169,84,31,.35)",
48
+ "unreadBackground": "#F6F7FC"
48
49
  },
49
50
  "dark": {
50
51
  "background": "#231B17",
@@ -83,7 +84,8 @@
83
84
  "alertBackground": "#3A2D23",
84
85
  "bannerBackground": "rgba(46,36,29,.92)",
85
86
  "previewBackdrop": "#1B1511",
86
- "themePreviewCard": "rgba(169,84,31,.35)"
87
+ "themePreviewCard": "rgba(169,84,31,.35)",
88
+ "unreadBackground": "#33292A"
87
89
  },
88
90
  "pet": {
89
91
  "avatars": [
@@ -489,6 +491,7 @@
489
491
  "relogio": "clock",
490
492
  "remedio": "medicine",
491
493
  "repetir": "repeat",
494
+ "resumo": "summary",
492
495
  "spinner": "spinner",
493
496
  "tema": "theme",
494
497
  "tosa": "grooming",
@@ -213,6 +213,7 @@
213
213
  "clock",
214
214
  "medicine",
215
215
  "repeat",
216
+ "summary",
216
217
  "spinner",
217
218
  "theme",
218
219
  "grooming",
@@ -213,6 +213,7 @@
213
213
  "clock",
214
214
  "medicine",
215
215
  "repeat",
216
+ "summary",
216
217
  "spinner",
217
218
  "theme",
218
219
  "grooming",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$description": "Gerado por scripts/build-tokens.ts a partir de tokens/tokens.json. Não edite à mão. Plataforma: web, tema PetHealthTracker.",
2
+ "$description": "Gerado por scripts/build-tokens.ts a partir de tokens/tokens.json. Não edite à mão. Plataforma: web, tema Pawta.",
3
3
  "brand": {
4
4
  "caramelo": "#DB9A5B",
5
5
  "ferrugem": "#A9541F",
@@ -213,6 +213,7 @@
213
213
  "clock",
214
214
  "medicine",
215
215
  "repeat",
216
+ "summary",
216
217
  "spinner",
217
218
  "theme",
218
219
  "grooming",
@@ -231,8 +232,8 @@
231
232
  "triangle"
232
233
  ],
233
234
  "product": {
234
- "id": "pethealth",
235
- "name": "PetHealthTracker",
235
+ "id": "pawta",
236
+ "name": "Pawta",
236
237
  "scheme": "indigo",
237
238
  "brand": {
238
239
  "indigo": "#3E4C8A",
@@ -258,113 +259,113 @@
258
259
  },
259
260
  "assets": [
260
261
  {
261
- "name": "pethealth-icon-light",
262
- "file": "products/pethealth/icon/pethealth-icon-light.svg",
262
+ "name": "pawta-icon-light",
263
+ "file": "products/pawta/icon/pawta-icon-light.svg",
263
264
  "kind": "icon"
264
265
  },
265
266
  {
266
- "name": "pethealth-icon-light-1024",
267
- "file": "products/pethealth/icon/pethealth-icon-light-1024.png",
267
+ "name": "pawta-icon-light-1024",
268
+ "file": "products/pawta/icon/pawta-icon-light-1024.png",
268
269
  "kind": "icon-png"
269
270
  },
270
271
  {
271
- "name": "pethealth-icon-dark",
272
- "file": "products/pethealth/icon/pethealth-icon-dark.svg",
272
+ "name": "pawta-icon-dark",
273
+ "file": "products/pawta/icon/pawta-icon-dark.svg",
273
274
  "kind": "icon"
274
275
  },
275
276
  {
276
- "name": "pethealth-icon-dark-1024",
277
- "file": "products/pethealth/icon/pethealth-icon-dark-1024.png",
277
+ "name": "pawta-icon-dark-1024",
278
+ "file": "products/pawta/icon/pawta-icon-dark-1024.png",
278
279
  "kind": "icon-png"
279
280
  },
280
281
  {
281
- "name": "pethealth-icon-tinted",
282
- "file": "products/pethealth/icon/pethealth-icon-tinted.svg",
282
+ "name": "pawta-icon-tinted",
283
+ "file": "products/pawta/icon/pawta-icon-tinted.svg",
283
284
  "kind": "icon"
284
285
  },
285
286
  {
286
- "name": "pethealth-icon-tinted-1024",
287
- "file": "products/pethealth/icon/pethealth-icon-tinted-1024.png",
287
+ "name": "pawta-icon-tinted-1024",
288
+ "file": "products/pawta/icon/pawta-icon-tinted-1024.png",
288
289
  "kind": "icon-png"
289
290
  },
290
291
  {
291
292
  "name": "icon-layer-1-background",
292
- "file": "products/pethealth/icon-layers/1-background.svg",
293
+ "file": "products/pawta/icon-layers/1-background.svg",
293
294
  "kind": "icon-layer"
294
295
  },
295
296
  {
296
297
  "name": "icon-layer-2-dog",
297
- "file": "products/pethealth/icon-layers/2-dog.svg",
298
+ "file": "products/pawta/icon-layers/2-dog.svg",
298
299
  "kind": "icon-layer"
299
300
  },
300
301
  {
301
302
  "name": "icon-layer-3-cat",
302
- "file": "products/pethealth/icon-layers/3-cat.svg",
303
+ "file": "products/pawta/icon-layers/3-cat.svg",
303
304
  "kind": "icon-layer"
304
305
  },
305
306
  {
306
307
  "name": "icon-layer-4-heart",
307
- "file": "products/pethealth/icon-layers/4-heart.svg",
308
+ "file": "products/pawta/icon-layers/4-heart.svg",
308
309
  "kind": "icon-layer"
309
310
  },
310
311
  {
311
312
  "name": "pair-light",
312
- "file": "products/pethealth/mascots/pair-light.svg",
313
+ "file": "products/pawta/mascots/pair-light.svg",
313
314
  "kind": "mascot"
314
315
  },
315
316
  {
316
317
  "name": "pair-dark",
317
- "file": "products/pethealth/mascots/pair-dark.svg",
318
+ "file": "products/pawta/mascots/pair-dark.svg",
318
319
  "kind": "mascot"
319
320
  },
320
321
  {
321
322
  "name": "pair-base-light",
322
- "file": "products/pethealth/mascots/pair-base-light.svg",
323
+ "file": "products/pawta/mascots/pair-base-light.svg",
323
324
  "kind": "mascot"
324
325
  },
325
326
  {
326
327
  "name": "pair-base-dark",
327
- "file": "products/pethealth/mascots/pair-base-dark.svg",
328
+ "file": "products/pawta/mascots/pair-base-dark.svg",
328
329
  "kind": "mascot"
329
330
  },
330
331
  {
331
332
  "name": "pair-error-light",
332
- "file": "products/pethealth/mascots/pair-error-light.svg",
333
+ "file": "products/pawta/mascots/pair-error-light.svg",
333
334
  "kind": "mascot"
334
335
  },
335
336
  {
336
337
  "name": "pair-error-dark",
337
- "file": "products/pethealth/mascots/pair-error-dark.svg",
338
+ "file": "products/pawta/mascots/pair-error-dark.svg",
338
339
  "kind": "mascot"
339
340
  },
340
341
  {
341
342
  "name": "ball-indigo-light",
342
- "file": "products/pethealth/mascots/ball-indigo-light.svg",
343
+ "file": "products/pawta/mascots/ball-indigo-light.svg",
343
344
  "kind": "mascot"
344
345
  },
345
346
  {
346
347
  "name": "ball-indigo-dark",
347
- "file": "products/pethealth/mascots/ball-indigo-dark.svg",
348
+ "file": "products/pawta/mascots/ball-indigo-dark.svg",
348
349
  "kind": "mascot"
349
350
  },
350
351
  {
351
- "name": "pethealth-icon-night",
352
- "file": "products/pethealth/icon-alt/pethealth-icon-night.svg",
352
+ "name": "pawta-icon-night",
353
+ "file": "products/pawta/icon-alt/pawta-icon-night.svg",
353
354
  "kind": "icon-alt"
354
355
  },
355
356
  {
356
- "name": "pethealth-icon-night-1024",
357
- "file": "products/pethealth/icon-alt/pethealth-icon-night-1024.png",
357
+ "name": "pawta-icon-night-1024",
358
+ "file": "products/pawta/icon-alt/pawta-icon-night-1024.png",
358
359
  "kind": "icon-alt-png"
359
360
  },
360
361
  {
361
- "name": "pethealth-icon-paper",
362
- "file": "products/pethealth/icon-alt/pethealth-icon-paper.svg",
362
+ "name": "pawta-icon-paper",
363
+ "file": "products/pawta/icon-alt/pawta-icon-paper.svg",
363
364
  "kind": "icon-alt"
364
365
  },
365
366
  {
366
- "name": "pethealth-icon-paper-1024",
367
- "file": "products/pethealth/icon-alt/pethealth-icon-paper-1024.png",
367
+ "name": "pawta-icon-paper-1024",
368
+ "file": "products/pawta/icon-alt/pawta-icon-paper-1024.png",
368
369
  "kind": "icon-alt-png"
369
370
  }
370
371
  ],
@@ -105,6 +105,8 @@ public enum ToskiColors {
105
105
  public static let previewBackdrop = dynamic(light: 0xEDE3D6, dark: 0x1B1511)
106
106
  /// Cartões das miniaturas de tema (Aparência)
107
107
  public static let themePreviewCard = dynamic(light: 0xA9541F, lightAlpha: 0.35, dark: 0xA9541F, darkAlpha: 0.35)
108
+ /// Fundo de um aviso não lido na central de notificações
109
+ public static let unreadBackground = dynamic(light: 0xF6F7FC, dark: 0x33292A)
108
110
 
109
111
  // MARK: Pets
110
112
 
@@ -1,8 +1,8 @@
1
- // ToskiThemePetHealth.swift
1
+ // ToskiThemePawta.swift
2
2
  // Gerado por scripts/build-tokens.ts a partir de tokens/tokens.json. Não edite à mão.
3
- // Tema de produto: PetHealthTracker. Só o que muda em relação ao ToskiColors (destaque e ligados a ele).
3
+ // Tema de produto: Pawta. Só o que muda em relação ao ToskiColors (destaque e ligados a ele).
4
4
  //
5
- // Uso: Text("Olá").foregroundStyle(ToskiPetHealthTheme.accent)
5
+ // Uso: Text("Olá").foregroundStyle(ToskiPawtaTheme.accent)
6
6
  // Os neutros, critical e success continuam em ToskiColors.
7
7
 
8
8
  import SwiftUI
@@ -12,10 +12,10 @@ import UIKit
12
12
  import AppKit
13
13
  #endif
14
14
 
15
- public enum ToskiPetHealthTheme {
15
+ public enum ToskiPawtaTheme {
16
16
  // MARK: Marca do produto
17
17
 
18
- /// Destaque do PetHealthTracker no claro.
18
+ /// Destaque do Pawta no claro.
19
19
  public static let indigo = fixed(0x3E4C8A)
20
20
  /// Destaque no escuro.
21
21
  public static let lilas = fixed(0xA9B4E8)
@@ -88,3 +88,7 @@ public enum ToskiPetHealthTheme {
88
88
  #endif
89
89
  }
90
90
  }
91
+
92
+ /// O tema "pethealth" agora se chama "pawta" (Toski DS 0.6.0).
93
+ @available(*, unavailable, renamed: "ToskiPawtaTheme")
94
+ public typealias ToskiPetHealthTheme = ToskiPawtaTheme
@@ -10,7 +10,7 @@ export interface ProductIconProps {
10
10
  label?: string;
11
11
  className?: string;
12
12
  }
13
- /** Ícone do app de um produto (PetHealthTracker ou Koti). */
13
+ /** Ícone do app de um produto (Pawta ou Koti). */
14
14
  export declare function ProductIcon({ product, variant, size, label, className }: ProductIconProps): import("react").JSX.Element | null;
15
15
  export interface ProductMascotProps {
16
16
  product: ProductId;
@@ -539,6 +539,16 @@ export declare const iconData: {
539
539
  readonly d: "M17 2l4 4-4 4 M3 11V9a3 3 0 0 1 3-3h15 M7 22l-4-4 4-4 M21 13v2a3 3 0 0 1-3 3H3";
540
540
  }];
541
541
  };
542
+ readonly summary: {
543
+ readonly mobile: "resumo";
544
+ readonly size: 19;
545
+ readonly stroke: 1.9;
546
+ readonly filled: false;
547
+ readonly linejoin: "round";
548
+ readonly shapes: readonly [{
549
+ readonly d: "M4 6h16 M4 12h16 M4 18h10";
550
+ }];
551
+ };
542
552
  readonly spinner: {
543
553
  readonly mobile: "spinner";
544
554
  readonly size: 22;