@toski-labs/ds 0.4.2 → 0.5.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/CHANGELOG.md +30 -0
- package/build/css/themes/koti.css +35 -0
- package/build/css/themes/pethealth.css +32 -0
- package/build/json/app-tokens.koti.json +421 -0
- package/build/json/app-tokens.pethealth.json +484 -0
- package/build/json/web.koti.json +291 -0
- package/build/json/web.pethealth.json +354 -0
- package/build/swift/ToskiThemeKoti.swift +93 -0
- package/build/swift/ToskiThemePetHealth.swift +90 -0
- package/dist/components/ProductArt.d.ts +28 -0
- package/dist/generated/products.d.ts +17 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +134 -77
- package/dist/index.js.map +1 -1
- package/package.json +10 -1
- package/products/pethealth/icon/pethealth-icon-dark-1024.png +0 -0
- package/products/pethealth/icon/pethealth-icon-dark.svg +1 -0
- package/products/pethealth/icon/pethealth-icon-light-1024.png +0 -0
- package/products/pethealth/icon/pethealth-icon-light.svg +1 -0
- package/products/pethealth/icon/pethealth-icon-tinted-1024.png +0 -0
- package/products/pethealth/icon/pethealth-icon-tinted.svg +1 -0
- package/products/pethealth/icon-layers/1-background.svg +1 -0
- package/products/pethealth/icon-layers/2-dog.svg +1 -0
- package/products/pethealth/icon-layers/3-cat.svg +1 -0
- package/products/pethealth/icon-layers/4-heart.svg +1 -0
- package/products/pethealth/mascots/ball-indigo-dark.svg +1 -0
- package/products/pethealth/mascots/ball-indigo-light.svg +1 -0
- package/products/pethealth/mascots/pair-base-dark.svg +1 -0
- package/products/pethealth/mascots/pair-base-light.svg +1 -0
- package/products/pethealth/mascots/pair-dark.svg +1 -0
- package/products/pethealth/mascots/pair-error-dark.svg +1 -0
- package/products/pethealth/mascots/pair-error-light.svg +1 -0
- package/products/pethealth/mascots/pair-light.svg +1 -0
- package/styles/tailwind.css +19 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,36 @@ 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.5.0 — 2026-10-09
|
|
9
|
+
|
|
10
|
+
### Adicionado
|
|
11
|
+
|
|
12
|
+
- Temas de produto (`themes` no `tokens.json`): **PetHealthTracker** (Índigo) e **Koti** (Ameixa). Trocam só o destaque
|
|
13
|
+
(`accent`, `on-accent`, `accent-hover`/`accentDeep`, `accent-text`, `link`, `tint`, `hero`, `toastAction`,
|
|
14
|
+
`featureCard`, `lockBackground`, `themePreviewCard` e `blackFriday.accent`); o build falha se um tema mexer em outro token.
|
|
15
|
+
A base Toski Labs (site e temas de VS Code, iTerm e Oh My Zsh) não muda: os arquivos atuais saem idênticos.
|
|
16
|
+
- Arquivos por tema: `app-tokens.pethealth.json`, `app-tokens.koti.json`, `web.<tema>.json`, `themes/<tema>.css`
|
|
17
|
+
(ligue com `<html data-product="…">`) e `ToskiThemePetHealth.swift` / `ToskiThemeKoti.swift`.
|
|
18
|
+
- `npm run sync:app -- --theme pethealth|koti` e `--out <pasta>` (escreve fora do app). Copia também o ícone, as camadas
|
|
19
|
+
e os mascotes do tema para `docs/design/assets/products/`.
|
|
20
|
+
- `products/pethealth/`: ícone (claro, escuro, tingido; SVG e PNG 1024), camadas do Icon Composer (iOS 26) e mascotes
|
|
21
|
+
(dupla, dupla base, dupla erro, bolinha Índigo). Nomes em inglês na web e em português no app (`themes.<tema>.assets`).
|
|
22
|
+
Sem o metadata C2PA dos arquivos originais.
|
|
23
|
+
- Componentes `ProductIcon` e `ProductMascot` (claro/escuro automático).
|
|
24
|
+
- Cores dos membros da casa do Koti, com variante mais escura para check e calendário (≥ 3:1 sobre o fundo claro).
|
|
25
|
+
- Storybook: seletor **Produto** (Toski Labs, PetHealthTracker, Koti) e a página Marca/Temas de produto.
|
|
26
|
+
- `npm run contrast` confere a base e cada tema (contraste de texto 4,5:1, grande/ícone 3:1).
|
|
27
|
+
|
|
28
|
+
### Pendente
|
|
29
|
+
|
|
30
|
+
- Ícones do Koti (`koti-icone.svg`, `koti-icone-escuro.svg`, `koti-icone-colorido.svg`): aguardando os arquivos.
|
|
31
|
+
- Variantes escuras das cores dos membros do Koti (check e calendário): propostas, aguardam aprovação.
|
|
32
|
+
|
|
33
|
+
### Problema conhecido da base
|
|
34
|
+
|
|
35
|
+
- `lockBackground` claro (`#DB9A5B`) com `onLock` (`#FFF8EE`) dá 2,27:1 e o par não está no CI. Não corrigido de
|
|
36
|
+
propósito: os dois apps usam o próprio tema (PetHealthTracker 4,96:1; Koti 5,53:1).
|
|
37
|
+
|
|
8
38
|
## 0.4.2 — 2026-10-06
|
|
9
39
|
|
|
10
40
|
### Corrigido
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* Gerado por scripts/build-tokens.ts a partir de tokens/tokens.json. Não edite à mão. */
|
|
2
|
+
/* Tema de produto: Koti. Só troca o destaque; o resto vem de tokens.css.
|
|
3
|
+
Uso: @import "@toski-labs/ds/themes/koti.css"; e <html data-product="koti"> */
|
|
4
|
+
|
|
5
|
+
:root[data-product="koti"] {
|
|
6
|
+
--toski-tint: #F0E1EC;
|
|
7
|
+
--toski-hero: #E8D2E1;
|
|
8
|
+
--toski-accent: #7A3F6E;
|
|
9
|
+
--toski-accent-hover: #5E2F55;
|
|
10
|
+
--toski-on-accent: #FFF8EE;
|
|
11
|
+
--toski-accent-text: #7A3F6E;
|
|
12
|
+
--toski-link: #5E2F55;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@media (prefers-color-scheme: dark) {
|
|
16
|
+
:root[data-product="koti"]:not([data-theme="light"]) {
|
|
17
|
+
--toski-tint: #3A2436;
|
|
18
|
+
--toski-hero: #46293F;
|
|
19
|
+
--toski-accent: #D9A6CC;
|
|
20
|
+
--toski-accent-hover: #E8C2DD;
|
|
21
|
+
--toski-on-accent: #231B17;
|
|
22
|
+
--toski-accent-text: #D9A6CC;
|
|
23
|
+
--toski-link: #E8C2DD;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:root[data-product="koti"][data-theme="dark"] {
|
|
28
|
+
--toski-tint: #3A2436;
|
|
29
|
+
--toski-hero: #46293F;
|
|
30
|
+
--toski-accent: #D9A6CC;
|
|
31
|
+
--toski-accent-hover: #E8C2DD;
|
|
32
|
+
--toski-on-accent: #231B17;
|
|
33
|
+
--toski-accent-text: #D9A6CC;
|
|
34
|
+
--toski-link: #E8C2DD;
|
|
35
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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"> */
|
|
4
|
+
|
|
5
|
+
:root[data-product="pethealth"] {
|
|
6
|
+
--toski-hero: #E3E6F5;
|
|
7
|
+
--toski-accent: #3E4C8A;
|
|
8
|
+
--toski-accent-hover: #2C376A;
|
|
9
|
+
--toski-on-accent: #FFF8EE;
|
|
10
|
+
--toski-accent-text: #3E4C8A;
|
|
11
|
+
--toski-link: #2C376A;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@media (prefers-color-scheme: dark) {
|
|
15
|
+
:root[data-product="pethealth"]:not([data-theme="light"]) {
|
|
16
|
+
--toski-hero: #2A2E45;
|
|
17
|
+
--toski-accent: #A9B4E8;
|
|
18
|
+
--toski-accent-hover: #C9D0F2;
|
|
19
|
+
--toski-on-accent: #231B17;
|
|
20
|
+
--toski-accent-text: #A9B4E8;
|
|
21
|
+
--toski-link: #C9D0F2;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:root[data-product="pethealth"][data-theme="dark"] {
|
|
26
|
+
--toski-hero: #2A2E45;
|
|
27
|
+
--toski-accent: #A9B4E8;
|
|
28
|
+
--toski-accent-hover: #C9D0F2;
|
|
29
|
+
--toski-on-accent: #231B17;
|
|
30
|
+
--toski-accent-text: #A9B4E8;
|
|
31
|
+
--toski-link: #C9D0F2;
|
|
32
|
+
}
|
|
@@ -0,0 +1,421 @@
|
|
|
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: Koti (base + tema koti).",
|
|
3
|
+
"brand": {
|
|
4
|
+
"caramelo": "#DB9A5B",
|
|
5
|
+
"ferrugem": "#A9541F",
|
|
6
|
+
"creme": "#F4E4CC",
|
|
7
|
+
"papel": "#F7F1E8",
|
|
8
|
+
"carvao": "#231B17"
|
|
9
|
+
},
|
|
10
|
+
"color": {
|
|
11
|
+
"background": {
|
|
12
|
+
"light": "#F7F1E8",
|
|
13
|
+
"dark": "#231B17",
|
|
14
|
+
"use": "Fundo das telas"
|
|
15
|
+
},
|
|
16
|
+
"surface": {
|
|
17
|
+
"light": "#FFFFFF",
|
|
18
|
+
"dark": "#2E241D",
|
|
19
|
+
"use": "Cards, listas, campos"
|
|
20
|
+
},
|
|
21
|
+
"tint": {
|
|
22
|
+
"light": "#F0E1EC",
|
|
23
|
+
"dark": "#3A2436",
|
|
24
|
+
"use": "Fundos suaves, caixas de ícone, chips"
|
|
25
|
+
},
|
|
26
|
+
"heroBackground": {
|
|
27
|
+
"light": "#E8D2E1",
|
|
28
|
+
"dark": "#46293F",
|
|
29
|
+
"use": "Círculo atrás dos mascotes"
|
|
30
|
+
},
|
|
31
|
+
"textPrimary": {
|
|
32
|
+
"light": "#231B17",
|
|
33
|
+
"dark": "#F7F1E8",
|
|
34
|
+
"use": "Texto principal"
|
|
35
|
+
},
|
|
36
|
+
"textSecondary": {
|
|
37
|
+
"light": "#6B5648",
|
|
38
|
+
"dark": "#C2AE98",
|
|
39
|
+
"use": "Texto de apoio, rótulos"
|
|
40
|
+
},
|
|
41
|
+
"border": {
|
|
42
|
+
"light": "#E6D8C4",
|
|
43
|
+
"dark": "#43352B",
|
|
44
|
+
"use": "Bordas e divisores"
|
|
45
|
+
},
|
|
46
|
+
"accent": {
|
|
47
|
+
"light": "#7A3F6E",
|
|
48
|
+
"dark": "#D9A6CC",
|
|
49
|
+
"use": "Botão principal, aba ativa, links"
|
|
50
|
+
},
|
|
51
|
+
"onAccent": {
|
|
52
|
+
"light": "#FFF8EE",
|
|
53
|
+
"dark": "#231B17",
|
|
54
|
+
"use": "Texto sobre o destaque"
|
|
55
|
+
},
|
|
56
|
+
"critical": {
|
|
57
|
+
"light": "#A3341A",
|
|
58
|
+
"dark": "#F09A78",
|
|
59
|
+
"use": "Atrasados, alertas, ações destrutivas"
|
|
60
|
+
},
|
|
61
|
+
"onCritical": {
|
|
62
|
+
"light": "#FFF8EE",
|
|
63
|
+
"dark": "#231B17",
|
|
64
|
+
"use": "Texto sobre crítico"
|
|
65
|
+
},
|
|
66
|
+
"criticalBackground": {
|
|
67
|
+
"light": "#F8E0D4",
|
|
68
|
+
"dark": "#45261A",
|
|
69
|
+
"use": "Fundo de alertas"
|
|
70
|
+
},
|
|
71
|
+
"criticalBorder": {
|
|
72
|
+
"light": "#EBC0AA",
|
|
73
|
+
"dark": "#6A3A26",
|
|
74
|
+
"use": "Borda de cards atrasados"
|
|
75
|
+
},
|
|
76
|
+
"success": {
|
|
77
|
+
"light": "#3F6E3B",
|
|
78
|
+
"dark": "#9CC48F",
|
|
79
|
+
"use": "Em dia, concluído"
|
|
80
|
+
},
|
|
81
|
+
"successBackground": {
|
|
82
|
+
"light": "#E4EEDC",
|
|
83
|
+
"dark": "#2C3A27",
|
|
84
|
+
"use": "Fundo de status positivo"
|
|
85
|
+
},
|
|
86
|
+
"tabBar": {
|
|
87
|
+
"light": "#FFFDF9",
|
|
88
|
+
"dark": "#1B1511",
|
|
89
|
+
"use": "Barra de abas"
|
|
90
|
+
},
|
|
91
|
+
"tabIdle": {
|
|
92
|
+
"light": "#7D6858",
|
|
93
|
+
"dark": "#A08B78",
|
|
94
|
+
"use": "Aba inativa"
|
|
95
|
+
},
|
|
96
|
+
"segmentSelected": {
|
|
97
|
+
"light": "#FFFFFF",
|
|
98
|
+
"dark": "#4A3A2E",
|
|
99
|
+
"use": "Opção selecionada do controle segmentado"
|
|
100
|
+
},
|
|
101
|
+
"switchOff": {
|
|
102
|
+
"light": "#DCCDB9",
|
|
103
|
+
"dark": "#5A4A3D",
|
|
104
|
+
"use": "Interruptor desligado"
|
|
105
|
+
},
|
|
106
|
+
"toastBackground": {
|
|
107
|
+
"light": "#231B17",
|
|
108
|
+
"dark": "#F7F1E8",
|
|
109
|
+
"use": "Fundo do toast (invertido)"
|
|
110
|
+
},
|
|
111
|
+
"toastText": {
|
|
112
|
+
"light": "#F7F1E8",
|
|
113
|
+
"dark": "#231B17",
|
|
114
|
+
"use": "Texto do toast"
|
|
115
|
+
},
|
|
116
|
+
"toastAction": {
|
|
117
|
+
"light": "#E6BFDB",
|
|
118
|
+
"dark": "#7A3F6E",
|
|
119
|
+
"use": "Ação do toast (Desfazer, Abrir)"
|
|
120
|
+
},
|
|
121
|
+
"scrim": {
|
|
122
|
+
"light": "rgba(20,14,10,0.45)",
|
|
123
|
+
"dark": "rgba(20,14,10,0.45)",
|
|
124
|
+
"use": "Fundo atrás de painéis"
|
|
125
|
+
},
|
|
126
|
+
"mascotNose": {
|
|
127
|
+
"light": "#231B17",
|
|
128
|
+
"dark": "#100C0A",
|
|
129
|
+
"use": "Focinho da Paçoca"
|
|
130
|
+
},
|
|
131
|
+
"mascotOutline": {
|
|
132
|
+
"light": "none",
|
|
133
|
+
"dark": "#F4E4CC",
|
|
134
|
+
"use": "Contorno do corpo da Paçoca"
|
|
135
|
+
},
|
|
136
|
+
"ballOutline": {
|
|
137
|
+
"light": "#F7F1E8",
|
|
138
|
+
"dark": "#F4E4CC",
|
|
139
|
+
"use": "Contorno e costura da bolinha"
|
|
140
|
+
},
|
|
141
|
+
"faint": {
|
|
142
|
+
"light": "#B3A190",
|
|
143
|
+
"dark": "#6E5D50",
|
|
144
|
+
"use": "Texto e elementos apagados (dia fora do mês, texto miúdo do PDF)"
|
|
145
|
+
},
|
|
146
|
+
"divider": {
|
|
147
|
+
"light": "#EDE3D6",
|
|
148
|
+
"dark": "#43352B",
|
|
149
|
+
"use": "Linhas finas internas (grade do gráfico, linhas do PDF)"
|
|
150
|
+
},
|
|
151
|
+
"borderStrong": {
|
|
152
|
+
"light": "#DCCDB9",
|
|
153
|
+
"dark": "#5A4A3D",
|
|
154
|
+
"use": "Borda mais forte (botão do Google no login)"
|
|
155
|
+
},
|
|
156
|
+
"barInactive": {
|
|
157
|
+
"light": "#DCCDB9",
|
|
158
|
+
"dark": "#6E5D50",
|
|
159
|
+
"use": "Barra do valor antigo (troca de ração)"
|
|
160
|
+
},
|
|
161
|
+
"accentDeep": {
|
|
162
|
+
"light": "#5E2F55",
|
|
163
|
+
"dark": "#E8C2DD",
|
|
164
|
+
"use": "Destaque mais profundo (no escuro, mais claro): botão de texto da tela Erro, links ao passar o mouse"
|
|
165
|
+
},
|
|
166
|
+
"featureCard": {
|
|
167
|
+
"light": "#7A3F6E",
|
|
168
|
+
"dark": "#5E2F55",
|
|
169
|
+
"use": "Cartão de destaque (plano de saúde, Fase 2)"
|
|
170
|
+
},
|
|
171
|
+
"onFeatureCard": {
|
|
172
|
+
"light": "#FFF8EE",
|
|
173
|
+
"dark": "#FFF8EE",
|
|
174
|
+
"use": "Texto sobre o cartão de destaque"
|
|
175
|
+
},
|
|
176
|
+
"onAccentSubtle": {
|
|
177
|
+
"light": "rgba(255,248,238,.18)",
|
|
178
|
+
"dark": "rgba(255,248,238,.18)",
|
|
179
|
+
"use": "Caixa translúcida sobre o destaque"
|
|
180
|
+
},
|
|
181
|
+
"lockBackground": {
|
|
182
|
+
"light": "#8A5280",
|
|
183
|
+
"dark": "#3A2436",
|
|
184
|
+
"use": "Fundo do cadeado (recurso do Plus, pet congelado)"
|
|
185
|
+
},
|
|
186
|
+
"onLock": {
|
|
187
|
+
"light": "#FFF8EE",
|
|
188
|
+
"dark": "#F7F1E8",
|
|
189
|
+
"use": "Ícone do cadeado"
|
|
190
|
+
},
|
|
191
|
+
"alertBackground": {
|
|
192
|
+
"light": "#F7F1E8",
|
|
193
|
+
"dark": "#3A2D23",
|
|
194
|
+
"use": "Fundo do alerta do sistema (ex.: desconectar calendário)"
|
|
195
|
+
},
|
|
196
|
+
"bannerBackground": {
|
|
197
|
+
"light": "rgba(255,253,249,.92)",
|
|
198
|
+
"dark": "rgba(46,36,29,.92)",
|
|
199
|
+
"use": "Fundo do aviso de notificação"
|
|
200
|
+
},
|
|
201
|
+
"previewBackdrop": {
|
|
202
|
+
"light": "#EDE3D6",
|
|
203
|
+
"dark": "#1B1511",
|
|
204
|
+
"use": "Fundo atrás da prévia do PDF"
|
|
205
|
+
},
|
|
206
|
+
"themePreviewCard": {
|
|
207
|
+
"light": "rgba(122,63,110,.35)",
|
|
208
|
+
"dark": "rgba(122,63,110,.35)",
|
|
209
|
+
"use": "Cartões das miniaturas de tema (Aparência)"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"pet": {
|
|
213
|
+
"avatars": [
|
|
214
|
+
"#DB9A5B",
|
|
215
|
+
"#8FA07C",
|
|
216
|
+
"#E2C79A",
|
|
217
|
+
"#C9B8A6",
|
|
218
|
+
"#B7C4D1",
|
|
219
|
+
"#D8C0D6"
|
|
220
|
+
],
|
|
221
|
+
"calendarDots": {
|
|
222
|
+
"light": [
|
|
223
|
+
"#C27A3A",
|
|
224
|
+
"#6F8A5C"
|
|
225
|
+
],
|
|
226
|
+
"dark": [
|
|
227
|
+
"#DB9A5B",
|
|
228
|
+
"#9DB089"
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
"onAvatar": "#231B17",
|
|
232
|
+
"avatarUser": "#E8B27C"
|
|
233
|
+
},
|
|
234
|
+
"blackFriday": {
|
|
235
|
+
"background": "#120D0A",
|
|
236
|
+
"surface": "#2E241D",
|
|
237
|
+
"accent": "#D9A6CC",
|
|
238
|
+
"text": "#F7F1E8",
|
|
239
|
+
"textSecondary": "#CDB9A3"
|
|
240
|
+
},
|
|
241
|
+
"typography": {
|
|
242
|
+
"family": "Outfit",
|
|
243
|
+
"weights": {
|
|
244
|
+
"regular": 400,
|
|
245
|
+
"medium": 500,
|
|
246
|
+
"semibold": 600,
|
|
247
|
+
"bold": 700
|
|
248
|
+
},
|
|
249
|
+
"styles": {
|
|
250
|
+
"largeTitle": {
|
|
251
|
+
"size": 28,
|
|
252
|
+
"weight": 600,
|
|
253
|
+
"tracking": -0.01
|
|
254
|
+
},
|
|
255
|
+
"title": {
|
|
256
|
+
"size": 22,
|
|
257
|
+
"weight": 600
|
|
258
|
+
},
|
|
259
|
+
"headline": {
|
|
260
|
+
"size": 17,
|
|
261
|
+
"weight": 600
|
|
262
|
+
},
|
|
263
|
+
"body": {
|
|
264
|
+
"size": 16,
|
|
265
|
+
"weight": 400
|
|
266
|
+
},
|
|
267
|
+
"callout": {
|
|
268
|
+
"size": 15,
|
|
269
|
+
"weight": 400
|
|
270
|
+
},
|
|
271
|
+
"subheadline": {
|
|
272
|
+
"size": 14,
|
|
273
|
+
"weight": 400
|
|
274
|
+
},
|
|
275
|
+
"footnote": {
|
|
276
|
+
"size": 13,
|
|
277
|
+
"weight": 400
|
|
278
|
+
},
|
|
279
|
+
"sectionLabel": {
|
|
280
|
+
"size": 13,
|
|
281
|
+
"weight": 600,
|
|
282
|
+
"tracking": 0.06,
|
|
283
|
+
"uppercase": true
|
|
284
|
+
},
|
|
285
|
+
"caption": {
|
|
286
|
+
"size": 12,
|
|
287
|
+
"weight": 400
|
|
288
|
+
},
|
|
289
|
+
"tabLabel": {
|
|
290
|
+
"size": 11,
|
|
291
|
+
"weight": 500
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"radius": {
|
|
296
|
+
"$description": "Pílula = Capsule e círculo (50%) = Circle: não têm token. sheet arredonda só os cantos de cima. appIcon(side:) = side × radius / side de referência.",
|
|
297
|
+
"checkbox": 7,
|
|
298
|
+
"swatch": 3,
|
|
299
|
+
"pdfPage": 4,
|
|
300
|
+
"small": 9,
|
|
301
|
+
"iconBox": 12,
|
|
302
|
+
"buttonSmall": 12,
|
|
303
|
+
"segmentTrack": 12,
|
|
304
|
+
"input": 14,
|
|
305
|
+
"button": 14,
|
|
306
|
+
"tile": 16,
|
|
307
|
+
"card": 18,
|
|
308
|
+
"notification": 22,
|
|
309
|
+
"sheet": 28,
|
|
310
|
+
"appIcon": {
|
|
311
|
+
"radius": 22,
|
|
312
|
+
"side": 96
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"shadow": {
|
|
316
|
+
"$description": "Valores do box-shadow do canvas (x = 0). Em SwiftUI o radius é blur / 2. Iguais no claro e no escuro.",
|
|
317
|
+
"knob": {
|
|
318
|
+
"y": 1,
|
|
319
|
+
"blur": 3,
|
|
320
|
+
"color": "#000000",
|
|
321
|
+
"opacity": 0.25
|
|
322
|
+
},
|
|
323
|
+
"raised": {
|
|
324
|
+
"y": 1,
|
|
325
|
+
"blur": 3,
|
|
326
|
+
"color": "#231B17",
|
|
327
|
+
"opacity": 0.15
|
|
328
|
+
},
|
|
329
|
+
"floating": {
|
|
330
|
+
"y": 8,
|
|
331
|
+
"blur": 24,
|
|
332
|
+
"color": "#231B17",
|
|
333
|
+
"opacity": 0.22
|
|
334
|
+
},
|
|
335
|
+
"sheet": {
|
|
336
|
+
"y": -8,
|
|
337
|
+
"blur": 32,
|
|
338
|
+
"color": "#231B17",
|
|
339
|
+
"opacity": 0.18
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"spacing": {
|
|
343
|
+
"xs": 4,
|
|
344
|
+
"s": 8,
|
|
345
|
+
"m": 12,
|
|
346
|
+
"l": 16,
|
|
347
|
+
"xl": 20,
|
|
348
|
+
"xxl": 24,
|
|
349
|
+
"screenPadding": 20
|
|
350
|
+
},
|
|
351
|
+
"size": {
|
|
352
|
+
"minTouchTarget": 44,
|
|
353
|
+
"primaryButtonHeight": 54,
|
|
354
|
+
"avatarSmall": 24,
|
|
355
|
+
"avatar": 48,
|
|
356
|
+
"avatarLarge": 76
|
|
357
|
+
},
|
|
358
|
+
"pdf": {
|
|
359
|
+
"rule": "O PDF usa sempre os valores claros dos tokens, nunca o tema do aparelho."
|
|
360
|
+
},
|
|
361
|
+
"appleButton": {
|
|
362
|
+
"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."
|
|
363
|
+
},
|
|
364
|
+
"product": {
|
|
365
|
+
"id": "koti",
|
|
366
|
+
"name": "Koti",
|
|
367
|
+
"scheme": "ameixa",
|
|
368
|
+
"brand": {
|
|
369
|
+
"ameixa": "#7A3F6E",
|
|
370
|
+
"ameixa-claro": "#D9A6CC"
|
|
371
|
+
},
|
|
372
|
+
"members": {
|
|
373
|
+
"ameixa-claro": {
|
|
374
|
+
"name": "Ameixa claro",
|
|
375
|
+
"avatar": "#D9A6CC",
|
|
376
|
+
"mark": {
|
|
377
|
+
"light": "#B6549D",
|
|
378
|
+
"dark": "#D9A6CC"
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"caramelo": {
|
|
382
|
+
"name": "Caramelo",
|
|
383
|
+
"avatar": "#DB9A5B",
|
|
384
|
+
"mark": {
|
|
385
|
+
"light": "#AD6826",
|
|
386
|
+
"dark": "#DB9A5B"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"salvia": {
|
|
390
|
+
"name": "Sálvia",
|
|
391
|
+
"avatar": "#8FA876",
|
|
392
|
+
"mark": {
|
|
393
|
+
"light": "#698051",
|
|
394
|
+
"dark": "#8FA876"
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"azulejo": {
|
|
398
|
+
"name": "Azulejo",
|
|
399
|
+
"avatar": "#7CC6C4",
|
|
400
|
+
"mark": {
|
|
401
|
+
"light": "#398482",
|
|
402
|
+
"dark": "#7CC6C4"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"coral": {
|
|
406
|
+
"name": "Coral",
|
|
407
|
+
"avatar": "#E08A7A",
|
|
408
|
+
"mark": {
|
|
409
|
+
"light": "#C2526A",
|
|
410
|
+
"dark": "#E08A7A"
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"assets": [],
|
|
415
|
+
"pending": [
|
|
416
|
+
"koti-icone.svg",
|
|
417
|
+
"koti-icone-escuro.svg",
|
|
418
|
+
"koti-icone-colorido.svg"
|
|
419
|
+
]
|
|
420
|
+
}
|
|
421
|
+
}
|